From b4f207943bb21770209978abc0d5a956b9576788 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 18 Dec 2023 14:11:08 +0300 Subject: [PATCH] Replace rectangular map key images with width/height/fill --- app/assets/images/key/cyclemap/common.png | Bin 144 -> 0 bytes .../images/key/cyclemap/cycleway_local.png | Bin 151 -> 0 bytes .../images/key/cyclemap/cycleway_local13.png | Bin 149 -> 0 bytes .../images/key/cyclemap/cycleway_national.png | Bin 150 -> 0 bytes .../key/cyclemap/cycleway_national13.png | Bin 148 -> 0 bytes .../images/key/cyclemap/cycleway_regional.png | Bin 92 -> 0 bytes .../key/cyclemap/cycleway_regional13.png | Bin 86 -> 0 bytes app/assets/images/key/cyclemap/forest.png | Bin 144 -> 0 bytes app/assets/images/key/cyclemap/lake.png | Bin 144 -> 0 bytes app/assets/images/key/cyclemap/motorway.png | Bin 187 -> 0 bytes app/assets/images/key/cyclemap/primary.png | Bin 186 -> 0 bytes app/assets/images/key/cyclemap/secondary.png | Bin 166 -> 0 bytes app/assets/images/key/cyclemap/trunk.png | Bin 192 -> 0 bytes config/key.yml | 26 +++++++++--------- 14 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 app/assets/images/key/cyclemap/common.png delete mode 100644 app/assets/images/key/cyclemap/cycleway_local.png delete mode 100644 app/assets/images/key/cyclemap/cycleway_local13.png delete mode 100644 app/assets/images/key/cyclemap/cycleway_national.png delete mode 100644 app/assets/images/key/cyclemap/cycleway_national13.png delete mode 100644 app/assets/images/key/cyclemap/cycleway_regional.png delete mode 100644 app/assets/images/key/cyclemap/cycleway_regional13.png delete mode 100644 app/assets/images/key/cyclemap/forest.png delete mode 100644 app/assets/images/key/cyclemap/lake.png delete mode 100644 app/assets/images/key/cyclemap/motorway.png delete mode 100644 app/assets/images/key/cyclemap/primary.png delete mode 100644 app/assets/images/key/cyclemap/secondary.png delete mode 100644 app/assets/images/key/cyclemap/trunk.png diff --git a/app/assets/images/key/cyclemap/common.png b/app/assets/images/key/cyclemap/common.png deleted file mode 100644 index 7c108152aed53e5021db88f49758879f3d497a32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^Qb5eb!3HE(&G8EbQfx`y?k)`fL2$v|<&%LToCO|{ z#S9GG!XV7ZFl&wkP>{XE)7O>#K07y$tdwJ?u_sVS*3-o?#Nu@Fo#OIK^=wuQYHU`G if!%JpQd>KU7#QULGTXU)lw}4gWbkzLb6Mw<&;$Ukb|P5- diff --git a/app/assets/images/key/cyclemap/cycleway_local.png b/app/assets/images/key/cyclemap/cycleway_local.png deleted file mode 100644 index 2a29331691ddcc564c45a03e7d64a70419cd8733..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 151 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%(!3HG1wm(q{XE)7O>#K07xLhfWXh{WaOJFiQ652nsPR^O(` qS7sfboRXCC@2r6ggYaj2Hir3|*l$KUbIk;*XYh3Ob6Mw<&;$UXDk)h2 diff --git a/app/assets/images/key/cyclemap/cycleway_local13.png b/app/assets/images/key/cyclemap/cycleway_local13.png deleted file mode 100644 index 3f2c53587afc471f1cb548ec5ec1c6f485aff8b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 149 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%%!3HFi@3GqhDYhhUcNd2LAh=-f^2tCE&H|6f zVg?3oVGw3ym^DWND9B#o>FdgVpPieRlba=U-A$m7lBbJfh{pNkKmY&RAAWY0=f7l| o#fPt{2`NbuZV6Y6n?)HI)?Z*_b)5gX1E`w8)78&qol`;+00I3eb^rhX diff --git a/app/assets/images/key/cyclemap/cycleway_national.png b/app/assets/images/key/cyclemap/cycleway_national.png deleted file mode 100644 index 0f5455f71e488c8af0a6a5f4f8731c72d890f1cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 150 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%(!3HG1wm(q{XE)7O>#K07xLtAMh*6CY4W+0(@_MB;Mtjn^f;59OH;|6kbm o-6B3QAt~kGSpyjc;m`JL3{JJ_Qk+cXxj^L%p00i_>zopr06rflnE(I) diff --git a/app/assets/images/key/cyclemap/cycleway_national13.png b/app/assets/images/key/cyclemap/cycleway_national13.png deleted file mode 100644 index 252b07a306caa09d5c12faf6a71f92a1b2bfbd3a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 148 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%%!3HFi@3GqhDYhhUcNd2LAh=-f^2tCE&H|6f zVg?3oVGw3ym^DWND9B#o>FdgVpPieRL!Nz#_fw#dqNj^vh{pNkKmY&RGasI&`(Lun m>chvxlq3nage%6)q6`e{BiLBktKvZRGI+ZBxvXXYSH+}FK;;acu6{1-oD!M<>q#Le diff --git a/app/assets/images/key/cyclemap/cycleway_regional13.png b/app/assets/images/key/cyclemap/cycleway_regional13.png deleted file mode 100644 index 5195704544edfc4067f740a4d6696daf9aada56b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%%!3HFi@3GqhDOpb!$B>F!$v^)8w?BM$t@(fc kQl3x8SERpaaJOY<5c{`P|L}|@K0t*Gp00i_>zopr0I8cAk^lez diff --git a/app/assets/images/key/cyclemap/forest.png b/app/assets/images/key/cyclemap/forest.png deleted file mode 100644 index a7ebe8e5d24890aa78931ba01638b5515464e8c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^Qb5eb!3HE(&G8EbQfx`y?k)`fL2$v|<&%LToCO|{ z#S9GG!XV7ZFl&wkP>{XE)7O>#K07y$xcq4zeIKBZtfz}(h{fq-o8KQ!)U#PJsIgf! i26nsYN^R{ZVqkEZ%-ot?tse_i$l&Sf=d#Wzp$P!K@gmp& diff --git a/app/assets/images/key/cyclemap/lake.png b/app/assets/images/key/cyclemap/lake.png deleted file mode 100644 index 918d496ae83c678f2ddcce4fc0ef4c5ce0d8505a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^Qb5eb!3HE(&G8EbQfx`y?k)`fL2$v|<&%LToCO|{ z#S9GG!XV7ZFl&wkP>{XE)7O>#K07xrv#!qe!|Q-TvYsxEAr_~T?^HcJRL^F`pvGp^ j7})KmE48(wh=Jks3g!&{rDaQj3K=|I{an^LB{Ts51u!JN diff --git a/app/assets/images/key/cyclemap/motorway.png b/app/assets/images/key/cyclemap/motorway.png deleted file mode 100644 index 296f1767720d6c93ac812bb2b3a9adfb722f6ab9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^CP2)_!3HFIPVMytagw~QL70(Y)*K0-AbW|YuPgg~c5W_Ffm{xqw?H8ePZ!4!i_^(D88^-!P&jX(<51hg z%*@@)quhMuegFUV=5{G@nS_)iiL`_pl^v~(jg1c_mF*vY_;9YCO^uE1Sfa4?{rbO& a3=BpbJYQ90+-CyKWbkzLb6Mw<&;$UPe>aQ( diff --git a/app/assets/images/key/cyclemap/primary.png b/app/assets/images/key/cyclemap/primary.png deleted file mode 100644 index 78ae0e4e5cb7da3e021d5f0bcd1dde616421189f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 186 zcmeAS@N?(olHy`uVBq!ia0vp^CP2)}!3HF`;?6$?Qfx`y?k)`fL2$v|<&%LToCO|{ z#S9GG!XV7ZFl&wkP>{XE)7O>#K07y;j@HtKil;y!cTX3`5R22vf9_v6@ZkaD;SCI2 zpI=Kx%-i?(zz1XHNB;{xTxdSz!3HD`GRe3BDYhhUcNd2LAh=-f^2tCE&H|6f zVg?3oVGw3ym^DWND9B#o>FdgVpPidaU&Q~6Suaq?*we)^MB{w&pWXKJ6L&DEwR7_5 z@Bl&i(&YdA?EISY8VM!f3x!2Lf!Y~7UHx3vIVCg! E02FX6P5=M^ diff --git a/app/assets/images/key/cyclemap/trunk.png b/app/assets/images/key/cyclemap/trunk.png deleted file mode 100644 index d312a65cb549b55a26497e2880ae684757daa931..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 192 zcmeAS@N?(olHy`uVBq!ia0vp^CP2)_!3HFIPVMytagw~QL70(Y)*K0-AbW|YuPgg~c5W_BO~-$CrGP@do-U3d7N_r?-zeCiAmDOw|GD1A zPTiS7q5+~Q+Y+?hT+ZD*zK?I-t-A$*>%9sbCW$TlSHiSl&e0^3>sQ)lGDy6i;Ow@$ hLq$+b{@V5*jC+m?xh36i2m>0-;OXk;vd$@?2>|SsKPUhI diff --git a/config/key.yml b/config/key.yml index 267e68934..236576333 100644 --- a/config/key.yml +++ b/config/key.yml @@ -85,29 +85,29 @@ mapnik: - { min_zoom: 15, name: destination, image: destination.png } - { min_zoom: 12, name: construction, image: construction.png } cyclemap: - - { min_zoom: 0, name: motorway, image: motorway.png } + - { min_zoom: 0, name: motorway, width: 50, height: 3, fill: "#9a9ab1" } - { min_zoom: 12, name: motorway, image: motorway12.png } - - { min_zoom: 0, name: trunk, image: trunk.png } + - { min_zoom: 0, name: trunk, width: 50, height: 2, fill: "#c8d8c8" } - { min_zoom: 12, name: trunk, image: trunk12.png } - - { min_zoom: 7, name: primary, image: primary.png } + - { min_zoom: 7, name: primary, width: 50, height: 2, fill: "#d8c8c8" } - { min_zoom: 12, name: primary, image: primary12.png } - - { min_zoom: 9, name: secondary, image: secondary.png } + - { min_zoom: 9, name: secondary, width: 50, height: 1, fill: "#dadacc" } - { min_zoom: 12, name: secondary, image: secondary12.png } - { min_zoom: 15, name: pedestrian, image: pedestrian.svg } - { min_zoom: 13, name: track, image: track.png } - { min_zoom: 8, name: cycleway, image: cycleway.png } - - { min_zoom: 5, name: cycleway_national, image: cycleway_national.png } - - { min_zoom: 13, name: cycleway_national, image: cycleway_national13.png } - - { min_zoom: 5, name: cycleway_regional, image: cycleway_regional.png } - - { min_zoom: 13, name: cycleway_regional, image: cycleway_regional13.png } - - { min_zoom: 8, name: cycleway_local, image: cycleway_local.png } - - { min_zoom: 13, name: cycleway_local, image: cycleway_local13.png } + - { min_zoom: 5, name: cycleway_national, width: 50, height: 2, fill: "#fe0000" } + - { min_zoom: 13, name: cycleway_national, width: 50, height: 4, fill: "#ffb3b3" } + - { min_zoom: 5, name: cycleway_regional, width: 50, height: 2, fill: "#b638fb" } + - { min_zoom: 13, name: cycleway_regional, width: 50, height: 4, fill: "#ddb5d9" } + - { min_zoom: 8, name: cycleway_local, width: 50, height: 2, fill: "#0100fe" } + - { min_zoom: 13, name: cycleway_local, width: 50, height: 4, fill: "#b2b2ff" } - { min_zoom: 13, name: footway, image: footway.svg } - { min_zoom: 7, name: rail, image: rail.png } - { min_zoom: 14, name: rail, image: rail14.png } - - { min_zoom: 9, name: forest, image: forest.png } - - { min_zoom: 10, name: common, image: common.png } - - { min_zoom: 7, name: lake, image: lake.png } + - { min_zoom: 9, name: forest, width: 26, height: 10, fill: "#cde1c4" } + - { min_zoom: 10, name: common, width: 26, height: 10, fill: "#bcdd92" } + - { min_zoom: 7, name: lake, width: 26, height: 10, fill: "#b5d0d0" } - { min_zoom: 14, name: bicycle_shop, image: bicycle_shop.png } - { min_zoom: 14, name: bicycle_parking, image: bicycle_parking.png } - { min_zoom: 16, name: toilets, image: toilets.png } -- 2.39.5