From 511a36e965836f6f15f3c67b7c91d80e6bc83ee8 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 29 Dec 2023 06:58:22 +0300 Subject: [PATCH] Update main roads mapnik map key --- app/assets/images/key/mapnik/mainroad.png | Bin 146 -> 0 bytes app/assets/images/key/mapnik/mainroad12.png | Bin 197 -> 0 bytes app/assets/images/key/mapnik/mainroad12.svg | 5 +++++ app/assets/images/key/mapnik/mainroad15.svg | 5 +++++ app/assets/images/key/mapnik/mainroad8.png | Bin 165 -> 0 bytes app/assets/images/key/mapnik/mainroad8.svg | 4 ++++ app/assets/images/key/mapnik/mainroad9.svg | 5 +++++ config/key.yml | 15 +++++++++++---- 8 files changed, 30 insertions(+), 4 deletions(-) delete mode 100644 app/assets/images/key/mapnik/mainroad.png delete mode 100644 app/assets/images/key/mapnik/mainroad12.png create mode 100644 app/assets/images/key/mapnik/mainroad12.svg create mode 100644 app/assets/images/key/mapnik/mainroad15.svg delete mode 100644 app/assets/images/key/mapnik/mainroad8.png create mode 100644 app/assets/images/key/mapnik/mainroad8.svg create mode 100644 app/assets/images/key/mapnik/mainroad9.svg diff --git a/app/assets/images/key/mapnik/mainroad.png b/app/assets/images/key/mapnik/mainroad.png deleted file mode 100644 index 269959b65d746b2337dd6e5c4c6b5f9771efb993..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%*!3HGr#Fm)=DaPU;cPEB*=VV?2IV|apzK#qG z8~eHcB(eheoCO|{#S9EWB_ParFHODzD5&n~;uvD#pZsTM=DGT|M5Y-FzHDGvJWp~> nLPTZTM|%N>o6a%@1`G_p9gTe~DWM4fcfBYk diff --git a/app/assets/images/key/mapnik/mainroad12.png b/app/assets/images/key/mapnik/mainroad12.png deleted file mode 100644 index c289a3f8c8069fe64f407cda2354ac42e56df49d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^#y~8{!3HD?j!qE=QjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1`ISV`@iy0V%NSv^mzlv zmx+vRQ`6hR=l$eo3HUaFy@z{~WLtmwznEyFs9C&j27A0VCj#X|Gs6N-Th-Wn{(Jr3 n#Y;H`O%Fq7@y@q7e1L%=zeMgwap|l|pe+oZu6{1-oD!M<8l^%f diff --git a/app/assets/images/key/mapnik/mainroad12.svg b/app/assets/images/key/mapnik/mainroad12.svg new file mode 100644 index 000000000..6bf11d915 --- /dev/null +++ b/app/assets/images/key/mapnik/mainroad12.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/app/assets/images/key/mapnik/mainroad15.svg b/app/assets/images/key/mapnik/mainroad15.svg new file mode 100644 index 000000000..96796b86e --- /dev/null +++ b/app/assets/images/key/mapnik/mainroad15.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/app/assets/images/key/mapnik/mainroad8.png b/app/assets/images/key/mapnik/mainroad8.png deleted file mode 100644 index 05b4dac857982c5f878c4d01553109900963ad0a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%&!3HGH_qKur7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O`0h7I;J!GcX91fH32|H2Dgkpp~bKV~B@$@}HfV=jz)MnPx2bvVmdoJjpc) z5tVHp?FAfeI?EaS+qo@ei-~kk!WH9Y(Vl5(&B6u-3=A)t_)bi7=;H&L!r + + + diff --git a/app/assets/images/key/mapnik/mainroad9.svg b/app/assets/images/key/mapnik/mainroad9.svg new file mode 100644 index 000000000..75195d9fb --- /dev/null +++ b/app/assets/images/key/mapnik/mainroad9.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/config/key.yml b/config/key.yml index 5341245e5..52c59091e 100644 --- a/config/key.yml +++ b/config/key.yml @@ -1,9 +1,16 @@ mapnik: # transportation: roads.mss - - { min_zoom: 6, name: motorway, width: 52, height: 5, fill: "#e892a2", casing: "#dc2a67" } - - { min_zoom: 6, name: main_road, image: mainroad.png } - - { min_zoom: 8, name: main_road, image: mainroad8.png } - - { min_zoom: 12, name: main_road, image: mainroad12.png } + - { min_zoom: 6, name: motorway, width: 52, height: 1, line: "#e66e89", line-width: 1 } + - { min_zoom: 7, name: motorway, width: 52, height: 3, line: "#e66e89", line-width: 1.5 } + - { min_zoom: 9, name: motorway, width: 52, height: 2, line: "#e66e89", line-width: 2 } + - { min_zoom: 12, name: motorway, width: 52, height: 5, fill: "#e892a2", casing: "#dc2a67", casing-width: 0.5 } + - { min_zoom: 15, name: motorway, width: 52, height: 10, fill: "#e892a2", casing: "#dc2a67" } + - { min_zoom: 6, name: main_road, width: 52, height: 3, line: "#f6967a", line-width: 1 } + - { min_zoom: 7, name: main_road, width: 52, height: 3, line: "#f6967a", line-width: 1.25 } + - { min_zoom: 8, name: main_road, image: mainroad8.svg } + - { min_zoom: 9, name: main_road, image: mainroad9.svg } + - { min_zoom: 12, name: main_road, image: mainroad12.svg } + - { min_zoom: 15, name: main_road, image: mainroad15.svg } - { min_zoom: 13, name: track, width: 52, height: 3, opacity: .8, line: "#996600", line-width: 1.5, line-dasharray: "6 5" } - { min_zoom: 13, name: bridleway, width: 52, height: 3, line: green, line-width: 1.25, line-dasharray: "4 2" } - { min_zoom: 13, name: cycleway, width: 52, height: 1, line: blue, line-dasharray: "3 3.5" } -- 2.39.5