Skip to content

Commit

Permalink
New road colours and simplify text in key
Browse files Browse the repository at this point in the history
Update colours for main roads to match
gravitystorm/openstreetmap-carto#1736 and replace the OSM keywords
trunk, primary and secondary (which have different meanings from OSM use
in some places) with a new keyword main_road (main road),
  • Loading branch information
AndrewHain committed Oct 21, 2015
1 parent 671028e commit bddfd09
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
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.
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
3 changes: 2 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
en:
en:
html:
dir: ltr
time:
Expand Down Expand Up @@ -529,6 +529,7 @@ en:
footway: "Footpath"
ford: "Ford"
living_street: "Living Street"
main_road: "Main Road"
milestone: "Milestone"
motorway: "Motorway"
motorway_junction: "Motorway Junction"
Expand Down

0 comments on commit bddfd09

Please sign in to comment.