From 643fdb2c6bea8793dd0a8cb95e75e7eb69b3a201 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Wed, 1 Sep 2021 19:11:32 +0200 Subject: [PATCH] Make plant_nursery a 30x30 vectorize tile --- patterns/plant_nursery.svg | 11 +++++++++++ style/landcover.mss | 4 ++-- symbols/generating_patterns/plant_nursery.md | 5 ----- symbols/generating_patterns/plant_nursery.svg | 9 --------- symbols/plant_nursery.png | Bin 507 -> 0 bytes 5 files changed, 13 insertions(+), 16 deletions(-) create mode 100644 patterns/plant_nursery.svg delete mode 100644 symbols/generating_patterns/plant_nursery.md delete mode 100644 symbols/generating_patterns/plant_nursery.svg delete mode 100644 symbols/plant_nursery.png diff --git a/patterns/plant_nursery.svg b/patterns/plant_nursery.svg new file mode 100644 index 0000000000..835beef0e5 --- /dev/null +++ b/patterns/plant_nursery.svg @@ -0,0 +1,11 @@ + + + + + diff --git a/style/landcover.mss b/style/landcover.mss index 562b66224f..859b48b9b7 100644 --- a/style/landcover.mss +++ b/style/landcover.mss @@ -159,7 +159,7 @@ [way_pixels >= 64] { polygon-gamma: 0.3; } } [zoom >= 13] { - polygon-pattern-file: url('symbols/plant_nursery.png'); + polygon-pattern-file: url('patterns/plant_nursery.svg'); polygon-pattern-opacity: 0.6; polygon-pattern-alignment: global; [way_pixels >= 4] { polygon-pattern-gamma: 0.75; } @@ -174,7 +174,7 @@ [way_pixels >= 64] { polygon-gamma: 0.3; } } [zoom >= 13] { - polygon-pattern-file: url('symbols/plant_nursery.png'); + polygon-pattern-file: url('patterns/plant_nursery.svg'); polygon-pattern-alignment: global; [way_pixels >= 4] { polygon-pattern-gamma: 0.75; } [way_pixels >= 64] { polygon-pattern-gamma: 0.3; } diff --git a/symbols/generating_patterns/plant_nursery.md b/symbols/generating_patterns/plant_nursery.md deleted file mode 100644 index 8c2cd3477f..0000000000 --- a/symbols/generating_patterns/plant_nursery.md +++ /dev/null @@ -1,5 +0,0 @@ -This pattern is generated by jsdotpattern script through this link: - -http://www.imagico.de/map/jsdotpattern.php#x,128,jdp32360;gv,6,32,32;rd,1,0,0,pixel,0.125,4,4,0,jdp23814,749d6c,aedea3; - -Since exported SVG file is not properly handled by Mapnik, it was converted to PNG file with alpha channel. diff --git a/symbols/generating_patterns/plant_nursery.svg b/symbols/generating_patterns/plant_nursery.svg deleted file mode 100644 index 27491ca438..0000000000 --- a/symbols/generating_patterns/plant_nursery.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - Created with Snap \ No newline at end of file diff --git a/symbols/plant_nursery.png b/symbols/plant_nursery.png deleted file mode 100644 index 90b46aa98b021104f08b9fda1fba405c242a8469..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 507 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1|$#LC7uRSY)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPtBd-_>x9R18B@7IV9iA?ZAr-gY-Z^=M`;I2afm7+6>W{_JWE;4A^M1s2R|{A&K1 zK@Y6t&UR)8mIej|hC@smEo;rS8-c( z6u!lD;%}b(1;!YVDIaFv-~(CFAnWk%HlqR)&}j^Yj3S4w&7SH26n2Pa*m?ggvsD8( z$do$a+l&u@v;spClSbWLrxjrHI0DWd_%*u})s!2IUl<`Fz@(ti@aVd3i`N3M8CQAM v?2lwG0EWR0#wYt^8I-_w%WnXNz=8wJyefw>4@wywBS3j3^P6