diff options
Diffstat (limited to 'data/styles/ink.mapcss')
-rw-r--r-- | data/styles/ink.mapcss | 447 |
1 files changed, 11 insertions, 436 deletions
diff --git a/data/styles/ink.mapcss b/data/styles/ink.mapcss index 6b2d287d71..83aa2a5d80 100644 --- a/data/styles/ink.mapcss +++ b/data/styles/ink.mapcss @@ -231,15 +231,6 @@ line|z9[boundary=administrative][admin_level=4]::d2p2 width: 1.2; -x-kot-layer: top; } -area|z12-[aeroway=aerodrome], -area|z12-[aeroway=airport], -area|z12-[aeroway=aerodrome], -node|z12-[aeroway=aerodrome], -node|z12-[aeroway=airport], -node|z12-[aeroway=aerodrome] -{ - icon-image: symbols/airport.svg; -} line|z9[boundary=administrative][admin_level=4] { color: #909090; @@ -592,11 +583,6 @@ line|z12[boundary=administrative][border_type=country] z-index: 415; -x-kot-layer: top; } -area|z12-[natural=volcano], -node|z12-[natural=volcano] -{ - icon-image: symbols/vulcan.svg; -} area|z13-[landuse=farmyard], area|z12-[man_made=wastewater_plant] { @@ -647,12 +633,7 @@ area|z12-[natural=land] { fill-color: #f8f8f8; } -area|z12-13[natural=peak], -node|z12-13[natural=peak] -{ - icon-image: symbols/peak-mini.svg; -} -area|z14-[natural=lake], +area|z12-[natural=lake], area|z12-14[natural=pond], node|z14-[natural=lake], node|z12-14[natural=pond] @@ -1078,22 +1059,11 @@ line|z14[railway=abandoned]::d1p3 z-index: 300; dashes: 4.5,4.5; } -area|z14-[natural=peak], -node|z14-[natural=peak] -{ - icon-image: symbols/peak.svg; -} area|z14-[man_made=pier] { fill-color: #f1eee8; z-index: 488; } -area|z16-[amenity=ferry_terminal], -node|z16-[amenity=ferry_terminal] -{ - icon-image: symbols/slipway.svg; -} - line|z14[man_made=pier]::d1p3 { color: #e4e4e4; @@ -1108,11 +1078,6 @@ line|z14[railway=narrow_gauge]::d1p3 dashes: 5.5,5.5; linecap: butt; } -area|z14-[natural=cave_entrance], -node|z14-[natural=cave_entrance] -{ - icon-image: symbols/cave_entrance.svg; -} line|z14[railway=monorail]::d1p2 { color: #d08080; @@ -1149,11 +1114,6 @@ line|z14[railway=construction]::d1p3 dashes: 1.5,1.5,1.5,4.5; linecap: butt; } -area|z14-[power=generator][generator:type=photovoltaic], -node|z14-[power=generator][generator:type=photovoltaic] -{ - icon-image: symbols/power_photovoltaic.svg; -} line|z14-[railway=rail], node|z16-[aerialway=station] { @@ -1172,11 +1132,6 @@ line|z14[piste:lift=j-bar]::d2p2 color: #202020; width: 0.4; } -area|z14-[earthquake:damage=spontaneous_camp], -node|z14-[earthquake:damage=spontaneous_camp] -{ - icon-image: symbols/earthquakeCamp.svg; -} line|z14[railway=construction] { color: #606060; @@ -1269,11 +1224,6 @@ line|z14[man_made=cutline] { casing-width: 2; } -area|z14-[amenity=shelter], -node|z14-[amenity=shelter] -{ - icon-image: symbols/shelter.svg; -} line|z14[railway=siding] { color: #909090; @@ -1456,11 +1406,6 @@ line|z14[boundary=administrative][border_type=county] z-index: 529; dashes: 4,20; } -area|z14-[power=generator], -node|z14-[power=generator] -{ - icon-image: symbols/power_generic.svg; -} line|z12-[mapswithme=grid] { color: #202020; @@ -1530,11 +1475,6 @@ line|z14[railway=preserved] width: 2.4; z-index: 200; } -area|z14-[power=generator][power_source=hydro], -node|z14-[power=generator][power_source=hydro] -{ - icon-image: symbols/power_hydro.svg; -} line|z14[railway=light_rail]::d1p3 { color: #095909; @@ -1565,11 +1505,6 @@ line|z14[railway=narrow_gauge] width: 2.4; z-index: 199; } -area|z16-[power=tower], -node|z16-[power=tower] -{ - icon-image: symbols/power-tower.svg; -} area|z14-[natural=beach] { fill-color: #eecc55; @@ -1594,11 +1529,6 @@ line|z14[waterway=ditch] width: 0.3; z-index: 104; } -area|z14-[power=generator][power_source=wind], -node|z14-[power=generator][power_source=wind] -{ - icon-image: symbols/power_wind.svg; -} line|z14[piste:lift=t-bar]::d2p3 { color: #202020; @@ -1808,13 +1738,6 @@ line|z15[waterway=canal] color: #2; width: 4; } -area|z15-[tourism=viewpoint], -node|z15-[tourism=viewpoint], -area|z15-[tourism=artwork], -node|z15-[tourism=artwork] -{ - icon-image: symbols/viewpoint.svg; -} line|z15[railway=siding]::d1p2 { color: #e6e6e6; @@ -1905,11 +1828,6 @@ line|z15[railway=rail]::d1p4 width: 2.4; z-index: 386; } -area|z15-[aeroway=helipad], -node|z15-[aeroway=helipad] -{ - icon-image: symbols/helipad.svg; -} line|z15[boundary=administrative][admin_level=8] { color: #f9574b; @@ -2333,18 +2251,6 @@ line|z15[boundary=administrative][border_type=country] z-index: 691; -x-kot-layer: top; } -area|z15-[amenity=fuel], -node|z15-[amenity=fuel] -{ - icon-image: symbols/petrolStation.svg; -} -/* -area|z15-[leisure=nature_reserve], -node|z15-[leisure=nature_reserve] -{ - icon-image: symbols/bird.svg; -} -*/ area|z15-[building] { fill-color: #3; @@ -2393,11 +2299,6 @@ line|z16[communication=line] dashes: 8,4; linecap: butt; } -area|z16-[amenity=bureau_de_change], -node|z16-[amenity=bureau_de_change] -{ - icon-image: symbols/bureau_de_change.svg; -} line|z16[boundary=administrative][admin_level=5] { color: #f9574b; @@ -2449,11 +2350,6 @@ line|z16[railway=spur] width: 2.4; z-index: 547; } -area|z16-[amenity=restaurant], -node|z16-[amenity=restaurant] -{ - icon-image: symbols/restaurant.svg; -} line|z16[railway=funicular] { color: #4c0f0f; @@ -2507,11 +2403,6 @@ line|z16[boundary=administrative][admin_level=10] z-index: 927; dashes: 4,20; } -area|z17-[amenity=atm], -node|z17-[amenity=atm] -{ - icon-image: symbols/atm.svg; -} line|z16[railway=light_rail]::d1p3 { color: #0f4c0f; @@ -2520,21 +2411,6 @@ line|z16[railway=light_rail]::d1p3 dashes: 9.6,14.4; linecap: butt; } -/* -area|z17-[military=bunker], -area|z16-[historic=battlefield], -node|z17-[military=bunker], -node|z16-[historic=battlefield] -{ - icon-image: symbols/cannon.svg; -} - -area|z16-[amenity=hunting_stand], -node|z16-[amenity=hunting_stand] -{ - icon-image: symbols/hunting_closed_high.svg; -} -*/ line|z16[waterway=dam] { color: #202020; @@ -2563,11 +2439,6 @@ line|z16[waterway=drain] casing-width: 0.6; casing-color: #b0b0b0; } -area|z16-[amenity=fast_food], -node|z16-[amenity=fast_food] -{ - icon-image: symbols/fastfood.svg; -} line|z16[boundary=administrative][border_type=country]::d2p2 { color: #f9574b; @@ -2577,11 +2448,6 @@ line|z16[boundary=administrative][border_type=country]::d2p2 z-index: 945; dashes: 12,12; } -area|z17-[amenity=bench], -node|z17-[amenity=bench] -{ - icon-image: symbols/bench.svg; -} area|z16-[power=pole], node|z16-[power=pole] { @@ -2699,11 +2565,6 @@ node|z16[aerialway=station] symbol-fill-color: #3050d8; symbol-size: 4; } -area|z16-[amenity=bicycle_rental], -node|z16-[amenity=bicycle_rental] -{ - icon-image: symbols/bicycle_rental.svg; -} line|z16[power=minor_line] { color: white; @@ -2711,36 +2572,12 @@ line|z16[power=minor_line] z-index: 862; opacity: 0.5; } -area|z16-[amenity=theatre], -node|z16-[amenity=theatre] -{ - icon-image: symbols/theatre.svg; -} -area|z16-[amenity=embassy], -node|z16-[amenity=embassy] -{ - icon-image: symbols/embassy.svg; -} line|z16[railway=rail]::d1p3 { color: #666666; z-index: 543; width: 4; } -area|z16-[tourism=guest_house], -area|z16-[tourism=hostel], -node|z16-[tourism=guest_house], -node|z16-[tourism=hostel] -{ - icon-image: symbols/hostel.svg; -} -area|z16-[tourism=hotel], -area|z16-[tourism=motel], -node|z16-[tourism=hotel], -node|z16-[tourism=motel] -{ - icon-image: symbols/hotel.svg; -} line|z16[boundary=administrative][border_type=region] { color: #f9574b; @@ -2784,11 +2621,6 @@ line|z16[barrier=hedge] width: 0.4; z-index: 879; } -area|z16-[amenity=restaurant][hotel], -node|z16-[amenity=restaurant][hotel] -{ - icon-image: symbols/hotel_and_restaurant.svg; -} line|z16[boundary=administrative][border_type=county] { color: #f9574b; @@ -2831,11 +2663,6 @@ line|z16[railway=narrow_gauge]::d1p2 width: 2; z-index: 632; } -area|z17-[amenity=toilets], -node|z17-[amenity=toilets], -{ - icon-image: symbols/toilets.svg; -} line|z16[boundary=administrative][border_type=suburb] { color: #f9574b; @@ -2855,11 +2682,6 @@ node|z16-[natural=volcano] font-size: 16; text-color: #202020; } -area|z16-[railway=level_crossing], -node|z16-[railway=level_crossing] -{ - icon-image: symbols/railway-crossing.svg; -} line|z16[barrier=bollard], node|z16[barrier=block], node|z16[barrier=bollard], @@ -2912,11 +2734,6 @@ line|z16[boundary=administrative][type=nation]::d2p2 z-index: 944; dashes: 12,12; } -area|z16-[amenity=fire_station], -node|z16-[amenity=fire_station] -{ - icon-image: symbols/firebrigade.svg; -} line|z16[railway=construction]::d1p3 { color: #606060; @@ -2925,13 +2742,6 @@ line|z16[railway=construction]::d1p3 dashes: 4,4,4,12; linecap: butt; } -area|z16[amenity=taxi], -area|z17-[amenity=taxi], -node|z16[amenity=taxi], -node|z17-[amenity=taxi] -{ - icon-image: symbols/taxi.svg; -} line|z16[railway=preserved]::d1p3 { color: #333333; @@ -2954,13 +2764,6 @@ line|z16[power=minor_line]::d1p3 dashes: 8,4; linecap: butt; } -/* -area|z16-[amenity=fountain], -node|z16-[amenity=fountain] -{ - icon-image: symbols/fountain.svg; -} -*/ line|z16[barrier=wall] { color: #2; @@ -2980,22 +2783,12 @@ line|z16[railway=siding] width: 2.4; z-index: 549; } -area|z16-[amenity=car_rental], -node|z16-[amenity=car_rental] -{ - icon-image: symbols/car_rental.svg; -} line|z16[railway=siding]::d1p2 { color: #e6e6e6; width: 1.2; z-index: 640; } -area|z17-[amenity=drinking_water], -node|z17-[amenity=drinking_water] -{ - icon-image: symbols/drinking_water.svg; -} line|z16[man_made=breakwater] { color: #707070; @@ -3008,20 +2801,6 @@ line|z16[railway=funicular]::d1p3 width: 0.6; z-index: 651; } -area|z16-[amenity=marketplace], -node|z16-[amenity=marketplace] -{ - icon-image: symbols/supermarket.svg; -} -area|z16[amenity=pharmacy], -area|z16-[amenity=doctors], -area|z17-[amenity=pharmacy], -node|z16[amenity=pharmacy], -node|z16-[amenity=doctors], -node|z17-[amenity=pharmacy] -{ - icon-image: symbols/pharmacy.svg; -} line|z16[aerialway=cable_car] { color: #202020; @@ -3047,11 +2826,6 @@ line|z16[waterway=stream] color: #B9D4D4; width: 2; } -area|z16-[amenity=place_of_worship], -node|z16-[amenity=place_of_worship] -{ - icon-image: symbols/religion.svg; -} line|z16[barrier=retaining_wall] { color: #b0b0b0; @@ -3063,28 +2837,6 @@ line|z16[waterway=river] color: #0; width: 8; } -area|z16-[railway=crossing], -node|z16-[railway=crossing] -{ - icon-image: symbols/railway-crossing-small.svg; -} -area|z16-[barrier=lift_gate], -node|z16-[barrier=lift_gate] -{ - icon-image: symbols/barrier.svg; -} -area|z16-[amenity=bar], -area|z16-[amenity=nightclub], -node|z16-[amenity=bar], -node|z16-[amenity=nightclub] -{ - icon-image: symbols/bar.svg; -} -area|z16-[historic=ruins], -node|z16-[historic=ruins] -{ - icon-image: symbols/ruins.svg; -} line|z16[man_made=pier] { color: #d0d0d0; @@ -3100,13 +2852,6 @@ line|z16[boundary=administrative][border_type=state] z-index: 941; dashes: 12,4,4,4; } -area|z16-[historic=memorial], -area|z16-[historic=monument], -node|z16-[historic=memorial], -node|z16-[historic=monument] -{ - icon-image: symbols/memorial.svg; -} line|z16[boundary=administrative][admin_level=7] { color: #f9574b; @@ -3170,13 +2915,6 @@ line|z16[railway=abandoned]::d1p2 z-index: 629; opacity: 0.4; } -/* -area|z16-[historic=castle], -node|z16-[historic=castle] -{ - icon-image: symbols/castle.svg; -} -*/ line|z16[waterway=canal] { color: #B9D4D4; @@ -3190,11 +2928,6 @@ line|z16[barrier=hedge] dashes: 0.0,2.0; linecap: butt; } -area|z17-[amenity=police], -node|z17-[amenity=police] -{ - icon-image: symbols/police.svg; -} line|z16[railway=construction] { color: #606060; @@ -3212,11 +2945,6 @@ line|z16[boundary=administrative][border_type=city] z-index: 938; dashes: 12,4,4,4; } -area|z17-[amenity=hospital], -node|z17-[amenity=hospital] -{ - icon-image: symbols/hospital.svg; -} line|z16[waterway=ditch] { color: #B9D4D4; @@ -3229,10 +2957,6 @@ line|z16[railway=construction]::d1p2 width: 2.4; z-index: 625; } -node|z16-[natural=tree] -{ - icon-image: symbols/tree.svg; -} line|z16[boundary=administrative][type=nation] { color: yellow; @@ -3240,12 +2964,6 @@ line|z16[boundary=administrative][type=nation] z-index: 942; -x-kot-layer: top; } -area|z16-[amenity=cafe], -node|z16-[amenity=cafe] -{ - icon-image: symbols/cafe.svg; - z-index: 1; -} line|z16[man_made=pipeline] { color: white; @@ -3253,13 +2971,6 @@ line|z16[man_made=pipeline] z-index: 874; opacity: 0.5; } -/* -area|z16-[amenity=car_sharing], -node|z16-[amenity=car_sharing] -{ - icon-image: symbols/car_sharing.svg; -} -*/ line|z16[waterway=weir] { color: #000044; @@ -3276,22 +2987,6 @@ line|z16[railway=preserved] color: #909090; width: 3.2; } -area|z16-[amenity=cinema], -node|z16-[amenity=cinema] -{ - icon-image: symbols/cinema.svg; -} -/* -area|z16-[historic=archaeological_site], -area|z16-[historic=museum], -area|z16-[tourism=museum], -node|z16-[historic=archaeological_site], -node|z16-[historic=museum], -node|z16-[tourism=museum] -{ - icon-image: symbols/museum.svg; -} -*/ line|z16[barrier=retaining_wall] { color: #b0b0b0; @@ -3323,11 +3018,6 @@ line|z16[boundary=administrative][admin_level=9] z-index: 928; dashes: 12,12; } -area|z16-[amenity=post_office], -node|z16-[amenity=post_office] -{ - icon-image: symbols/postoffice.svg; -} line|z16[aerialway=mixed_lift] { color: #202020; @@ -3354,11 +3044,6 @@ line|z16[railway=yard]::raildash dashes: 8,16; linecap: butt; } -area|z16-[amenity=library], -node|z16-[amenity=library], -{ - icon-image: symbols/library.svg; -} line|z16[aerialway=gondola] { color: #202020; @@ -3436,11 +3121,6 @@ line|z17-[communication=line]::d1p2 dashes: 8,4; linecap: butt; } -area|z17-[leisure=playground], -node|z17-[leisure=playground] -{ - icon-image: symbols/playground.svg; -} line|z17-[railway=razed]::d1p3 { opacity: 0.3; @@ -3559,16 +3239,6 @@ line|z17-[waterway=river] color: #0; width: 16; } -area|z14-[tourism=camp_site], -node|z14-[tourism=camp_site] -{ - icon-image: symbols/campSite.svg; -} -area|z17-[leisure=slipway], -node|z17-[leisure=slipway] -{ - icon-image: symbols/slipway.svg; -} line|z17-[boundary=administrative][border_type=country]::d2p2 { color: #f9574b; @@ -3679,13 +3349,6 @@ line|z17-[railway=preserved]::d1p2 width: 2; z-index: 666; } -area|z17-[amenity=college], -area|z17-[amenity=university], -node|z17-[amenity=college], -node|z17-[amenity=university] -{ - icon-image: symbols/university.svg; -} line|z17-[boundary=administrative][border_type=city] { color: #f9574b; @@ -3715,11 +3378,6 @@ line|z17-[aerialway=chair_lift] color: #202020; width: 3.2; } -area|z17-[tourism=picnic_site], -node|z17-[tourism=picnic_site] -{ - icon-image: symbols/picnic.svg; -} area|z17-[railway=platform], line|z17-[railway=platform] { @@ -3740,13 +3398,6 @@ line|z17-[communication=line][location=underground] dashes: 1.2,2,1.2,2,1.2,4.4; linecap: butt; } -/* -area|z17-[man_made=windmill], -node|z17-[man_made=windmill] -{ - icon-image: symbols/windmill.svg; -} -*/ line|z17-[boundary=administrative][admin_level=11] { color: #f9574b; @@ -3764,11 +3415,6 @@ line|z17-[railway=siding]::d1p3 dashes: 7.2,16.8; linecap: butt; } -area|z17-[amenity=kindergarten], -node|z17-[amenity=kindergarten] -{ - icon-image: symbols/kindergarten2.svg; -} line|z17-[route=ferry] { color: #a8c8d8; @@ -3819,11 +3465,6 @@ line|z17-[man_made=pier]::d1p3 width: 2.4; z-index: 916; } -area|z17-[tourism=information][information=guidepost], -node|z17-[tourism=information][information=guidepost] -{ - icon-image: symbols/information-guidepost.svg; -} line|z16-[barrier=fence] { color: #3; @@ -4193,75 +3834,6 @@ area|z15-[railway=station][!transport] z-index: 170; } -/* POI icons */ - -area|z17-[tourism=information][office], -node|z17-[tourism=information][office] -{ - icon-image: symbols/information-office.svg; -} -area|z17-[barrier=gate], -node|z17-[barrier=gate] -{ - icon-image: symbols/gate.svg; -} -/* -area|z17-[man_made=lighthouse], -node|z17-[man_made=lighthouse] -{ - icon-image: symbols/lighthouse.svg; -} -*/ -area|z17-[tourism=information], -node|z17-[tourism=information] -{ - icon-image: symbols/information.svg; -} - -area|z17-[amenity=post_box], -node|z17-[amenity=post_box] -{ - icon-image: symbols/postbox.svg; -} -area|z16-[amenity=bank], -node|z16-[amenity=bank] -{ - icon-image: symbols/bank.svg; - z-index: 5; -} -area|z16-[amenity=pub], -node|z16-[amenity=pub] -{ - icon-image: symbols/pub.svg; -} - -node|z17-[amenity=recycling] -{ - icon-image: symbols/recycling.svg; -} -node|z16-[amenity=telephone] -{ - icon-image: symbols/telephone.svg; -} -area|z17-[amenity=school], -node|z17-[amenity=school] -{ - icon-image: symbols/school.svg; -} - -area|z14-16[railway=halt], -node|z14-16[railway=halt] -{ - icon-image: symbols/railway-station-mini.svg; - z-index: 150; -} - -area|z17-[railway=halt], -node|z17-[railway=halt] -{ - icon-image: symbols/railway-station.svg; -} - /* Eval magic */ line[waterway] @@ -4469,12 +4041,7 @@ line[highway=steps] } -*[amenity!=bench][natural!=tree][!barrier][railway!=subway_entrance][!power][natural!=peak] -{ - symbol-shape: eval(cond(prop("icon-image"), "circle", "")); - symbol-size: 13; - symbol-fill-color: #f; -} + node|z14[railway=station][transport=subway] { symbol-size: 11; @@ -4538,4 +4105,12 @@ area|z15-[area:highway=steps] @import("include/icons_maki.mapcss"); @import("include/icons_nori.mapcss"); -* {icon-fill-color: black}
\ No newline at end of file +@import("include/icons_neta.mapcss"); +* {icon-fill-color: black} + +*[amenity!=bench][natural!=tree][!barrier][railway!=subway_entrance][!power][natural!=peak] +{ + symbol-shape: eval(cond(prop("icon-image"), "circle", "")); + symbol-size: 13; + symbol-fill-color: #f; +}
\ No newline at end of file |