Skip to content

Commit

Permalink
Update key and data browser for new road colours
Browse files Browse the repository at this point in the history
Update colours for main roads to match new style and replace
references to trunk, primary and secondary in the key with a
generic reference to main roads as trunk, primary and secondary
here have OSM specific meaning.

Also change road icons in the data browser to be the same colours
as the revised colours in the standard map style. The top and bottom
lines for motorway, trunk and primary are in the casing colours,
secondary and tertiary are 50% intensity of casing colour. Tertiary
is made deeper.
  • Loading branch information
AndrewHain authored and tomhughes committed Nov 1, 2015
1 parent c9fdd5d commit f9570c4
Show file tree
Hide file tree
Showing 19 changed files with 5 additions and 6 deletions.
Binary file modified app/assets/images/browse/motorway.20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/browse/primary.20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/browse/secondary.20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/browse/tertiary.20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/browse/trunk.20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/key/mapnik/construction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/key/mapnik/mainroad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/key/mapnik/mainroad12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/key/mapnik/mainroad7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/key/mapnik/mainroad9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/key/mapnik/motorway.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/key/mapnik/primary.png
Binary file not shown.
Binary file removed app/assets/images/key/mapnik/primary12.png
Binary file not shown.
Binary file removed app/assets/images/key/mapnik/secondary.png
Binary file not shown.
Binary file removed app/assets/images/key/mapnik/secondary12.png
Binary file not shown.
Binary file removed app/assets/images/key/mapnik/trunk.png
Binary file not shown.
Binary file removed app/assets/images/key/mapnik/trunk12.png
Binary file not shown.
10 changes: 4 additions & 6 deletions config/key.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
mapnik:
- { min_zoom: 0, max_zoom: 19, name: motorway, image: motorway.png }
- { min_zoom: 0, max_zoom: 11, name: trunk, image: trunk.png }
- { min_zoom: 12, max_zoom: 19, name: trunk, image: trunk12.png }
- { min_zoom: 7, max_zoom: 11, name: primary, image: primary.png }
- { min_zoom: 12, max_zoom: 19, name: primary, image: primary12.png }
- { min_zoom: 9, max_zoom: 11, name: secondary, image: secondary.png }
- { min_zoom: 12, max_zoom: 19, name: secondary, image: secondary12.png }
- { min_zoom: 0, max_zoom: 6, name: main_road, image: mainroad.png }
- { min_zoom: 7, max_zoom: 8, name: main_road, image: mainroad7.png }
- { min_zoom: 9, max_zoom: 11, name: main_road, image: mainroad9.png }
- { min_zoom: 12, max_zoom: 19, name: main_road, image: mainroad12.png }
- { min_zoom: 13, max_zoom: 19, name: track, image: track.png }
- { min_zoom: 13, max_zoom: 19, name: bridleway, image: bridleway.png }
- { min_zoom: 13, max_zoom: 19, name: cycleway, image: cycleway.png }
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,7 @@ en:
table:
entry:
motorway: "Motorway"
main_road: "Main road"
trunk: "Trunk road"
primary: "Primary road"
secondary: "Secondary road"
Expand Down

0 comments on commit f9570c4

Please sign in to comment.