From: Tom Hughes Date: Sun, 10 Dec 2023 18:50:00 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/4395' X-Git-Tag: live~428 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e272cda34848cb99892f05f388c897c204f08ba2?hp=59e1bd38b69cabafb4c84a662ce449aa5527c839 Merge remote-tracking branch 'upstream/pull/4395' --- diff --git a/app/assets/images/key/mapnik/admin.png b/app/assets/images/key/mapnik/admin.png deleted file mode 100644 index 0cae05889..000000000 Binary files a/app/assets/images/key/mapnik/admin.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/allotments.png b/app/assets/images/key/mapnik/allotments.png deleted file mode 100644 index e39771885..000000000 Binary files a/app/assets/images/key/mapnik/allotments.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/brownfield.png b/app/assets/images/key/mapnik/brownfield.png deleted file mode 100644 index c0a12794a..000000000 Binary files a/app/assets/images/key/mapnik/brownfield.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/cemetery.png b/app/assets/images/key/mapnik/cemetery.png deleted file mode 100644 index f88f47de0..000000000 Binary files a/app/assets/images/key/mapnik/cemetery.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/centre.png b/app/assets/images/key/mapnik/centre.png deleted file mode 100644 index a1c4522b7..000000000 Binary files a/app/assets/images/key/mapnik/centre.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/commercial.png b/app/assets/images/key/mapnik/commercial.png deleted file mode 100644 index 7a2ca5e8d..000000000 Binary files a/app/assets/images/key/mapnik/commercial.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/common.png b/app/assets/images/key/mapnik/common.png deleted file mode 100644 index c1422e7be..000000000 Binary files a/app/assets/images/key/mapnik/common.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/farm.png b/app/assets/images/key/mapnik/farm.png deleted file mode 100644 index e63e571bb..000000000 Binary files a/app/assets/images/key/mapnik/farm.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/forest.png b/app/assets/images/key/mapnik/forest.png deleted file mode 100644 index 5b341c61d..000000000 Binary files a/app/assets/images/key/mapnik/forest.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/glacier10.svg b/app/assets/images/key/mapnik/glacier10.svg new file mode 100644 index 000000000..be79f238a --- /dev/null +++ b/app/assets/images/key/mapnik/glacier10.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/assets/images/key/mapnik/glacier5.svg b/app/assets/images/key/mapnik/glacier5.svg new file mode 100644 index 000000000..8e6d368eb --- /dev/null +++ b/app/assets/images/key/mapnik/glacier5.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/assets/images/key/mapnik/golf.png b/app/assets/images/key/mapnik/golf.png deleted file mode 100644 index 11a623097..000000000 Binary files a/app/assets/images/key/mapnik/golf.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/heathland.png b/app/assets/images/key/mapnik/heathland.png deleted file mode 100644 index d48f9690f..000000000 Binary files a/app/assets/images/key/mapnik/heathland.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/industrial.png b/app/assets/images/key/mapnik/industrial.png deleted file mode 100644 index c5ac802ac..000000000 Binary files a/app/assets/images/key/mapnik/industrial.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/military.png b/app/assets/images/key/mapnik/military.png deleted file mode 100644 index 73c82d49e..000000000 Binary files a/app/assets/images/key/mapnik/military.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/military.svg b/app/assets/images/key/mapnik/military.svg new file mode 100644 index 000000000..7a6872df8 --- /dev/null +++ b/app/assets/images/key/mapnik/military.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/assets/images/key/mapnik/park.png b/app/assets/images/key/mapnik/park.png deleted file mode 100644 index 149795a87..000000000 Binary files a/app/assets/images/key/mapnik/park.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/pitch.png b/app/assets/images/key/mapnik/pitch.png deleted file mode 100644 index 98177f604..000000000 Binary files a/app/assets/images/key/mapnik/pitch.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/reserve.png b/app/assets/images/key/mapnik/reserve.png deleted file mode 100644 index 5e3a79f0d..000000000 Binary files a/app/assets/images/key/mapnik/reserve.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/reserve.svg b/app/assets/images/key/mapnik/reserve.svg new file mode 100644 index 000000000..5a53f0a77 --- /dev/null +++ b/app/assets/images/key/mapnik/reserve.svg @@ -0,0 +1,4 @@ + + + + diff --git a/app/assets/images/key/mapnik/resident.png b/app/assets/images/key/mapnik/resident.png deleted file mode 100644 index 6ee3c4d2b..000000000 Binary files a/app/assets/images/key/mapnik/resident.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/retail.png b/app/assets/images/key/mapnik/retail.png deleted file mode 100644 index 216799212..000000000 Binary files a/app/assets/images/key/mapnik/retail.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/wood.png b/app/assets/images/key/mapnik/wood.png deleted file mode 100644 index 2413cda6c..000000000 Binary files a/app/assets/images/key/mapnik/wood.png and /dev/null differ diff --git a/config/key.yml b/config/key.yml index dfc2f4025..5ee24e913 100644 --- a/config/key.yml +++ b/config/key.yml @@ -1,4 +1,5 @@ mapnik: + # transportation - { min_zoom: 6, max_zoom: 19, name: motorway, image: motorway.png } - { min_zoom: 6, max_zoom: 7, name: main_road, image: mainroad.png } - { min_zoom: 8, max_zoom: 11, name: main_road, image: mainroad8.png } @@ -14,26 +15,50 @@ mapnik: - { min_zoom: 12, max_zoom: 19, name: cable, image: cable.png } - { min_zoom: 11, max_zoom: 19, name: runway, image: runway.png } - { min_zoom: 12, max_zoom: 19, name: apron, image: apron.png } - - { min_zoom: 0, max_zoom: 19, name: admin, image: admin.png } - - { min_zoom: 5, max_zoom: 19, name: forest, image: forest.png } - - { min_zoom: 5, max_zoom: 19, name: wood, image: wood.png } - - { min_zoom: 10, max_zoom: 19, name: golf, image: golf.png } - - { min_zoom: 10, max_zoom: 19, name: park, image: park.png } - - { min_zoom: 8, max_zoom: 19, name: resident, image: resident.png } - - { min_zoom: 5, max_zoom: 19, name: common, image: common.png } - - { min_zoom: 10, max_zoom: 19, name: retail, image: retail.png } - - { min_zoom: 10, max_zoom: 19, name: industrial, image: industrial.png } - - { min_zoom: 10, max_zoom: 19, name: commercial, image: commercial.png } - - { min_zoom: 10, max_zoom: 19, name: heathland, image: heathland.png } - - { min_zoom: 0, max_zoom: 19, name: lake, width: 26, height: 10, fill: "#aad3df" } - - { min_zoom: 10, max_zoom: 19, name: farm, image: farm.png } - - { min_zoom: 10, max_zoom: 19, name: brownfield, image: brownfield.png } - - { min_zoom: 11, max_zoom: 19, name: cemetery, image: cemetery.png } - - { min_zoom: 11, max_zoom: 19, name: allotments, image: allotments.png } - - { min_zoom: 11, max_zoom: 19, name: pitch, image: pitch.png } - - { min_zoom: 11, max_zoom: 19, name: centre, image: centre.png } - - { min_zoom: 11, max_zoom: 19, name: reserve, image: reserve.png } - - { min_zoom: 11, max_zoom: 19, name: military, image: military.png } + # administrative boundaries: admin.mss + - { name: admin, width: 52, height: 2, fill: "#8d618b88" } + # landcover z5: landcover.mss, water.mss + - { name: lake, width: 26, height: 10, fill: "#aad3df" } + - { min_zoom: 5, max_zoom: 9, name: glacier, image: glacier5.svg } + - { min_zoom: 10, name: glacier, image: glacier10.svg } + - { min_zoom: 5, max_zoom: 11, name: forest, width: 26, height: 10, fill: "#bddab1" } + - { min_zoom: 12, name: forest, width: 26, height: 10, fill: "#add19e" } + - { min_zoom: 5, max_zoom: 11, name: orchard, width: 26, height: 10, fill: "#bee5b5" } + - { min_zoom: 12, name: orchard, width: 26, height: 10, fill: "#aedfa3" } + - { min_zoom: 5, max_zoom: 11, name: grass, width: 26, height: 10, fill: "#d7efc0" } + - { min_zoom: 12, name: grass, width: 26, height: 10, fill: "#cdebb0" } + - { min_zoom: 5, max_zoom: 11, name: farmland, width: 26, height: 10, fill: "#f1f3dd" } + - { min_zoom: 12, name: farmland, width: 26, height: 10, fill: "#eef0d5" } + - { min_zoom: 5, max_zoom: 11, name: heathland, width: 26, height: 10, fill: "#dee1b2" } + - { min_zoom: 12, name: heathland, width: 26, height: 10, fill: "#d6d99f" } + - { min_zoom: 5, max_zoom: 11, name: scrubland, width: 26, height: 10, fill: "#d3dfbc" } + - { min_zoom: 12, name: scrubland, width: 26, height: 10, fill: "#c8d7ab" } + - { min_zoom: 5, max_zoom: 11, name: bare_rock, width: 26, height: 10, fill: "#f1eae3" } + - { min_zoom: 12, name: bare_rock, width: 26, height: 10, fill: "#eee5dc" } + - { min_zoom: 5, max_zoom: 11, name: sand, width: 26, height: 10, fill: "#f7edd1" } + - { min_zoom: 12, name: sand, width: 26, height: 10, fill: "#f5e9c6" } + # landuse z8, z10: landcover.mss + - { min_zoom: 10, name: park, width: 26, height: 10, fill: "#c8facc" } + - { min_zoom: 10, name: golf, width: 26, height: 10, fill: "#def6c0" } + - { min_zoom: 8, max_zoom: 11, name: built_up, width: 26, height: 10, fill: "#d9d9d9" } + - { min_zoom: 12, max_zoom: 12, name: built_up, width: 26, height: 10, fill: "#dddddd" } + - { min_zoom: 13, name: resident, width: 26, height: 10, fill: "#e0dfdf" } + - { min_zoom: 13, name: retail, width: 26, height: 10, fill: "#ffd6d1" } + - { min_zoom: 13, name: commercial, width: 26, height: 10, fill: "#f2dad9" } + - { min_zoom: 13, name: industrial, width: 26, height: 10, fill: "#ebdbe8" } + - { min_zoom: 10, max_zoom: 11, name: farm, width: 26, height: 10, fill: "#f7e3c8" } + - { min_zoom: 12, name: farm, width: 26, height: 10, fill: "#f5dcba" } + - { min_zoom: 10, max_zoom: 11, name: brownfield, width: 26, height: 10, fill: "#d2d2c3" } + - { min_zoom: 12, name: brownfield, width: 26, height: 10, fill: "#c7c7b4" } + - { min_zoom: 10, max_zoom: 11, name: cemetery, width: 26, height: 10, fill: "#bbd5be" } + - { min_zoom: 12, name: cemetery, width: 26, height: 10, fill: "#aacbaf" } + - { min_zoom: 10, max_zoom: 11, name: allotments, width: 26, height: 10, fill: "#d4e6cc" } + - { min_zoom: 12, name: allotments, width: 26, height: 10, fill: "#c9e1bf" } + - { min_zoom: 11, name: pitch, width: 26, height: 10, fill: "#88e0be" } + - { min_zoom: 11, name: centre, width: 26, height: 10, fill: "#dffce2" } + - { min_zoom: 10, name: reserve, image: reserve.svg } # admin.mss + - { min_zoom: 8, name: military, image: military.svg } + # other - { min_zoom: 12, max_zoom: 19, name: school, image: school.png } - { min_zoom: 12, max_zoom: 19, name: building, image: building.png } - { min_zoom: 12, max_zoom: 19, name: station, image: station.png } diff --git a/config/locales/en.yml b/config/locales/en.yml index 4b4f6b301..9c6dbc3bd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2310,22 +2310,35 @@ en: - Airport apron - terminal admin: "Administrative boundary" - forest: "Forest" - wood: "Wood" + orchard: + - Orchard + - vineyard + forest: + - Forest + - wood + farmland: "Farmland" + grass: + - Grass + - meadow + bare_rock: "Bare rock" + sand: "Sand" golf: "Golf course" park: "Park" - resident: "Residential area" common: - Common - meadow - garden + built_up: "Built-up area" + resident: "Residential area" retail: "Retail area" industrial: "Industrial area" commercial: "Commercial area" heathland: "Heathland" + scrubland: "Scrubland" lake: - Lake - reservoir + glacier: "Glacier" farm: "Farm" brownfield: "Brownfield site" cemetery: "Cemetery"