Skip to content

Commit

Permalink
loading popdat broke... handle small number of classes for colorbrewer
Browse files Browse the repository at this point in the history
too
  • Loading branch information
dabreegster committed Jun 9, 2019
1 parent 8eb03b8 commit 903d339
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/design/notes/qgis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
How to get https://www.arcgis.com/home/item.html?id=777604c09cd24b4eb72952229d6d4caf into qgis?

- map viewer -> content on sidebar -> description -> look for WMTSCapabilities.xml in source
- qgis, add layer from wmts
3 changes: 3 additions & 0 deletions editor/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ pub fn rotating_color_total(idx: usize, total: usize) -> Color {
if total > 9 {
return rotating_color_total(idx, 9);
}
if total < 3 {
return rotating_color_total(idx, 3);
}

// TODO Cache this
// TODO This palette doesn't contrast well with other stuff
Expand Down

0 comments on commit 903d339

Please sign in to comment.