From 4c4958595dc04c6602366ef6513717590b442eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kom=D1=8Fpa?= Date: Thu, 27 Jan 2011 20:20:26 +0200 Subject: [PATCH] cities/towns tweaks --- src/styles/osmosnimki-maps.mapcss | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/styles/osmosnimki-maps.mapcss b/src/styles/osmosnimki-maps.mapcss index 3a250ac..80e8c2f 100644 --- a/src/styles/osmosnimki-maps.mapcss +++ b/src/styles/osmosnimki-maps.mapcss @@ -120,8 +120,8 @@ area|z10-[natural=wetland] {fill-image:swamp_world2.png; z-index:4} area|z10-[landuse=farmland], area|z10-[landuse=farm], area|z10-[landuse=field] {fill-color: #fff5c4; z-index:5} -area|z6[place=city], -area|z6[place=town] +area|z6-9[place=city], +area|z6-9[place=town] {fill-color: #ffe1d0; z-index:5} @@ -377,13 +377,11 @@ way|z18[highway=tertiary_link] way|z7[highway=primary], -{text: name; text-position: line; text-color: #404040; font-family: DejaVu Sans Bold; font-size:9; text-halo-radius: 1; text-halo-color: #ffffff; -width:1; color: #fcea97; +{width:1; color: #fcea97; z-index:12} way|z8[highway=primary], -{text: name; text-position: line; text-color: #404040; font-family: DejaVu Sans Bold; font-size:9; text-halo-radius: 1; text-halo-color: #ffffff; -width:2; color: #fcea97; +{width:2; color: #fcea97; z-index:12} way|z9[highway=primary], @@ -474,10 +472,11 @@ z-index:13} way|z8[highway=trunk], +{width:2; color: #fbcd40; +z-index:13} + way|z8[highway=motorway], -{text: name; text-position: line; text-color: #404040; font-family: DejaVu Sans Bold; font-size:9; text-halo-radius: 1; text-halo-color: #ffffff; -width:2; color: #ffd780; -casing-width:1; casing-color: #996703; +{width:2; color: #fc9265; z-index:13} @@ -723,21 +722,23 @@ node|z6[place=city][population<100000], node|z6[place=town][population<100000][admin_level] {icon-image:adm1_4_6.png; text-offset:5; text:name; font-size:8; font-family: DejaVu Sans Bold; text-halo-radius:1; text-color:#202020;text-halo-color:#ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0;} -node|z7-8[place=city][population<100000], -node|z7-8[place=town][population<100000], +node|z7[place=city][population<100000], +node|z7[place=town][population<100000], {icon-image:town_6.png; text-offset:5; text:name; font-size:9; font-family: DejaVu Sans Bold; text-halo-radius:1; text-color:#202020;text-halo-color:#ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0;} -node|z7-8[place=town][!population], -node|z7-8[place=city][!population], +node|z7[place=town][!population], +node|z7[place=city][!population], {icon-image:town_6.png; text-offset:5; text:name; font-size:8; font-family: DejaVu Sans Bold; text-halo-radius:1; text-color:#202020;text-halo-color:#ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0;} +node|z8[place=town] +{icon-image:town_6.png; text-offset:5; text:name; font-size:8; font-family: DejaVu Sans Bold; text-halo-radius:1; text-color:#202020;text-halo-color:#ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0;} node|z6-8[place=city][population>=100000][population<=1000000], -node|z6-8[place=town][population>=100000][population<=1000000][admin_level] +node|z6[place=town][population>=100000][population<=1000000][admin_level] {icon-image:adm1_5.png; text-offset:5; text:name; font-size:9; font-family: DejaVu Sans Bold; text-halo-radius:1; text-color:#303030;text-halo-color:#ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0;} node|z7-8[place=city][population>=100000][population<=1000000], -node|z7-8[place=town][population>=100000][population<=1000000] +node|z7[place=town][population>=100000][population<=1000000] {icon-image:adm1_5.png; text-offset:5; text:name; font-size:10; font-family: DejaVu Sans Bold; text-halo-radius:1; text-color:#303030;text-halo-color:#ffffff; text-allow-overlap: false; -x-mapnik-min-distance:0;} node|z6[place=city][population>1000000]