Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
544
data/styles/vehicle/include/Basemap.mapcss
Normal file
544
data/styles/vehicle/include/Basemap.mapcss
Normal file
|
|
@ -0,0 +1,544 @@
|
|||
/* ~~~~ CONTENT OF BASEMAP ~~~~~
|
||||
|
||||
1.Z-INDEX of BASEMAP
|
||||
2.LAND
|
||||
3.BOUNDARY
|
||||
3.1 Countries
|
||||
3.2 Region
|
||||
4.VEGETATION
|
||||
5.BEACH, GLACIER, DESERT, etc.
|
||||
6.WATER
|
||||
6.1 Area water(lake,pond etc.)
|
||||
6.2 Line water(river,canal etc.)
|
||||
7.LANDUSE
|
||||
7.1 Industrial
|
||||
7.2 Hostital
|
||||
7.3 University & Sport
|
||||
7.4 Cemetry
|
||||
7.5 Pedestrian areas
|
||||
7.6 Airports
|
||||
7.7 Religion
|
||||
7.8 Agricultural
|
||||
8.BUILDINGS
|
||||
8.1 Pier, dam, cutline
|
||||
8.2 Building
|
||||
8.3 Barriers, cliffs
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
|
||||
/* 2.LAND */
|
||||
|
||||
area|z0-[natural=coastline],
|
||||
area|z0-[natural=land],
|
||||
area|z10-[place=islet]
|
||||
{fill-opacity: 1;}
|
||||
|
||||
area|z0-[natural=coastline]
|
||||
{fill-color: @water;}
|
||||
|
||||
area|z0-[natural=land],
|
||||
area|z10-[place=islet]
|
||||
{fill-color: @background;}
|
||||
|
||||
/* 3.BOUNDARIES */
|
||||
|
||||
line|z2-[boundary=administrative]
|
||||
{color: @border_country; opacity: 0.7;}
|
||||
|
||||
line|z4[boundary=administrative][admin_level=3],
|
||||
line|z5-[boundary=administrative][admin_level=4]
|
||||
{color: @border_region; opacity: 0.7;}
|
||||
|
||||
/* 3.1 Country */
|
||||
|
||||
line|z2[boundary=administrative][admin_level=2]
|
||||
{width: 0.5; opacity: 0.5;}
|
||||
line|z3[boundary=administrative][admin_level=2]
|
||||
{width: 0.5; opacity: 0.6;}
|
||||
line|z4[boundary=administrative][admin_level=2]
|
||||
{width: 0.6;}
|
||||
line|z5[boundary=administrative][admin_level=2]
|
||||
{width: 0.8;}
|
||||
line|z6[boundary=administrative][admin_level=2]
|
||||
{width: 0.85;}
|
||||
line|z7[boundary=administrative][admin_level=2]
|
||||
{width: 1;}
|
||||
line|z8[boundary=administrative][admin_level=2]
|
||||
{width: 1.1;}
|
||||
line|z9-[boundary=administrative][admin_level=2]
|
||||
{width: 1.4;}
|
||||
|
||||
/* 3.2 Region */
|
||||
|
||||
line|z4[boundary=administrative][admin_level=3]
|
||||
{width: 0.8; dashes: 0.9,0.4;}
|
||||
|
||||
line|z5[boundary=administrative][admin_level=4]
|
||||
{width: 0.7; opacity: 0.8; dashes: 1.3,0.9;}
|
||||
line|z6[boundary=administrative][admin_level=4]
|
||||
{width: 0.8; dashes: 1.3,0.9;}
|
||||
line|z7-[boundary=administrative][admin_level=4]
|
||||
{width: 0.9; dashes: 1.8,0.9;}
|
||||
line|z9[boundary=administrative][admin_level=4]
|
||||
{width: 1;}
|
||||
line|z10-[boundary=administrative][admin_level=4]
|
||||
{width: 1.2;}
|
||||
|
||||
|
||||
/* 4.VEGETATION */
|
||||
|
||||
area|z10-[landuse=forest],
|
||||
area|z10-[leisure=park],
|
||||
area|z12-[leisure=garden],
|
||||
area|z12-[landuse=grass],
|
||||
area|z12-[natural=grassland],
|
||||
area|z12-[leisure=golf_course],
|
||||
area|z12-[leisure=miniature_golf],
|
||||
area|z12-[natural=heath],
|
||||
area|z12-[landuse=allotments],
|
||||
area|z12-[natural=scrub],
|
||||
area|z12-[landuse=orchard],
|
||||
area|z12-[landuse=vineyard],
|
||||
area|z12-[landuse=meadow],
|
||||
area|z12-[landuse=recreation_ground],
|
||||
area|z12-[landuse=village_green],
|
||||
{fill-opacity: 1;}
|
||||
|
||||
area|z10[landuse=forest],
|
||||
area|z12-[landuse=grass],
|
||||
area|z12-[natural=grassland],
|
||||
area|z12-[leisure=miniature_golf],
|
||||
area|z12-[leisure=golf_course],
|
||||
area|z12-[natural=heath],
|
||||
area|z12-[landuse=allotments],
|
||||
area|z12-[natural=scrub],
|
||||
area|z12-[landuse=orchard],
|
||||
area|z12-[landuse=vineyard],
|
||||
area|z12-[landuse=meadow],
|
||||
area|z12-[landuse=recreation_ground],
|
||||
area|z12-[landuse=village_green],
|
||||
{fill-color: @green1;}
|
||||
|
||||
area|z11-12[landuse=forest],
|
||||
area|z11-12[leisure=nature_reserve],
|
||||
area|z10-12[leisure=park],
|
||||
area|z12[leisure=garden],
|
||||
{fill-color: @green2;}
|
||||
|
||||
area|z13[landuse=forest],
|
||||
area|z13[leisure=nature_reserve],
|
||||
area|z13[leisure=park],
|
||||
area|z13[leisure=garden]
|
||||
{fill-color: @green3;}
|
||||
|
||||
area|z14[landuse=forest],
|
||||
area|z14[leisure=nature_reserve],
|
||||
area|z14[leisure=park],
|
||||
area|z14[leisure=garden]
|
||||
{fill-color: @green4;}
|
||||
|
||||
area|z15[landuse=forest],
|
||||
area|z15[leisure=nature_reserve],
|
||||
area|z15[leisure=park],
|
||||
area|z15[leisure=garden]
|
||||
{fill-color: @green5;}
|
||||
|
||||
area|z16-[landuse=forest],
|
||||
area|z16-[leisure=nature_reserve],
|
||||
area|z16-[leisure=park],
|
||||
area|z16-[leisure=garden]
|
||||
{fill-color: @forest;}
|
||||
|
||||
area|z12-[leisure=garden][garden:type=residential],
|
||||
{fill-color: @green0;}
|
||||
area|z16-[leisure=garden][garden:type=residential],
|
||||
{fill-color: @green1;}
|
||||
area|z17-[leisure=garden][garden:type=residential],
|
||||
{fill-color: @green2;}
|
||||
|
||||
area|z12-[natural=bare_rock],
|
||||
{fill-color: @barerock;}
|
||||
|
||||
/* Next types are hardcoded to have a hatching-style fill, see drape_frontend/stylist.cpp */
|
||||
area|z10-[leisure=nature_reserve],
|
||||
area|z10-[boundary=national_park],
|
||||
area|z10-[boundary=protected_area][protect_class=1],
|
||||
{fill-opacity: 0.2; fill-color: @green6;}
|
||||
|
||||
area|z10-[landuse=military][military=danger_area],
|
||||
{fill-opacity: 1.0; fill-color: @military;}
|
||||
|
||||
area|z12-[landuse=military]
|
||||
{fill-opacity: 0.5; fill-color: @military;}
|
||||
|
||||
area|z12-[amenity=prison]
|
||||
{fill-opacity: 0.5; fill-color: @prison;}
|
||||
/* End of hardcoded */
|
||||
|
||||
/* 5.BEACH, GLACIER, DESERT, etc. */
|
||||
|
||||
area|z0-[natural=glacier],
|
||||
area|z0-[natural=sand],
|
||||
area|z10-[natural=beach],
|
||||
area|z0-[natural=desert],
|
||||
area|z10-[leisure=beach_resort],
|
||||
{fill-opacity: 1;}
|
||||
|
||||
area|z0-[natural=glacier]
|
||||
{fill-color: @glacier;}
|
||||
|
||||
area|z10-[natural=beach],
|
||||
area|z10-[leisure=beach_resort],
|
||||
{fill-color: @beach;fill-opacity: 0.35;}
|
||||
|
||||
area|z0-[natural=desert],
|
||||
area|z0-[natural=sand],
|
||||
{fill-color: @desert;}
|
||||
|
||||
/* 6.WATER */
|
||||
|
||||
area|z0-[natural=water],
|
||||
area|z0-[waterway=dock],
|
||||
area|z0-[landuse=salt_pond],
|
||||
area|z12-[landuse=basin],
|
||||
area|z12-[landuse=reservoir],
|
||||
{fill-opacity: 1;}
|
||||
|
||||
area|z11-[natural=wetland],
|
||||
area|z13-[leisure=swimming_pool],
|
||||
{fill-opacity: 1;}
|
||||
|
||||
line|z10-[waterway=river],
|
||||
line|z13-[waterway=stream],
|
||||
line|z13-[waterway=canal],
|
||||
line|z13-[natural=strait],
|
||||
{opacity: 0.6; color: @river;}
|
||||
|
||||
/* 6.1 Area water(lake,pond etc.) */
|
||||
|
||||
area|z0-[natural=water][!tunnel],
|
||||
area|z0-[landuse=salt_pond],
|
||||
area|z0-[waterway=dock],
|
||||
area|z12-[landuse=basin],
|
||||
area|z12-[landuse=reservoir],
|
||||
area|z13-[leisure=swimming_pool],
|
||||
{fill-color: @water;}
|
||||
|
||||
area|z0-[natural=water][water=ditch],
|
||||
area|z0-[natural=water][water=drain],
|
||||
area|z0-[natural=water][water=wastewater],
|
||||
{fill-color: none;}
|
||||
|
||||
area|z13-[natural=water][water=ditch],
|
||||
area|z13-[natural=water][water=drain],
|
||||
area|z12-[natural=water][water=wastewater],
|
||||
{fill-color: @water_bad;fill-opacity: 1;}
|
||||
|
||||
area|z11-[natural=wetland],
|
||||
{fill-color: @wetland;fill-opacity: 1;}
|
||||
|
||||
/* 6.2 Line water(river,canal etc.) */
|
||||
|
||||
line|z10[waterway=river],
|
||||
{width: 1;}
|
||||
|
||||
line|z11-12[waterway=river],
|
||||
{width: 1.2;}
|
||||
|
||||
line|z13[waterway=river],
|
||||
{width: 1.6;}
|
||||
/*line|z13[waterway=stream],
|
||||
line|z13[waterway=canal],
|
||||
line|z13[natural=strait],
|
||||
{width: 0.7;}
|
||||
line|z13[waterway=stream][intermittent=yes]
|
||||
{width: 0.7;dashes: 2.7,2.7;}*/
|
||||
|
||||
line|z14[waterway=river],
|
||||
{width: 1.8;}
|
||||
/*line|z14[waterway=stream],
|
||||
line|z14[waterway=canal],
|
||||
line|z14[natural=strait],
|
||||
{width: 1;}
|
||||
line|z14[waterway=stream][intermittent=yes]
|
||||
{width: 1;dashes: 2.7,2.7;}*/
|
||||
|
||||
line|z15-[waterway=river],
|
||||
{width: 2.2;}
|
||||
/*line|z15-[waterway=stream],
|
||||
line|z15-[waterway=canal],
|
||||
line|z15-[natural=strait],
|
||||
{width: 1.6;}
|
||||
line|z15-[waterway=stream][intermittent=yes]
|
||||
{width: 1.4;dashes: 4.95,4.95;}*/
|
||||
|
||||
node|z16-[waterway=lock_gate],
|
||||
{icon-image: dot-m.svg;}
|
||||
|
||||
/* Do not draw tunnel waterways */
|
||||
|
||||
line[waterway][tunnel]
|
||||
{width: 0;}
|
||||
|
||||
/* 7.LANDUSE */
|
||||
|
||||
area|z10-[aeroway=aerodrome][aerodrome=international],
|
||||
area|z10-[aeroway=aerodrome],
|
||||
area|z14-[amenity=hospital],
|
||||
area|z14-[amenity=doctors],
|
||||
area|z14-[highway=pedestrian][area?],
|
||||
area|z14-[area:highway=pedestrian],
|
||||
area|z14-[highway=footway][area?],
|
||||
area|z14-[area:highway=footway],
|
||||
area|z14-[area:highway=living_street],
|
||||
area|z14-[amenity=grave_yard],
|
||||
area|z14-[landuse=cemetery],
|
||||
area|z14-[amenity=university],
|
||||
area|z15-[leisure=stadium],
|
||||
area|z15-[amenity=parking],
|
||||
area|z15-[amenity=car_pooling],
|
||||
{fill-opacity: 1;}
|
||||
|
||||
/* 7.1 Industrial */
|
||||
|
||||
area|z15-[landuse=industrial],
|
||||
area|z15-[man_made=works],
|
||||
area|z15-[landuse=landfill],
|
||||
area|z15-[amenity=waste_transfer_station],
|
||||
area|z15-[landuse=railway],
|
||||
area|z15-[landuse=quarry],
|
||||
area|z15-[power=plant],
|
||||
area|z15-[power=substation],
|
||||
area|z15-[power=generator],
|
||||
{fill-opacity: 1; fill-color: @industrial;}
|
||||
|
||||
area|z15-[landuse=construction],
|
||||
{fill-opacity: 1; fill-color: @construction_area;}
|
||||
|
||||
/* 7.2 Hospital */
|
||||
|
||||
|
||||
|
||||
/* 7.3 University & Sport */
|
||||
|
||||
|
||||
|
||||
|
||||
area|z15-[leisure=stadium],
|
||||
{fill-color: @sport;fill-opacity: 1;}
|
||||
|
||||
/* 7.4 Cemetery */
|
||||
|
||||
area|z14[landuse=cemetery],
|
||||
area|z14[amenity=grave_yard]
|
||||
{fill-color: @green2;fill-opacity: 1;}
|
||||
|
||||
area|z15-[amenity=grave_yard],
|
||||
area|z15-[landuse=cemetery]
|
||||
{fill-color: @green2;fill-opacity: 1;}
|
||||
|
||||
area|z16-[amenity=grave_yard],
|
||||
area|z16-[landuse=cemetery]
|
||||
{fill-color: @green3;fill-opacity: 1;}
|
||||
|
||||
/* 7.5 Pedestrian areas */
|
||||
|
||||
/* Generic amenities */
|
||||
|
||||
area|z13-[highway=services],
|
||||
area|z13-[highway=rest_area],
|
||||
area|z13-[landuse=garages],
|
||||
|
||||
area|z15-[amenity=charging_station][motorcar?],
|
||||
area|z15-[amenity=fuel],
|
||||
area|z17-[amenity=vehicle_inspection],
|
||||
area|z17-[amenity=car_wash],
|
||||
area|z17-[amenity=motorcycle_parking],
|
||||
{fill-opacity: 1; fill-color: @general_area;}
|
||||
|
||||
/* 7.6 Airports */
|
||||
|
||||
area|z10[aeroway=aerodrome][aerodrome=international],
|
||||
area|z10[aeroway=aerodrome],
|
||||
{fill-color: @aerodrome0;}
|
||||
area|z11[aeroway=aerodrome][aerodrome=international],
|
||||
area|z11[aeroway=aerodrome],
|
||||
{fill-color: @aerodrome1;}
|
||||
area|z12-[aeroway=aerodrome][aerodrome=international],
|
||||
area|z12-[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome2;}
|
||||
area|z13[aeroway=aerodrome][aerodrome=international],
|
||||
area|z13[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome3;}
|
||||
area|z14[aeroway=aerodrome][aerodrome=international],
|
||||
area|z14[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome4;}
|
||||
area|z15-19[aeroway=aerodrome][aerodrome=international],
|
||||
area|z15-19[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome5;}
|
||||
|
||||
|
||||
/* 7.8 Agricultural */
|
||||
area|z14-[landuse=farmland],
|
||||
{fill-color: @farmland; fill-opacity: 1;}
|
||||
|
||||
area|z14-[landuse=farmyard],
|
||||
{fill-color: @farmyard; fill-opacity: 1;}
|
||||
|
||||
/* Parking */
|
||||
|
||||
area|z15-[amenity=parking],
|
||||
area|z15-[amenity=car_pooling],
|
||||
{fill-color: @parking;fill-opacity: 1;}
|
||||
area|z17-[amenity=parking],
|
||||
area|z17-[amenity=car_pooling],
|
||||
{fill-color: @parking_l;fill-opacity: 1;}
|
||||
|
||||
area|z15-[amenity=parking][location=underground],
|
||||
{fill-color: none;}
|
||||
|
||||
/* 8.BUILDINGS */
|
||||
|
||||
/* 8.1 Pier, dam, areal bridge, cutline */
|
||||
|
||||
area|z13-[man_made=pier],
|
||||
area|z13-[man_made=breakwater],
|
||||
{fill-opacity: 0.7; fill-color: @background;}
|
||||
|
||||
area|z16-[man_made=bridge],
|
||||
{fill-color: @bridge_background; fill-opacity: 0.8;}
|
||||
|
||||
|
||||
line|z15-[man_made=pier],
|
||||
line|z15-[man_made=breakwater],
|
||||
{width: 2; color: @background; opacity: 0.5;}
|
||||
|
||||
line|z15-[waterway=dam],
|
||||
line|z15-[waterway=weir],
|
||||
{width: 2; color: @building1; opacity: 0.4;}
|
||||
|
||||
line|z16[man_made=pier],
|
||||
line|z16[man_made=breakwater],
|
||||
line|z16[waterway=dam],
|
||||
line|z16[waterway=weir],
|
||||
{width: 3;}
|
||||
|
||||
line|z17[man_made=pier],
|
||||
line|z17[man_made=breakwater],
|
||||
line|z17[waterway=dam],
|
||||
line|z17[waterway=weir],
|
||||
{width: 4.5;}
|
||||
|
||||
line|z18[man_made=pier],
|
||||
line|z18[man_made=breakwater],
|
||||
line|z18[waterway=dam],
|
||||
line|z18[waterway=weir],
|
||||
{width: 6;}
|
||||
|
||||
line|z19-[man_made=pier],
|
||||
line|z19-[man_made=breakwater],
|
||||
line|z19-[waterway=dam],
|
||||
line|z19-[waterway=weir],
|
||||
{width: 8;}
|
||||
|
||||
line|z15-[man_made=cutline],
|
||||
{width: 1.5; color: @green0; opacity: 0.3;}
|
||||
line|z16[man_made=cutline],
|
||||
{width: 2;}
|
||||
line|z17[man_made=cutline],
|
||||
{width: 3;}
|
||||
line|z18[man_made=cutline],
|
||||
{width: 4.5;}
|
||||
line|z19-[man_made=cutline],
|
||||
{width: 6;}
|
||||
|
||||
|
||||
/* 8.2 Building */
|
||||
|
||||
area|z15[building],
|
||||
area|z15[waterway=dam],
|
||||
{fill-color: @building0;fill-opacity: 0.65;casing-width: 1;casing-color: @building_border0;}
|
||||
|
||||
area|z14-[aeroway=terminal],
|
||||
area|z16-[building],
|
||||
area|z16-[building:part],
|
||||
area|z16-[waterway=dam],
|
||||
{fill-color: @building0;fill-opacity: 0.55;casing-width: 1;casing-color: @building_border0;}
|
||||
|
||||
|
||||
/* 8.3 Barriers, cliffs */
|
||||
|
||||
line|z17-[barrier=fence],
|
||||
line|z17-[barrier=wall],
|
||||
line|z17-[barrier=yes],
|
||||
{color: @fence; width: 1; opacity: 0.5;}
|
||||
line|z18-[barrier=fence],
|
||||
line|z18-[barrier=wall],
|
||||
line|z18-[barrier=yes],
|
||||
{width: 1.3; opacity:0.6;}
|
||||
|
||||
line|z17-[barrier=guard_rail],
|
||||
{color: @fence; width: 1; opacity: 0.3;}
|
||||
line|z18-[barrier=guard_rail],
|
||||
{width: 1.3; opacity:0.4;}
|
||||
|
||||
line|z18-[barrier=hedge],
|
||||
{color: @hedge; width: 2; opacity: 0.3;}
|
||||
line|z19-[barrier=hedge],
|
||||
{width: 3; opacity: 0.4;}
|
||||
|
||||
|
||||
/*
|
||||
The triangles pattern uses "dashes: " parameter as a 4 values tuple:
|
||||
dash length (===), triangle base (tb), triangle height, base height / dash width.
|
||||
===\tb /=== - base height / dash width
|
||||
\ / | - triangle height
|
||||
|
||||
Set width = triangle height + base height.
|
||||
*/
|
||||
|
||||
line|z15-[barrier=city_wall],
|
||||
line|z15-[historic=citywalls],
|
||||
{color: @building1; width: 2; opacity: 0.7;}
|
||||
line|z16[barrier=city_wall],
|
||||
line|z16[historic=citywalls],
|
||||
{width: 2.8;}
|
||||
line|z17-[barrier=city_wall],
|
||||
line|z17-[historic=citywalls],
|
||||
{color: @building0; width: 4.5; dashes: 3,3,1.5,3;}
|
||||
line|z18[barrier=city_wall],
|
||||
line|z18[historic=citywalls],
|
||||
{width: 5.9; dashes: 4,4,1.9,4;}
|
||||
line|z19-[barrier=city_wall],
|
||||
line|z19-[historic=citywalls],
|
||||
{width: 8.5; dashes: 6,6,2.5,6;}
|
||||
|
||||
|
||||
line|z16-[natural=cliff],
|
||||
line|z16-[natural=earth_bank],
|
||||
{color: @cliff; width: 2; dashes: 1.4,1.4; opacity: 0.4;}
|
||||
line|z17[natural=cliff],
|
||||
line|z17[natural=earth_bank],
|
||||
{width: 3; dashes: 1.5,1.5;}
|
||||
line|z18[natural=cliff],
|
||||
line|z18[natural=earth_bank],
|
||||
{width: 6.2; dashes: 3,3.5,4.5,1.2;}
|
||||
line|z19-[natural=cliff],
|
||||
line|z19-[natural=earth_bank],
|
||||
{width: 7.4; dashes: 3.5,5,6,1.4; opacity: 0.5;}
|
||||
|
||||
|
||||
line|z17-[barrier=ditch],
|
||||
{width: 1.8; opacity: 0.7; color: @cliff; dashes: 0.9,0.9;}
|
||||
|
||||
|
||||
line|z17-[barrier=retaining_wall],
|
||||
{color: @fence; width: 2.4; dashes: 2.8,1.4,1.4,1; opacity: 0.6;}
|
||||
line|z18-[barrier=retaining_wall],
|
||||
{width: 3.2; dashes: 4,2,2,1.2;}
|
||||
|
||||
|
||||
line|z17-[man_made=embankment],
|
||||
{color: @building1; width: 3.5; dashes: 4,2,2,1.5; opacity: 0.6;}
|
||||
line|z18-[man_made=embankment],
|
||||
{width: 5; dashes: 6,3,3,2;}
|
||||
Loading…
Add table
Add a link
Reference in a new issue