From: Anton Khorev Date: Fri, 8 Dec 2023 08:59:37 +0000 (+0300) Subject: Update landcover features visible on z5 X-Git-Tag: live~848^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/fcf980615de6cc9246f092702a071f794fb8f0ee Update landcover features visible on z5 --- 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/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/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/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 daf0a9a3f..f9ce0a3ee 100644 --- a/config/key.yml +++ b/config/key.yml @@ -18,18 +18,31 @@ mapnik: # administrative boundaries: admin.mss - { name: admin, width: 52, height: 2, fill: "#8d618b88" } # landcover: landcover.mss, water.mss - - { min_zoom: 0, max_zoom: 19, name: lake, width: 26, height: 10, fill: "#aad3df" } + - { name: lake, width: 26, height: 10, fill: "#aad3df" } + - { name: glacier, width: 26, height: 10, fill: "#ddecec" } + - { 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" } # other - - { 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: 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 } diff --git a/config/locales/en.yml b/config/locales/en.yml index 4b4f6b301..b51f047d7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2310,8 +2310,18 @@ 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" @@ -2323,9 +2333,11 @@ en: industrial: "Industrial area" commercial: "Commercial area" heathland: "Heathland" + scrubland: "Scrubland" lake: - Lake - reservoir + glacier: "Glacier" farm: "Farm" brownfield: "Brownfield site" cemetery: "Cemetery"