From 8eaa44cda84f34248b756b607356365be6b444a0 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 30 Nov 2023 19:12:34 +0300 Subject: [PATCH] Fix mapnik map key for roads The main changes are: - no roads on zooms < 6 - no yellow-colored secondary highways without casing --- .../key/mapnik/{mainroad7.png => mainroad8.png} | Bin app/assets/images/key/mapnik/mainroad9.png | Bin 182 -> 0 bytes config/key.yml | 7 +++---- 3 files changed, 3 insertions(+), 4 deletions(-) rename app/assets/images/key/mapnik/{mainroad7.png => mainroad8.png} (100%) delete mode 100644 app/assets/images/key/mapnik/mainroad9.png diff --git a/app/assets/images/key/mapnik/mainroad7.png b/app/assets/images/key/mapnik/mainroad8.png similarity index 100% rename from app/assets/images/key/mapnik/mainroad7.png rename to app/assets/images/key/mapnik/mainroad8.png diff --git a/app/assets/images/key/mapnik/mainroad9.png b/app/assets/images/key/mapnik/mainroad9.png deleted file mode 100644 index 334f8fc0d29b94d458d01725cc132db3b48b523c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^#y~8{!3HD?j!qE=QjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1`ISV`@iy0V%Nv}RF*y8m12;X*vh=M4-P7@ipjHH37P RzX2M{;OXk;vd$@?2>>S{IGq3h diff --git a/config/key.yml b/config/key.yml index 0737c9b9d..9576fb044 100644 --- a/config/key.yml +++ b/config/key.yml @@ -1,8 +1,7 @@ mapnik: - - { min_zoom: 0, max_zoom: 19, name: motorway, image: motorway.png } - - { min_zoom: 0, max_zoom: 6, name: main_road, image: mainroad.png } - - { min_zoom: 7, max_zoom: 8, name: main_road, image: mainroad7.png } - - { min_zoom: 9, max_zoom: 11, name: main_road, image: mainroad9.png } + - { 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 } - { min_zoom: 12, max_zoom: 19, name: main_road, image: mainroad12.png } - { min_zoom: 13, max_zoom: 19, name: track, image: track.png } - { min_zoom: 13, max_zoom: 19, name: bridleway, image: bridleway.png } -- 2.39.5