From dfeb0f75ef0cfd6ef401c812114843cdde6fc6b1 Mon Sep 17 00:00:00 2001 From: Komzpa Date: Fri, 17 Feb 2012 12:30:06 +0300 Subject: [PATCH] construction, garages, pitches --- src/styles/icons/PD/construction-hatch.png | Bin 0 -> 153 bytes src/styles/osmosnimki-maps.mapcss | 29 ++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 src/styles/icons/PD/construction-hatch.png diff --git a/src/styles/icons/PD/construction-hatch.png b/src/styles/icons/PD/construction-hatch.png new file mode 100644 index 0000000000000000000000000000000000000000..2bce75954536b15f1e1ca377b7d19d7ea5d41217 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m+9LPZ!4!i{9iPbt#YkzjrtLm)^h>^fM*X>6x(-w~>K?LBXvb#*+@E tFF5k^et*s%|B0X74=0%Lv;|5qFnGLdeX#oQsZ^jb44$rjF6*2UngEVJFlhh) literal 0 HcmV?d00001 diff --git a/src/styles/osmosnimki-maps.mapcss b/src/styles/osmosnimki-maps.mapcss index d7bd490..95f643d 100644 --- a/src/styles/osmosnimki-maps.mapcss +++ b/src/styles/osmosnimki-maps.mapcss @@ -105,7 +105,7 @@ font-family: DejaVu Sans Book; text-color:#8B5E3C;text-halo-radius: 1; text-halo-color: #ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0; text-placement:any; max-width:50} - + area|z16-[landuse=residential], area|z16-[residential=urban], @@ -115,6 +115,13 @@ font-family: DejaVu Sans Book; text-color:#8B5E3C;text-halo-radius: 1; text-halo-color: #ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0; text-placement:any; max-width:50} +area|z15-[landuse=construction], +{fill-image: construction-hatch.png; z-index:9; + width: 0.3; color:#cb8904; dashes: 2,2 + +} + + area|z13-[landuse=commercial], {fill-color: #EADCE5; z-index:9} @@ -173,13 +180,18 @@ area|z12-[natural=heath] area|z10-13[landuse=industrial],area|z10-13[landuse=military] {background-color: #D8D6D7; z-index:3} area|z14-[landuse=industrial], area|z14-[landuse=military] {background-color: #DDDDDD; z-index:3} -way|z14-15[landuse=industrial] /*,area|z14-15[landuse=military]*/ + +way|z14-15[landuse=industrial], +way|z14-15[landuse=garages][name!=гаражи], +/*,area|z14-15[landuse=military]*/ {text:name; font-size:10; font-family: DejaVu Sans Book; text-color:#303030; text-halo-radius: 1; text-halo-color: #ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0; text-placement:any; max-width:50} -way|z16-[landuse=industrial] /*,area|z16-[landuse=military]*/ +way|z16-[landuse=industrial], +way|z16-[landuse=garages][name!=гаражи], +/*,area|z16-[landuse=military]*/ {text:name; font-size:11; font-family: DejaVu Sans Book; text-color:#303030; text-halo-radius: 1; text-halo-color: #ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0; text-placement:any; @@ -295,10 +307,21 @@ area|z12-14[leisure=pitch], {background-color: #e3deb1; casing-width:0.1; casing-color: #996703; z-index:5;} +area|z12-14[leisure=track], +area|z12-14[leisure=playground], +{background-color: #DEE7B4; casing-width:0.1; casing-color: #996703; z-index:5;} + + area|z15-[leisure=stadium], area|z15-[leisure=pitch], {background-color: #e3deb1; casing-width:0.2; casing-color: #996703; z-index:5;} +area|z15-[leisure=track], +area|z15-[leisure=playground], +{background-color: #DEE7B4; casing-width:0.2; casing-color: #996703; z-index:5;} + + + way|z9-10[waterway=river] {color: #C4D4F5; width: .6; z-index:9}