From: Anton Khorev Date: Mon, 11 Dec 2023 08:50:35 +0000 (+0300) Subject: Update major building mapnik map key X-Git-Tag: live~933^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d5039b285bdba1e1c703a3aa1c0b9bef0c221a66?ds=sidebyside Update major building mapnik map key https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/buildings.mss#L23 --- diff --git a/app/assets/images/key/mapnik/building.png b/app/assets/images/key/mapnik/building.png deleted file mode 100644 index bc074feeb..000000000 Binary files a/app/assets/images/key/mapnik/building.png and /dev/null differ diff --git a/app/assets/images/key/mapnik/building15.svg b/app/assets/images/key/mapnik/building15.svg new file mode 100644 index 000000000..cc0507340 --- /dev/null +++ b/app/assets/images/key/mapnik/building15.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/assets/images/key/mapnik/building16.svg b/app/assets/images/key/mapnik/building16.svg new file mode 100644 index 000000000..6ff2210a5 --- /dev/null +++ b/app/assets/images/key/mapnik/building16.svg @@ -0,0 +1,3 @@ + + + diff --git a/config/key.yml b/config/key.yml index 8eab1ed8d..835b1ba33 100644 --- a/config/key.yml +++ b/config/key.yml @@ -59,8 +59,11 @@ mapnik: - { min_zoom: 10, name: reserve, image: reserve.svg } # admin.mss - { min_zoom: 8, name: military, image: military.svg } - { min_zoom: 13, name: school, image: school.svg } + # buildings: buildings.mss + - { min_zoom: 14, name: building, width: 10, height: 10, fill: "#ab9793" } + - { min_zoom: 15, name: building, image: building15.svg } + - { min_zoom: 16, name: building, image: building16.svg } # other - - { min_zoom: 12, max_zoom: 19, name: building, image: building.png } - { min_zoom: 12, max_zoom: 19, name: station, image: station.png } - { min_zoom: 11, max_zoom: 19, name: summit, image: summit.png } - { min_zoom: 12, max_zoom: 19, name: tunnel, image: tunnel.png }