From d5039b285bdba1e1c703a3aa1c0b9bef0c221a66 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 11 Dec 2023 11:50:35 +0300 Subject: [PATCH] Update major building mapnik map key https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/buildings.mss#L23 --- app/assets/images/key/mapnik/building.png | Bin 105 -> 0 bytes app/assets/images/key/mapnik/building15.svg | 3 +++ app/assets/images/key/mapnik/building16.svg | 3 +++ config/key.yml | 5 ++++- 4 files changed, 10 insertions(+), 1 deletion(-) delete mode 100644 app/assets/images/key/mapnik/building.png create mode 100644 app/assets/images/key/mapnik/building15.svg create mode 100644 app/assets/images/key/mapnik/building16.svg diff --git a/app/assets/images/key/mapnik/building.png b/app/assets/images/key/mapnik/building.png deleted file mode 100644 index bc074feeb8013640d4a5f3cd224462f49f3c909b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 105 zcmeAS@N?(olHy`uVBq!ia0vp^+(695!3HFgJ}hYlQU;zbjv*C{$ri@R$4(g=r^hL@ z`1{XZc8=lcAN3ahv$Iki_B{$by5IntA;-hy+S)k`*BDF=tYUtY1k}sm>FVdQ&MBb@ E0JeW2MF0Q* 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 } -- 2.39.5