From a2dc26ddc65d44468801daa9984e31eaccbc36de Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 11 Dec 2023 13:23:35 +0300 Subject: [PATCH] Add intermittent waterbody mapnik map key https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/water.mss#L30 --- app/assets/images/key/mapnik/intermittent_water.svg | 8 ++++++++ config/key.yml | 1 + config/locales/en.yml | 1 + 3 files changed, 10 insertions(+) create mode 100644 app/assets/images/key/mapnik/intermittent_water.svg diff --git a/app/assets/images/key/mapnik/intermittent_water.svg b/app/assets/images/key/mapnik/intermittent_water.svg new file mode 100644 index 000000000..ab728ce25 --- /dev/null +++ b/app/assets/images/key/mapnik/intermittent_water.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/config/key.yml b/config/key.yml index 5ee24e913..ae1918af2 100644 --- a/config/key.yml +++ b/config/key.yml @@ -19,6 +19,7 @@ mapnik: - { name: admin, width: 52, height: 2, fill: "#8d618b88" } # landcover z5: landcover.mss, water.mss - { name: lake, width: 26, height: 10, fill: "#aad3df" } + - { name: intermittent_water, image: intermittent_water.svg } - { 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" } diff --git a/config/locales/en.yml b/config/locales/en.yml index 9c6dbc3bd..599c4c05b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2338,6 +2338,7 @@ en: lake: - Lake - reservoir + intermittent_water: "Intermittent waterbody" glacier: "Glacier" farm: "Farm" brownfield: "Brownfield site" -- 2.39.5