forked from organicmaps/organicmaps
Make the vehicle style conform to the MapCSS spec.
This commit is contained in:
parent
bc0c359f92
commit
ef5008309a
6 changed files with 57 additions and 57 deletions
|
@ -174,8 +174,8 @@ area|z10-[place=islet]
|
|||
area|z0-[natural=coastline]
|
||||
{fill-color: @water;}
|
||||
|
||||
area|z0-[natural=land]
|
||||
area|z10-[place=islet],
|
||||
area|z0-[natural=land],
|
||||
area|z10-[place=islet]
|
||||
{fill-color: @background;}
|
||||
|
||||
/* 3.BOUNDARIES */
|
||||
|
@ -560,11 +560,11 @@ area|z17[landuse=garages],
|
|||
area|z17[building=train_station],
|
||||
{fill-color: @building;opacity: 0.55;casing-width: 1;casing-color: @building_border;}
|
||||
|
||||
area|z17-[aeroway=terminal]
|
||||
area|z17-[aeroway=terminal],
|
||||
area|z18-[building],
|
||||
area|z18-[building:part],
|
||||
area|z18-[landuse=garages],
|
||||
area|z18-[building=train_station],
|
||||
area|z18-[building=train_station]
|
||||
{fill-color: @building;opacity: 0.55;casing-width: 1;casing-color: @building_border;}
|
||||
|
||||
/* 8.3 Barrier */
|
||||
|
|
|
@ -109,11 +109,11 @@ line[waterway],
|
|||
*[place]
|
||||
{text-position: center;fill-position: background;}
|
||||
|
||||
node|z1-2[place=continent]
|
||||
node|z1-2[place=continent],
|
||||
node|z12-[place=archipelago],
|
||||
node|z12-14[place=island],
|
||||
area|z12-[place=archipelago],
|
||||
area|z12-14[place=island]
|
||||
area|z12-14[place=island],
|
||||
node|z14-[natural=cape],
|
||||
area|z14-[natural=cape]
|
||||
{text: name;}
|
||||
|
@ -191,7 +191,7 @@ node|z8-10[place=state]::int_name
|
|||
node|z4[place=city][capital!=2][population>=1000000],
|
||||
node|z5[place=city][capital!=2][population>=150000],
|
||||
node|z6[place=city][capital!=2][population>=50000],
|
||||
node|z7-8[place=city][capital!=2][population>=40000]
|
||||
node|z7-8[place=city][capital!=2][population>=40000],
|
||||
node|z4-[place=city][capital=2],
|
||||
node|z9-[place=city]
|
||||
{text: name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
|
||||
|
@ -304,7 +304,7 @@ node|z9[place=town][population>=20000]::int_name
|
|||
node|z10-[place=town],
|
||||
{text: name;text-color: @label_medium;text-halo-radius: 1;text-halo-opacity: 0.8;text-halo-color: @label_halo_light;}
|
||||
node|z10-[place=town]::int_name
|
||||
{text:int_name;text-color: @label_medium;;text-halo-radius: 1;text-halo-opacity: 0.8;text-halo-color: @label_halo_light;}
|
||||
{text:int_name;text-color: @label_medium;text-halo-radius: 1;text-halo-opacity: 0.8;text-halo-color: @label_halo_light;}
|
||||
|
||||
node|z8[place=town][population>=40000]
|
||||
{font-size: 10;}
|
||||
|
|
|
@ -479,7 +479,7 @@ node|z17-[vending=parking_tickets],
|
|||
area|z17-[vending=parking_tickets],
|
||||
node|z17-[amenity=vending_machine],
|
||||
area|z17-[amenity=vending_machine],
|
||||
{text: name;text-color: @poi_label;text-offset: 1;font-size: 11;text-min-distance: 14}
|
||||
{text: name;text-color: @poi_label;text-offset: 1;font-size: 11;text-min-distance: 14;}
|
||||
|
||||
/* POI */
|
||||
|
||||
|
@ -585,10 +585,10 @@ area|z18-[amenity=place_of_worship][religion=hindu]
|
|||
|
||||
node|z17[amenity=bank],
|
||||
area|z17[amenity=bank]
|
||||
{icon-image: bank-l.svg;font-size: 13.75; icon-min-distance: 15}
|
||||
{icon-image: bank-l.svg;font-size: 13.75; icon-min-distance: 15;}
|
||||
node|z18-[amenity=bank],
|
||||
area|z18-[amenity=bank]
|
||||
{icon-image: bank-xl.svg;font-size: 14.5; icon-min-distance: 10}
|
||||
{icon-image: bank-xl.svg;font-size: 14.5; icon-min-distance: 10;}
|
||||
|
||||
|
||||
node|z12-14[barrier=toll_booth],
|
||||
|
@ -678,7 +678,7 @@ area|z15[shop=car_repair][service=tyres]
|
|||
{icon-image: car-repair-m.svg;text-offset: 1;-x-me-text-priority:15500;icon-min-distance: 20;font-size:12.5;}
|
||||
node|z16[shop=car_repair][service=tyres],
|
||||
area|z16[shop=car_repair][service=tyres]
|
||||
{icon-image: car-repair-l.svg;;-x-me-text-priority:15500;font-size: 12.75;}
|
||||
{icon-image: car-repair-l.svg;-x-me-text-priority:15500;font-size: 12.75;}
|
||||
node|z17[shop=car_repair][service=tyres],
|
||||
area|z17[shop=car_repair][service=tyres]
|
||||
{icon-image: car-repair-l.svg;font-size: 13.75;}
|
||||
|
@ -750,7 +750,7 @@ area|z17[amenity=fuel]
|
|||
{icon-image: fuel-l.svg;font-size: 13.75;}
|
||||
node|z18-[amenity=fuel],
|
||||
area|z18-[amenity=fuel]
|
||||
{icon-image: fuel-xl.svg;font-size: 14.5;text:}
|
||||
{icon-image: fuel-xl.svg;font-size: 14.5;}
|
||||
|
||||
node|z14[amenity=charging_station],
|
||||
area|z14[amenity=charging_station]
|
||||
|
@ -812,7 +812,7 @@ node|z17[amenity=parking][access=permissive],
|
|||
node|z17[amenity=parking][access=private]
|
||||
{icon-image: zero-icon.svg;z-index: 6;icon-min-distance: 7;}
|
||||
|
||||
node|z18[amenity=parking] area|z18[amenity=parking]
|
||||
node|z18[amenity=parking], area|z18[amenity=parking]
|
||||
{icon-image: parking-xl.svg;icon-min-distance: 10;}
|
||||
node|z18[amenity=parking][access=permissive],
|
||||
node|z18[amenity=parking][access=private]
|
||||
|
|
|
@ -158,7 +158,7 @@ line[railway=abandoned]
|
|||
line[highway=bridleway]
|
||||
{z-index: 590;}
|
||||
|
||||
line[highway=track]
|
||||
line[highway=track],
|
||||
line[highway=raceway],
|
||||
line[leisure=track],
|
||||
line[highway=path],
|
||||
|
@ -340,41 +340,41 @@ line|z13[highway=motorway_link],
|
|||
line|z13[highway=trunk_link]
|
||||
{color: @trunk_orange_medium; width: 2.8;}
|
||||
line|z14[highway=trunk],
|
||||
line|z14[highway=motorway],
|
||||
{color: @trunk_orange_medium; width: 5.25;casing-width: 0.75}
|
||||
line|z14[highway=motorway]
|
||||
{color: @trunk_orange_medium; width: 5.25;casing-width: 0.75;}
|
||||
line|z14[highway=motorway_link],
|
||||
line|z14[highway=trunk_link]
|
||||
{color: @trunk_orange_medium; width: 3.37;casing-width: 0.45}
|
||||
{color: @trunk_orange_medium; width: 3.37;casing-width: 0.45;}
|
||||
line|z15[highway=trunk],
|
||||
line|z15[highway=motorway],
|
||||
{color:@trunk_orange_medium; width: 6.5;casing-width: 0.85}
|
||||
{color:@trunk_orange_medium; width: 6.5;casing-width: 0.85;}
|
||||
line|z15[highway=motorway_link],
|
||||
line|z15[highway=trunk_link]
|
||||
{color:@trunk_orange_medium; width: 5.5;casing-width: 0.55}
|
||||
{color:@trunk_orange_medium; width: 5.5;casing-width: 0.55;}
|
||||
line|z16[highway=trunk],
|
||||
line|z16[highway=motorway],
|
||||
{color:@trunk_orange_medium; width: 9.85;casing-width: 1.1}
|
||||
{color:@trunk_orange_medium; width: 9.85;casing-width: 1.1;}
|
||||
line|z16[highway=motorway_link],
|
||||
line|z16[highway=trunk_link]
|
||||
{color:@trunk_orange_medium; width: 7.95;casing-width: 0.8}
|
||||
{color:@trunk_orange_medium; width: 7.95;casing-width: 0.8;}
|
||||
line|z17[highway=trunk],
|
||||
line|z17[highway=motorway],
|
||||
{color:@trunk_orange_medium; width: 16;casing-width: 1.1}
|
||||
{color:@trunk_orange_medium; width: 16;casing-width: 1.1;}
|
||||
line|z17[highway=motorway_link],
|
||||
line|z17[highway=trunk_link]
|
||||
{color:@trunk_orange_medium; width: 13;casing-width: 1.0}
|
||||
{color:@trunk_orange_medium; width: 13;casing-width: 1.0;}
|
||||
line|z18[highway=trunk],
|
||||
line|z18[highway=motorway],
|
||||
{color:@trunk_orange_medium; width: 26;casing-width: 1.35}
|
||||
{color:@trunk_orange_medium; width: 26;casing-width: 1.35;}
|
||||
line|z18[highway=motorway_link],
|
||||
line|z18[highway=trunk_link]
|
||||
{color:@trunk_orange_medium; width: 20;casing-width: 1.15}
|
||||
{color:@trunk_orange_medium; width: 20;casing-width: 1.15;}
|
||||
line|z19-[highway=trunk],
|
||||
line|z19-[highway=motorway],
|
||||
{color:@trunk_orange_medium; width: 36;casing-width: 1.5}
|
||||
{color:@trunk_orange_medium; width: 36;casing-width: 1.5;}
|
||||
line|z19-[highway=motorway_link],
|
||||
line|z19-[highway=trunk_link]
|
||||
{color:@trunk_orange_medium; width: 26;casing-width: 1.25}
|
||||
{color:@trunk_orange_medium; width: 26;casing-width: 1.25;}
|
||||
|
||||
/* 3.2 Trunk & Motorway tunnel 12-22 ZOOM */
|
||||
|
||||
|
@ -414,7 +414,7 @@ line|z18-[highway=trunk_link][bridge?]::bridgewhite,
|
|||
{casing-width: eval(prop("width")+1);}
|
||||
|
||||
line|z13-16[highway=motorway][bridge?]::bridgeblack,
|
||||
line|z13-16[highway=trunk][bridge?]::bridgeblack
|
||||
line|z13-16[highway=trunk][bridge?]::bridgeblack,
|
||||
line|z14-16[highway=motorway_link][bridge?]::bridgeblack,
|
||||
line|z14-16[highway=trunk_link][bridge?]::bridgeblack,
|
||||
{casing-width: eval(prop("width")+0.4);}
|
||||
|
@ -468,22 +468,22 @@ line|z13[highway=primary]
|
|||
{width: 3;}
|
||||
line|z14[highway=primary],
|
||||
line|z14[highway=primary_link]
|
||||
{width: 3.5;casing-width: 0.35}
|
||||
{width: 3.5;casing-width: 0.35;}
|
||||
line|z15[highway=primary],
|
||||
line|z15[highway=primary_link]
|
||||
{width: 4.7;casing-width: 0.55}
|
||||
{width: 4.7;casing-width: 0.55;}
|
||||
line|z16[highway=primary],
|
||||
line|z16[highway=primary_link]
|
||||
{width: 7.2;casing-width: 0.8}
|
||||
{width: 7.2;casing-width: 0.8;}
|
||||
line|z17[highway=primary],
|
||||
line|z17[highway=primary_link]
|
||||
{width: 14;casing-width: 0.9}
|
||||
{width: 14;casing-width: 0.9;}
|
||||
line|z18[highway=primary],
|
||||
line|z18[highway=primary_link]
|
||||
{width: 23;casing-width: 1.1}
|
||||
{width: 23;casing-width: 1.1;}
|
||||
line|z19-[highway=primary],
|
||||
line|z19-[highway=primary_link]
|
||||
{width: 30;casing-width: 1.3}
|
||||
{width: 30;casing-width: 1.3;}
|
||||
|
||||
/* 4.2 Primary tunnel 14-22 ZOOM */
|
||||
|
||||
|
@ -543,22 +543,22 @@ line|z13[highway=secondary]
|
|||
{width: 2.9;}
|
||||
line|z14[highway=secondary],
|
||||
line|z14[highway=secondary_link]
|
||||
{width: 3.2;casing-width: 0.35}
|
||||
{width: 3.2;casing-width: 0.35;}
|
||||
line|z15[highway=secondary],
|
||||
line|z15[highway=secondary_link]
|
||||
{width: 4.5;casing-width: 0.55}
|
||||
{width: 4.5;casing-width: 0.55;}
|
||||
line|z16[highway=secondary],
|
||||
line|z16[highway=secondary_link]
|
||||
{width: 6.5;casing-width: 0.8}
|
||||
{width: 6.5;casing-width: 0.8;}
|
||||
line|z17[highway=secondary],
|
||||
line|z17[highway=secondary_link]
|
||||
{width: 10.5;casing-width: 0.9}
|
||||
{width: 10.5;casing-width: 0.9;}
|
||||
line|z18[highway=secondary],
|
||||
line|z18[highway=secondary_link]
|
||||
{width: 16;casing-width: 1.1}
|
||||
{width: 16;casing-width: 1.1;}
|
||||
line|z19-[highway=secondary],
|
||||
line|z19-[highway=secondary_link]
|
||||
{width: 24;casing-width: 1.3}
|
||||
{width: 24;casing-width: 1.3;}
|
||||
|
||||
/* 5.2 Secondary tunnel 16-22 ZOOM */
|
||||
|
||||
|
@ -599,7 +599,7 @@ line|z15-[highway=residential_link],
|
|||
line|z15-[highway=tertiary_link],
|
||||
{color: @residential; opacity: 1;casing-linecap: butt; casing-color:@casing_road;}
|
||||
line|z16-[highway=tertiary][tunnel?],
|
||||
line|z16-[highway=residential][tunnel?]
|
||||
line|z16-[highway=residential][tunnel?],
|
||||
line|z16-[highway=tertiary_link][tunnel?],
|
||||
line|z16-[highway=residential_link][tunnel?],
|
||||
{color: @tertiary_tunnel;casing-width: 1;casing-linecap: butt;casing-color: @tertiary_tunnel_casing;}
|
||||
|
@ -624,19 +624,19 @@ line|z14[highway=tertiary]
|
|||
{width: 3.3;}
|
||||
line|z15[highway=tertiary],
|
||||
line|z15[highway=tertiary_link]
|
||||
{width: 5;casing-width: 0.45}
|
||||
{width: 5;casing-width: 0.45;}
|
||||
line|z16[highway=tertiary],
|
||||
line|z16[highway=tertiary_link]
|
||||
{width: 7.5;casing-width: 0.55}
|
||||
{width: 7.5;casing-width: 0.55;}
|
||||
line|z17[highway=tertiary],
|
||||
line|z17[highway=tertiary_link]
|
||||
{width: 10;casing-width: 0.75}
|
||||
{width: 10;casing-width: 0.75;}
|
||||
line|z18[highway=tertiary],
|
||||
line|z18[highway=tertiary_link]
|
||||
{width: 15;casing-width: 0.9}
|
||||
{width: 15;casing-width: 0.9;}
|
||||
line|z19-[highway=tertiary],
|
||||
line|z19-[highway=tertiary_link]
|
||||
{width: 21;casing-width: 1.1}
|
||||
{width: 21;casing-width: 1.1;}
|
||||
|
||||
|
||||
|
||||
|
@ -650,24 +650,24 @@ line|z14[highway=residential],
|
|||
{width: 2.2;}
|
||||
line|z15[highway=residential],
|
||||
line|z15[highway=residential_link],
|
||||
{width: 4.8;casing-width: 0.45}
|
||||
{width: 4.8;casing-width: 0.45;}
|
||||
line|z16[highway=residential],
|
||||
line|z16[highway=residential_link],
|
||||
{width: 7;casing-width: 0.55}
|
||||
{width: 7;casing-width: 0.55;}
|
||||
line|z17[highway=residential],
|
||||
line|z17[highway=residential_link],
|
||||
{width: 13;casing-width: 0.75}
|
||||
{width: 13;casing-width: 0.75;}
|
||||
line|z18[highway=residential],
|
||||
line|z18[highway=residential_link],
|
||||
{width: 17;casing-width: 0.9}
|
||||
{width: 17;casing-width: 0.9;}
|
||||
line|z19-[highway=residential],
|
||||
line|z19-[highway=residential_link],
|
||||
{width: 22;casing-width: 1.1}
|
||||
{width: 22;casing-width: 1.1;}
|
||||
|
||||
/* 6.2 Residential & Tertiary tunnel 16-22 ZOOM */
|
||||
|
||||
line|z16-[highway=tertiary][tunnel?],
|
||||
line|z16-[highway=residential][tunnel?]
|
||||
line|z16-[highway=residential][tunnel?],
|
||||
line|z16-[highway=tertiary_link][tunnel?],
|
||||
line|z16-[highway=residential_link][tunnel?],
|
||||
{casing-dashes: 5,5;}
|
||||
|
@ -806,7 +806,7 @@ line|z13-[highway=construction],
|
|||
line|z13-[highway=proposed]
|
||||
{color: @construction;opacity: 1;}
|
||||
line|z13-[highway=pedestrian][bridge?]::bridgewhite,
|
||||
line|z13-[highway=footway][bridge?]::bridgewhite
|
||||
line|z13-[highway=footway][bridge?]::bridgewhite,
|
||||
line|z16-[highway=steps][bridge?]::bridgewhite,
|
||||
line|z16-[highway=road][bridge?]::bridgewhite,
|
||||
line|z16-[highway=service][bridge?]::bridgewhite
|
||||
|
@ -1045,7 +1045,7 @@ line|z15-[aeroway=taxiway]
|
|||
|
||||
line|z11-[railway=rail],
|
||||
line|z11-[railway=yard],
|
||||
line|z12-[railway=funicular]
|
||||
line|z12-[railway=funicular],
|
||||
line|z13-[railway=light_rail],
|
||||
line|z14-[railway=monorail],
|
||||
line|z15-[railway=narrow_gauge],
|
||||
|
|
|
@ -59,7 +59,7 @@ line[railway=abandoned]
|
|||
line[highway=bridleway]
|
||||
{z-index: 590;}
|
||||
|
||||
line[highway=track]
|
||||
line[highway=track],
|
||||
line[highway=raceway],
|
||||
line[leisure=track],
|
||||
line[highway=path],
|
||||
|
|
|
@ -59,7 +59,7 @@ area::* {
|
|||
*[craft],
|
||||
*[internet_access],
|
||||
{
|
||||
text-position: center
|
||||
text-position: center;
|
||||
}
|
||||
area[aeroway],
|
||||
area[tourism]
|
||||
|
|
Loading…
Add table
Reference in a new issue