Changes between Initial Version and Version 1 of Styles/iD


Ignore:
Timestamp:
2019-05-04T16:22:58+02:00 (7 years ago)
Author:
LeifRasmussen
Comment:

Created the page.

Legend:

Unmodified
Added
Removed
Modified
  • Styles/iD

    v1 v1  
     1/*
     2iD JOSM Paint Style - a modified version of the Main JOSM paint style which renders roads, waterways, landuse, and other features similar to iD.
     3*/
     4
     5meta {
     6    title: "iD";
     7    description: "Renders roads, waterways, landuse, and other features like iD.";
     8    version: "0.1";
     9    author: "Leif Rasmussen";
     10    link: "https://josm.openstreetmap.de/wiki/Styles/iD";
     11    min-josm-version: "7193";
     12    icon: "";
     13}
     14
     15canvas {
     16    default-points: false;
     17}
     18node {
     19    text: auto;
     20}
     21
     22/*************************/
     23/* create style settings */
     24/*************************/
     25
     26setting::hide_icons {
     27  type: boolean;
     28  label: tr("Hide icons at low zoom");
     29  default: true;
     30}
     31
     32setting::shrink_nodes {
     33  type: boolean;
     34  label: tr("Less obtrusive node symbols at low zoom");
     35  default: true;
     36}
     37
     38setting::hide_tagged_waynodes {
     39  type: boolean;
     40  label: tr("Hide tagged waynodes at low zoom");
     41  default: true;
     42}
     43
     44setting::highway_labels {
     45  type: boolean;
     46  label: tr("Display street labels (at high zoom)");
     47  default: true;
     48}
     49
     50setting::alt_turn_icons {
     51  type: boolean;
     52  label: tr("Use alternative turn restriction icon set");
     53  default: false;
     54}
     55
     56setting::place_fill_colour {
     57  type: boolean;
     58  label: tr("Display fill colour of areas with place=*");
     59  default: false;
     60}
     61
     62setting::partial_fill {
     63  type: boolean;
     64  label: tr("Areas are drawn with fill only around their inner edges");
     65  default: true;
     66}
     67
     68/*********************/
     69/* turn restrictions */
     70/*********************/
     71
     72relation[restriction=no_left_turn][!setting("alt_turn_icons")] {
     73    icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg";
     74    set icon_z17;
     75    text: auto;
     76}
     77relation[restriction=no_left_turn][setting("alt_turn_icons")] {
     78    icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg";
     79    set icon_z17;
     80    text: auto;
     81}
     82relation[restriction=no_right_turn][!setting("alt_turn_icons")] {
     83    icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg";
     84    set icon_z17;
     85    text: auto;
     86}
     87relation[restriction=no_right_turn][setting("alt_turn_icons")] {
     88    icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg";
     89    set icon_z17;
     90    text: auto;
     91}
     92relation[restriction=no_straight_on][!setting("alt_turn_icons")] {
     93    icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg";
     94    set icon_z17;
     95    text: auto;
     96}
     97relation[restriction=no_straight_on][setting("alt_turn_icons")] {
     98    icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg";
     99    set icon_z17;
     100    text: auto;
     101}
     102relation[restriction=no_u_turn] {
     103    icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg";
     104    set icon_z17;
     105    text: auto;
     106}
     107relation[restriction=only_left_turn] {
     108    icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg";
     109    set icon_z17;
     110    text: auto;
     111}
     112relation[restriction=only_right_turn] {
     113    icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg";
     114    set icon_z17;
     115    text: auto;
     116}
     117relation[restriction=only_straight_on] {
     118    icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg";
     119    set icon_z17;
     120    text: auto;
     121}
     122node[restriction] {
     123    icon-image: "presets/misc/deprecated.svg";
     124    set icon_z17;
     125    text: auto;
     126}
     127
     128/******************/
     129/* bridge, tunnel */
     130/******************/
     131
     132way[bridge=yes]::core_bridge,
     133way[bridge=viaduct]::core_bridge,
     134way[bridge=swing]::core_bridge,
     135way[bridge=movable]::core_bridge,
     136way[bridge=cantilever]::core_bridge,
     137way[bridge=covered]::core_bridge,
     138way[bridge=low_water_crossing]::core_bridge,
     139way[bridge=trestle]::core_bridge,
     140way[bridge=aqueduct]::core_bridge {
     141    major-z-index: 2;
     142    object-z-index: -1;
     143    width: +10;
     144    color: bridge#000000;
     145    opacity: 0.8;
     146}
     147way[tunnel=yes]::core_tunnel,
     148way[tunnel=culvert]::core_tunnel,
     149way[tunnel=building_passage]::core_tunnel,
     150way[tunnel=avalanche_protector]::core_tunnel {
     151    major-z-index: 2;
     152    object-z-index: -1;
     153    width: 2;
     154    color: tunnel#964B00;
     155    opacity: 0.5;
     156}
     157node[oneway],
     158node[bridge],
     159node[tunnel?],
     160node[tunnel?!],
     161node[cutting?!],
     162node[embankment?!] {
     163    icon-image: "presets/misc/deprecated.svg";
     164    set icon_z17;
     165}
     166
     167/****************************/
     168/* access restrictions tags */
     169/****************************/
     170
     171
     172node[traffic_sign][access?!] {
     173    icon-image: "presets/vehicle/restriction/restrictions.svg";
     174    set icon_z17;
     175}
     176node[traffic_sign][access=permissive][!is_prop_set(icon-image)],
     177node[traffic_sign][access=private][!is_prop_set(icon-image)],
     178node[traffic_sign][access=destination][!is_prop_set(icon-image)] {
     179    icon-image: "presets/misc/no_icon.svg";
     180    set icon_z17;
     181}
     182node[traffic_sign][bicycle?!] {
     183    icon-image: "presets/vehicle/restriction/bicycle.svg";
     184    set icon_z17;
     185}
     186node[traffic_sign][bicycle=designated] {
     187    icon-image: "presets/vehicle/restriction/bicycle-designated.svg";
     188    set icon_z17;
     189}
     190node[traffic_sign][foot?!] {
     191    icon-image: "presets/vehicle/restriction/foot.svg";
     192    set icon_z17;
     193}
     194node[traffic_sign][foot=designated] {
     195    icon-image: "presets/vehicle/restriction/foot-designated.svg";
     196    set icon_z17;
     197}
     198node[traffic_sign][goods?!],
     199node[traffic_sign][hgv?!] {
     200    icon-image: "presets/vehicle/restriction/goods.svg";
     201    set icon_z17;
     202}
     203node[traffic_sign][horse?!] {
     204    icon-image: "presets/vehicle/restriction/horse.svg";
     205    set icon_z17;
     206}
     207node[traffic_sign][horse=designated] {
     208    icon-image: "presets/vehicle/restriction/horse-designated.svg";
     209    set icon_z17;
     210}
     211node[traffic_sign][motorcycle?!] {
     212    icon-image: "presets/vehicle/restriction/motorbike.svg";
     213    set icon_z17;
     214}
     215node[traffic_sign][motorcar?!] {
     216    icon-image: "presets/vehicle/restriction/motorcar.svg";
     217    set icon_z17;
     218}
     219node[traffic_sign][psv?!] {
     220    icon-image: "presets/vehicle/restriction/psv.svg";
     221    set icon_z17;
     222}
     223node[traffic_sign][motorboat?!][!is_prop_set(icon-image)],
     224node[traffic_sign][boat?!][!is_prop_set(icon-image)] {
     225    icon-image: "presets/misc/no_icon.svg";
     226    set icon_z17;
     227}
     228node[noexit=yes] {
     229    icon-image: "presets/vehicle/restriction/dead_end.svg";
     230    set icon_z17;
     231}
     232node[traffic_sign][maxweight] {
     233    icon-image: "presets/vehicle/restriction/maxweight.svg";
     234    set icon_z17;
     235}
     236node[traffic_sign][maxheight] {
     237    icon-image: "presets/vehicle/restriction/maxheight.svg";
     238    set icon_z17;
     239}
     240node[traffic_sign][maxwidth] {
     241    icon-image: "presets/vehicle/restriction/maxwidth.svg";
     242    set icon_z17;
     243}
     244node[traffic_sign][maxlength] {
     245    icon-image: "presets/vehicle/restriction/maxlength.svg";
     246    set icon_z17;
     247}
     248node[traffic_sign][minspeed] {
     249    icon-image: "presets/vehicle/restriction/minspeed.svg";
     250    set icon_z17;
     251}
     252node[traffic_sign][maxstay][!is_prop_set(icon-image)],
     253node[traffic_sign][toll][!is_prop_set(icon-image)] {
     254    icon-image: "presets/misc/no_icon.svg";
     255    set icon_z17;
     256}
     257
     258/*****************************/
     259/* building/entrance/address */
     260/*****************************/
     261
     262node["addr:housenumber"] {
     263    icon-image: "presets/misc/housenumber_small.svg";
     264    set icon_z17;
     265}
     266way["addr:interpolation"=odd] {
     267    width: 1;
     268    color: address#1C86EE;
     269    dashes: 15,4;
     270}
     271way["addr:interpolation"=even] {
     272    width: 1;
     273    color: address#1C86EE;
     274    dashes: 4,4;
     275}
     276way["addr:interpolation"=all],
     277way["addr:interpolation"=alphabetic] {
     278    width: 1;
     279    color: address#1C86EE;
     280    dashes: 2,2;
     281}
     282area[building][!building?!][building!=y][building!=1] {
     283    fill-color: building#e06e5f;
     284}
     285area[building=roof],
     286area[building][!building?!][wall?!],
     287area[building:part][!building:part?!] {
     288    fill-color: buildingpart#dcbbbb;
     289}
     290node[building][!building?!] {
     291    icon-image: "presets/landmark/building.svg";
     292    set icon_z17;
     293}
     294node[building=garage] {
     295    icon-image: "presets/landuse/garages.svg";
     296    set icon_z17;
     297}
     298node[building=garages] {
     299    icon-image: "presets/landuse/garages.svg";
     300    set icon_z17;
     301}
     302node[building=transformer_tower] {
     303    icon-image: "presets/power/transformer_tower.svg";
     304    set icon_z17;
     305}
     306node[entrance=yes],
     307node[entrance=home],
     308node[entrance=staircase] {
     309    icon-image: "presets/misc/entrance_yes.svg";
     310    set icon_z17;
     311}
     312node[entrance=main] {
     313    icon-image: "presets/misc/entrance_main.svg";
     314    set icon_z17;
     315}
     316node[entrance=service] {
     317    icon-image: "presets/misc/entrance_service.svg";
     318    set icon_z17;
     319}
     320node[entrance=exit] {
     321    icon-image: "presets/misc/entrance_exit.svg";
     322    set icon_z17;
     323}
     324node[entrance=emergency] {
     325    icon-image: "presets/misc/entrance_emergency.svg";
     326    set icon_z17;
     327}
     328node[building=entrance],
     329node[building:part] {
     330    icon-image: "presets/misc/deprecated.svg";
     331    set icon_z17;
     332}
     333
     334/****************/
     335/* barrier tags */
     336/****************/
     337
     338way[barrier=bollard] {
     339    width: 2;
     340    color: barrier#F0F050;
     341    dashes: 3,9;
     342}
     343node[barrier=bollard] {
     344    icon-image: "presets/barrier/bollard.svg";
     345    set icon_z17;
     346}
     347node[barrier=gate] {
     348    icon-image: "presets/barrier/gate.svg";
     349    set icon_z17;
     350}
     351way[barrier=yes],
     352way[barrier=hedge],
     353way[barrier=fence],
     354way[barrier=wall],
     355way[barrier=guard_rail],
     356way[barrier=city_wall],
     357way[barrier=retaining_wall],
     358way[barrier=block],
     359way[barrier=chain],
     360way[barrier=ditch],
     361way[barrier=jersey_barrier],
     362way[barrier=kerb] {
     363    width: 2;
     364    color: barrier#F0F050;
     365}
     366way[barrier=kerb],
     367way[barrier=guard_rail],
     368way[barrier=retaining_wall],
     369way[barrier=jersey_barrier] {
     370    repeat-image: "presets/barrier/kerb_pattern.svg";
     371    repeat-image-align: top;
     372}
     373way[barrier=retaining_wall] {
     374    repeat-image: "presets/misc/cliff_pattern.svg";
     375    repeat-image-align: top;
     376}
     377node[barrier=hedge],
     378node[barrier=wall],
     379node[barrier=guard_rail],
     380node[barrier=city_wall],
     381node[barrier=retaining_wall],
     382node[barrier=ditch] {
     383    icon-image: "presets/misc/deprecated.svg";
     384    set icon_z17;
     385}
     386node[barrier=kerb] {
     387    icon-image: "presets/barrier/kerb.svg";
     388    set icon_z17;
     389}
     390node[barrier=block] {
     391    icon-image: "presets/barrier/block.svg";
     392    set icon_z17;
     393}
     394node[barrier=chain] {
     395    icon-image: "presets/barrier/chain.svg";
     396    set icon_z17;
     397}
     398node[barrier=stile] {
     399    icon-image: "presets/barrier/stile.svg";
     400    set icon_z17;
     401}
     402node[barrier=turnstile] {
     403    icon-image: "presets/barrier/turnstile.svg";
     404    set icon_z17;
     405}
     406node[barrier=cycle_barrier] {
     407    icon-image: "presets/barrier/cycle_barrier.svg";
     408    set icon_z17;
     409}
     410node[barrier=lift_gate] {
     411    icon-image: "presets/barrier/lift_gate.svg";
     412    set icon_z17;
     413}
     414node[barrier=swing_gate] {
     415    icon-image: "presets/barrier/swing_gate.svg";
     416    set icon_z17;
     417}
     418area[barrier=toll_booth]:closed {
     419    fill-color: barrier#F0F050;
     420}
     421node[barrier=toll_booth] {
     422    icon-image: "presets/barrier/toll_station.svg";
     423    set icon_z17;
     424}
     425node[barrier=entrance] {
     426    icon-image: "presets/barrier/entrance.svg";
     427    set icon_z17;
     428}
     429node[barrier=cattle_grid] {
     430    icon-image: "presets/barrier/cattle_grid.svg";
     431    set icon_z17;
     432}
     433node[barrier=border_control] {
     434    icon-image: "presets/barrier/douane.svg";
     435    set icon_z17;
     436}
     437node[barrier=sally_port] {
     438    icon-image: "presets/barrier/sally_port.svg";
     439    set icon_z17;
     440}
     441node[barrier=spikes] {
     442    icon-image: "presets/barrier/spikes.svg";
     443    set icon_z17;
     444}
     445node[barrier=jersey_barrier] {
     446    icon-image: "presets/barrier/jersey_barrier.svg";
     447    set icon_z17;
     448}
     449node[barrier=kissing_gate] {
     450    icon-image: "presets/barrier/kissing_gate.svg";
     451    set icon_z17;
     452}
     453node[barrier=bump_gate][!is_prop_set(icon-image)],
     454node[barrier=bus_trap][!is_prop_set(icon-image)],
     455node[barrier=hampshire_gate][!is_prop_set(icon-image)] {
     456    icon-image: "presets/misc/no_icon.svg";
     457    set icon_z17;
     458}
     459
     460/****************/
     461/* highway tags */
     462/****************/
     463
     464way[motorroad=yes]::core_motorroad {
     465    major-z-index: 2;
     466    z-index: -1;
     467    width: +4;
     468    color: motorroad#3377ff;
     469}
     470way|z16-[highway=motorway], way|z16-[highway=motorway_link] {
     471    width: 6;
     472    z-index: 0.13; /* #15483 */
     473    color: motorway#cf2081;
     474    opacity: 1;
     475    casing-width: 1;
     476    casing-color: #70372f;
     477}
     478way|z15[highway=motorway], way|z15[highway=motorway_link] {
     479    width: 3.46;
     480    z-index: 0.13; /* #15483 */
     481    color: motorway#cf2081;
     482    opacity: 1;
     483    casing-width: 1;
     484    casing-color: #70372f;
     485}
     486way|z-14[highway=motorway], way|z-14[highway=motorway_link] {
     487    width: 2;
     488    z-index: 0.13; /* #15483 */
     489    color: motorway#cf2081;
     490    opacity: 1;
     491    casing-width: 1;
     492    casing-color: #70372f;
     493}
     494way|z16-[highway=trunk], way|z16-[highway=trunk_link] {
     495    width: 6;
     496    z-index: 0.11;
     497    color: trunk#dd2522;
     498    opacity: 1;
     499    casing-width: 1;
     500    casing-color: #70372f;
     501}
     502way|z15[highway=trunk], way|z15[highway=trunk_link] {
     503    width: 3.46;
     504    z-index: 0.11;
     505    color: trunk#dd2522;
     506    opacity: 1;
     507    casing-width: 1;
     508    casing-color: #70372f;
     509}
     510way|z-14[highway=trunk], way|z-14[highway=trunk_link] {
     511    width: 2;
     512    z-index: 0.11;
     513    color: trunk#dd2522;
     514    opacity: 1;
     515    casing-width: 1;
     516    casing-color: #70372f;
     517}
     518way|z16-[highway=primary],way|z16-[highway=primary_link] {
     519    width: 6;
     520    z-index: 0.09;
     521    color: primary#f99806;
     522    opacity: 1;
     523    casing-width: 1;
     524    casing-color: #70372f;
     525}
     526way|z15[highway=primary],way|z15[highway=primary_link] {
     527    width: 3.46;
     528    z-index: 0.09;
     529    color: primary#f99806;
     530    opacity: 1;
     531    casing-width: 1;
     532    casing-color: #70372f;
     533}
     534way|z-14[highway=primary],way|z-14[highway=primary_link] {
     535    width: 2;
     536    z-index: 0.09;
     537    color: primary#f99806;
     538    opacity: 1;
     539    casing-width: 1;
     540    casing-color: #70372f;
     541}
     542way|z16-[highway=secondary], way|z16-[highway=secondary_link] {
     543    width: 6;
     544    z-index: 0.07;
     545    color: secondary#f3f312;
     546    opacity: 1;
     547    casing-width: 1;
     548    casing-color: #70372f;
     549}
     550way|z15[highway=secondary], way|z15[highway=secondary_link] {
     551    width: 3.46;
     552    z-index: 0.07;
     553    color: secondary#f3f312;
     554    opacity: 1;
     555    casing-width: 1;
     556    casing-color: #70372f;
     557}
     558way|z-14[highway=secondary], way|z-14[highway=secondary_link] {
     559    width: 2;
     560    z-index: 0.07;
     561    color: secondary#f3f312;
     562    opacity: 1;
     563    casing-width: 1;
     564    casing-color: #70372f;
     565}
     566way|z16-[highway=tertiary], way|z16-[highway=tertiary_link] {
     567    width: 6;
     568    z-index: 0.05;
     569    color: tertiary#fff9b3;
     570    opacity: 1;
     571    casing-width: 1;
     572    casing-color: #70372f;
     573}
     574way|z15[highway=tertiary], way|z15[highway=tertiary_link] {
     575    width: 3.46;
     576    z-index: 0.05;
     577    color: tertiary#fff9b3;
     578    opacity: 1;
     579    casing-width: 1;
     580    casing-color: #70372f;
     581}
     582way|z-14[highway=tertiary], way|z-14[highway=tertiary_link] {
     583    width: 2;
     584    z-index: 0.05;
     585    color: tertiary#fff9b3;
     586    opacity: 1;
     587    casing-width: 1;
     588    casing-color: #70372f;
     589}
     590way|z16-[highway=unclassified] {
     591    width: 6;
     592    z-index: 0.03;
     593    color: street#ddccaa;
     594    opacity: 1;
     595    casing-width: 1;
     596    casing-color: #444444;
     597}
     598way|z15[highway=unclassified] {
     599    width: 3.46;
     600    z-index: 0.03;
     601    color: street#ddccaa;
     602    opacity: 1;
     603    casing-width: 1;
     604    casing-color: #444444;
     605}
     606way|z-14[highway=unclassified] {
     607    width: 2;
     608    z-index: 0.03;
     609    color: street#ddccaa;
     610    opacity: 1;
     611    casing-width: 1;
     612    casing-color: #444444;
     613}
     614way[highway=escape] {
     615    width: 3;
     616    color: street#c0c0c0;
     617    dashes: 3,3;
     618}
     619way[highway=road] {
     620    width: 2;
     621    casing-width: 0.5;
     622    casing-color: #ff9696;
     623    color: highway_road#770000;
     624    opacity: 1;
     625}
     626way[highway=track][area?], relation[type=multipolygon][highway=track] {
     627    fill-color: highway_track#6e541c;
     628}
     629way|z16-[highway=track] {
     630    width: 4;
     631    color: highway_track#c5b59f;
     632    casing-dashes: 4,4;
     633    casing-color: #cccccc;
     634    casing-width: 1;
     635}
     636way|z15[highway=track] {
     637    width: 2.58;
     638    color: highway_track#c5b59f;
     639    casing-dashes: 4,4;
     640    casing-color: #cccccc;
     641    casing-width: 0.7;
     642}
     643way|z-14[highway=track] {
     644    width: 1.67;
     645    color: highway_track#c5b59f;
     646    casing-dashes: 4,4;
     647    casing-color: #cccccc;
     648    casing-width: 0.3;
     649}
     650way|z16-[highway=residential] {
     651    width: 6;
     652    z-index: 0.02;
     653    color: street#ffffff;
     654    opacity: 1;
     655    casing-width: 1;
     656    casing-color: #444444;
     657}
     658way|z15[highway=residential] {
     659    width: 3.46;
     660    z-index: 0.02;
     661    color: street#ffffff;
     662    opacity: 1;
     663    casing-width: 1;
     664    casing-color: #444444;
     665}
     666way|z-14[highway=residential] {
     667    width: 2;
     668    z-index: 0.02;
     669    color: street#ffffff;
     670    opacity: 1;
     671    casing-width: 0.6;
     672    casing-color: #444444;
     673}
     674way|z16-[highway=living_street] {
     675    width: 6;
     676    z-index: 0.01;
     677    dashes: 9,9;
     678    dashes-background-color: livingdashed#00ff00;
     679    color: street#c0c0c0;
     680    opacity: 1;
     681}
     682way|z15[highway=living_street] {
     683    width: 3.46;
     684    z-index: 0.01;
     685    dashes: 6,6;
     686    dashes-background-color: livingdashed#00ff00;
     687    color: street#c0c0c0;
     688    opacity: 1;
     689}
     690way|z-14[highway=living_street] {
     691    width: 2;
     692    z-index: 0.01;
     693    dashes: 3,3;
     694    dashes-background-color: livingdashed#00ff00;
     695    color: street#c0c0c0;
     696    opacity: 1;
     697}
     698way[highway=service][area?], relation[type=multipolygon][highway=service] {
     699    fill-color: service#809bc0;
     700}
     701way|z16-[highway=service][!area?][!service] {
     702    width: 4;
     703    color: service#ffffff;
     704    casing-width: 0.7;
     705    casing-color: #444444;
     706}
     707way|z15[highway=service][!area?][!service] {
     708    width: 1.73;
     709    color: service#ffffff;
     710    casing-width: 0.5;
     711    casing-color: #444444;
     712}
     713way|z14[highway=service][!area?][!service] {
     714    width: 1;
     715    color: service#ffffff;
     716    casing-width: 0.2;
     717    casing-color: #444444;
     718}
     719way|z16-[highway=service][!area?][service] {
     720    width: 4;
     721    color: service#ddccaa;
     722    casing-width: 0.7;
     723    casing-color: #444444;
     724}
     725way|z15[highway=service][!area?][service] {
     726    width: 1.73;
     727    color: service#ddccaa;
     728    casing-width: 0.5;
     729    casing-color: #444444;
     730}
     731way|z14[highway=service][!area?][service] {
     732    width: 1;
     733    color: service#ddccaa;
     734    casing-width: 0.3;
     735    casing-color: #444444;
     736    z-index: 0.009;
     737}
     738way[highway=bridleway] {
     739    width: 3.3;
     740    color: horse#e06d5f;
     741    dashes: 6,6;
     742    casing-width: 1;
     743    casing-color: #ffffff;
     744    z-index: 0.009;
     745}
     746way[highway=cycleway] {
     747    width: 3.3;
     748    color: bicycle#58a9ed;
     749    dashes: 6,6;
     750    casing-width: 1;
     751    casing-color: #ffffff;
     752    z-index: 0.009;
     753}
     754way[highway=footway][area?], relation[type=multipolygon][highway=footway] {
     755    fill-color: foot#00ff00;
     756}
     757way[highway=footway][!area?] {
     758    width: 3.3;
     759    color: foot#998888;
     760    dashes: 6,6;
     761    casing-width: 1;
     762    casing-color: #ffffff;
     763    z-index: 0.009;
     764}
     765way[highway=footway][!area?][footway=crossing],
     766way[highway=footway][!area?][footway=parking_aisle] {
     767    width: 3.3;
     768    color: foot#998888;
     769    dashes: 6,6;
     770    casing-width: 1;
     771    casing-color: #ddccaa;
     772    z-index: 0.009;
     773}
     774way[highway=path] {
     775    width: 3.3;
     776    color: foot#998888;
     777    dashes: 6,6;
     778    casing-width: 1;
     779    casing-color: #ddccaa;
     780    z-index: 0.009;
     781}
     782
     783way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] {
     784    width: 3;
     785    color: foot#00ff00;
     786    fill-color: foot#00ff00;
     787}
     788way[highway=pedestrian] {
     789    width: 3.3;
     790    color: foot#ffffff;
     791    dashes: 5,5;
     792    casing-width: 1;
     793    casing-color: #8cd05f;
     794    z-index: 0.009;
     795}
     796way[highway=steps] {
     797    width: 3;
     798    color: foot#81d25c;
     799    dashes: 3,3;
     800    casing-width: 1;
     801    casing-color: #ffffff;
     802    z-index: 0.009;
     803}
     804way[highway=bus_guideway] {
     805    width: 3;
     806    color: rail#404040;
     807    dashes: 9,9;
     808}
     809way[highway=raceway] {
     810    width: 3;
     811    color: raceway#ff80ff;
     812}
     813way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] {
     814    fill-color: raceway#ff80ff;
     815}
     816area[junction=yes] {
     817    fill-color: junction#c0c0c0;
     818}
     819node[junction=yes] {
     820    icon-image: "presets/vehicle/junction.svg";
     821    set icon_z17;
     822}
     823node[highway=traffic_mirror] {
     824    icon-image: "presets/vehicle/traffic_mirror.svg";
     825    set icon_z17;
     826}
     827node[highway=milestone] {
     828    icon-image: "presets/vehicle/milestone.svg";
     829    set icon_z17;
     830}
     831node[direction=clockwise] {
     832    icon-image: "presets/vehicle/restriction/roundabout_left.svg";
     833    set icon_z17;
     834}
     835node[highway=mini_roundabout] {
     836    icon-image: "presets/vehicle/restriction/mini_roundabout_left.svg";
     837    set icon_z17;
     838}
     839node:righthandtraffic[highway=mini_roundabout] {
     840    icon-image: "presets/vehicle/restriction/mini_roundabout_right.svg";
     841    set icon_z17;
     842}
     843node[highway=stop] {
     844    icon-image: "presets/vehicle/restriction/stop.svg";
     845    set icon_z17;
     846}
     847node[highway=give_way] {
     848    icon-image: "presets/vehicle/restriction/give_way.svg";
     849    set icon_z17;
     850}
     851node[highway=traffic_signals] {
     852    icon-image: "presets/vehicle/traffic_signals.svg";
     853    set icon_z17;
     854}
     855node[highway=traffic_signals][crossing][crossing!=no] {
     856    icon-image: "presets/vehicle/traffic_signals_crossing.svg";
     857    set icon_z17;
     858}
     859node[highway=traffic_signals][crossing_ref=zebra] {
     860    icon-image: "presets/vehicle/traffic_signals_crossing_ref_zebra.svg";
     861    set icon_z17;
     862}
     863node[highway=traffic_signals][crossing=island] {
     864    icon-image: "presets/vehicle/traffic_signals_crossing_island.svg";
     865    set icon_z17;
     866}
     867node[highway=traffic_signals][crossing=traffic_signals] {
     868    icon-image: "presets/vehicle/traffic_signals_crossing_traffic_signals.svg";
     869    set icon_z17;
     870}
     871node[highway=street_lamp] {
     872    icon-image: "presets/misc/streetlamp.svg";
     873    set icon_z17;
     874}
     875node[highway=speed_camera] {
     876    icon-image: "presets/vehicle/restriction/speed_camera.svg";
     877    set icon_z17;
     878}
     879relation[type=enforcement] >[role="device"] node {
     880    icon-image: "presets/vehicle/restriction/speed_camera.svg";
     881    set icon_z17;
     882}
     883node[traffic_sign=city_limit] {
     884    icon-image: "presets/vehicle/restriction/city_limit.svg";
     885    set icon_z17;
     886}
     887node[highway=crossing][crossing!=no] {
     888    icon-image: "presets/vehicle/crossing.svg";
     889    set icon_z17;
     890}
     891node[highway=crossing][crossing=unmarked] {
     892    icon-image: "presets/vehicle/crossing_unmarked.svg";
     893    set icon_z17;
     894}
     895node[highway=crossing][crossing=island] {
     896    icon-image: "presets/vehicle/crossing_island.svg";
     897    set icon_z17;
     898}
     899node[highway=crossing][crossing_ref=zebra] {
     900    icon-image: "presets/vehicle/crossing_ref_zebra.svg";
     901    set icon_z17;
     902}
     903node[highway=crossing][crossing=traffic_signals] {
     904    icon-image: "presets/vehicle/crossing_traffic_signals.svg";
     905    set icon_z17;
     906}
     907node[highway=motorway_junction] {
     908    icon-image: "presets/vehicle/motorway_junction.svg";
     909    set icon_z17;
     910    text: eval(cond(has_tag_key(ref), concat(tag(name), " (", tag(ref), ")"), tag(name)));
     911}
     912area[highway=services] {
     913    fill-color: services#c0c0c0;
     914}
     915node[highway=services] {
     916    icon-image: "presets/vehicle/services.svg";
     917    set icon_z17;
     918}
     919area[highway=rest_area] {
     920    fill-color: services#c0c0c0;
     921}
     922node[highway=rest_area] {
     923    icon-image: "presets/vehicle/rest_area.svg";
     924    set icon_z17;
     925}
     926node[ford=stepping_stones],
     927node[ford?] {
     928    icon-image: "presets/vehicle/ford.svg";
     929    set icon_z17;
     930}
     931way[ford=stepping_stones]::core_ford,
     932way[ford?]::core_ford {
     933    z-index: 1;
     934    width: 2;
     935    color: water#0000ff;
     936    dashes: 9,9;
     937    dashes-offset: 9;
     938}
     939area[highway=platform]:closed {
     940    fill-color: highway_platform#c0c0c0;
     941}
     942way[highway=platform] {
     943    width: 2;
     944    color: highway_platform#c0c0c0;
     945}
     946node[highway=turning_circle] {
     947    icon-image: "presets/vehicle/turning_circle.svg";
     948    set icon_z17;
     949}
     950node[highway=turning_loop] {
     951    icon-image: "presets/vehicle/turning_loop.svg";
     952    set icon_z17;
     953}
     954node[highway=passing_place] {
     955    icon-image: "presets/vehicle/passing_place.svg";
     956    set icon_z17;
     957}
     958area[highway=elevator] {
     959    fill-color: elevator#a6bace;
     960}
     961node[highway=elevator] {
     962    icon-image: "presets/service/elevator.svg";
     963    set icon_z17;
     964}
     965way[highway=construction] {
     966    width: 2;
     967    color: construction#ffff00;
     968    dashes: 9,9;
     969}
     970node[highway=construction] {
     971    icon-image: "presets/misc/construction.svg";
     972    set icon_z17;
     973}
     974area[highway=emergency_access_point] {
     975    fill-color: emergency_access_point#c0c0c0;
     976}
     977node[highway=emergency_access_point] {
     978    icon-image: "presets/service/emergency_access_point.svg";
     979    set icon_z17;
     980}
     981node[highway=motorway], node[highway=motorway_link],
     982node[highway=trunk], node[highway=trunk_link],
     983node[highway=primary], node[highway=primary_link],
     984node[highway=secondary], node[highway=secondary_link],
     985node[highway=tertiary], node[highway=tertiary_link],
     986node[highway=unclassified],
     987node[highway=road],
     988node[highway=unsurfaced],
     989node[highway=track],
     990node[highway=residential],
     991node[highway=living_street],
     992node[highway=service],
     993node[highway=bridleway],
     994node[highway=cycleway],
     995node[highway=footway],
     996node[highway=path],
     997node[highway=pedestrian],
     998node[highway=bus_guideway],
     999node[highway=platform] {
     1000    icon-image: "presets/misc/deprecated.svg";
     1001    set icon_z17;
     1002}
     1003
     1004area["area:highway"] {
     1005    fill-color: #888888;
     1006    fill-opacity: 0.6;
     1007}
     1008
     1009/************************/
     1010/* traffic_calming tags */
     1011/************************/
     1012
     1013node[traffic_calming] {
     1014    icon-image: "presets/vehicle/traffic_calming.svg";
     1015    set icon_z17;
     1016}
     1017node[traffic_calming=chicane] {
     1018    icon-image: "presets/vehicle/chicane.svg";
     1019    set icon_z17;
     1020}
     1021node[traffic_calming=choker] {
     1022    icon-image: "presets/vehicle/choker.svg";
     1023    set icon_z17;
     1024}
     1025node[traffic_calming=island] {
     1026    icon-image: "presets/vehicle/island.svg";
     1027    set icon_z17;
     1028}
     1029node[traffic_calming=bump] {
     1030    icon-image: "presets/vehicle/bump.svg";
     1031    set icon_z17;
     1032}
     1033node[traffic_calming=hump] {
     1034    icon-image: "presets/vehicle/hump.svg";
     1035    set icon_z17;
     1036}
     1037node[traffic_calming=table] {
     1038    icon-image: "presets/vehicle/table.svg";
     1039    set icon_z17;
     1040}
     1041node[traffic_calming=cushion] {
     1042    icon-image: "presets/vehicle/cushion.svg";
     1043    set icon_z17;
     1044}
     1045node[traffic_calming=rumble_strip] {
     1046    icon-image: "presets/vehicle/rumble_strip.svg";
     1047    set icon_z17;
     1048}
     1049/****************/
     1050/* junction tag */
     1051/****************/
     1052
     1053node[junction=roundabout] {
     1054    icon-image: "presets/vehicle/restriction/roundabout_left.svg";
     1055    set icon_z17;
     1056}
     1057node:righthandtraffic[junction=roundabout] {
     1058    icon-image: "presets/vehicle/restriction/roundabout_right.svg";
     1059    set icon_z17;
     1060}
     1061
     1062/******************/
     1063/* tracktype tags */
     1064/******************/
     1065
     1066way[highway=track][tracktype=grade1] {
     1067    dashes: 8,1;
     1068}
     1069way[highway=track][tracktype=grade2] {
     1070    dashes: 6,2;
     1071}
     1072way[highway=track][tracktype=grade3] {
     1073    dashes: 4,3;
     1074}
     1075way[highway=track][tracktype=grade4] {
     1076    dashes: 4,5;
     1077}
     1078way[highway=track][tracktype=grade5] {
     1079    dashes: 4,7;
     1080}
     1081
     1082/**************/
     1083/* piste tags */
     1084/**************/
     1085
     1086way[route=ski]::core_piste {
     1087    z-index: -1;
     1088    modifier: false;
     1089    width: 6;
     1090    color: ski#809bc0;
     1091}
     1092area[piste:difficulty=easy][!highway][area=yes]::core_piste {
     1093    fill-color: piste_easy#0000ff;
     1094}
     1095way[piste:difficulty=easy]::core_piste {
     1096    z-index: -1; /* below line style from highway=* tag */
     1097    modifier: false; /* suppress default line if there is no style on default layer */
     1098    width: 6;
     1099    color: piste_easy#0000ff;
     1100}
     1101area[piste:difficulty=intermediate][!highway][area=yes]::core_piste {
     1102    fill-color: piste_intermediate#ff0000;
     1103}
     1104way[piste:difficulty=intermediate]::core_piste {
     1105    z-index: -1;
     1106    modifier: false;
     1107    width: 6;
     1108    color: piste_intermediate#ff0000;
     1109}
     1110area[piste:difficulty=advanced][!highway][area=yes]::core_piste {
     1111    fill-color: piste_advanced#606060;
     1112}
     1113way[piste:difficulty=advanced]::core_piste {
     1114    z-index: -1;
     1115    modifier: false;
     1116    width: 6;
     1117    color: piste_advanced#606060;
     1118}
     1119area[piste:difficulty=expert][!highway][area=yes]::core_piste {
     1120    fill-color: piste_expert#606060;
     1121}
     1122way[piste:difficulty=expert]::core_piste {
     1123    z-index: -1;
     1124    modifier: false;
     1125    width: 6;
     1126    color: piste_expert#606060;
     1127}
     1128area[piste:difficulty=freeride][!highway][area=yes]::core_piste {
     1129    fill-color: piste_freeride#ffff00;
     1130}
     1131way[piste:difficulty=freeride]::core_piste {
     1132    z-index: -1;
     1133    modifier: false;
     1134    width: 6;
     1135    color: piste_freeride#ffff00;
     1136}
     1137area[piste:difficulty=novice][!highway][area=yes]::core_piste {
     1138    fill-color: piste_novice#00ff00;
     1139}
     1140way[piste:difficulty=novice]::core_piste {
     1141    z-index: -1;
     1142    modifier: false;
     1143    width: 6;
     1144    color: piste_novice#00ff00;
     1145}
     1146node[piste:type=downhill],
     1147node[piste:type=nordic],
     1148node[piste:type=skitour],
     1149node[piste:type=sled],
     1150node[piste:type=sleigh],
     1151node[piste:type=snow_park] {
     1152    icon-image: "presets/sport/skiing.svg";
     1153    set icon_z17;
     1154}
     1155
     1156/**************/
     1157/* power tags */
     1158/**************/
     1159
     1160node[power=portal] {
     1161    icon-image: "presets/power/portal.svg";
     1162    set icon_z17;
     1163}
     1164node[power=tower] {
     1165    icon-image: "presets/power/tower.svg";
     1166    set icon_z17;
     1167}
     1168node[power=pole] {
     1169    icon-image: "presets/power/pole.svg";
     1170    set icon_z17;
     1171}
     1172node[power=pole][switch] {
     1173    icon-image: "presets/power/pole_switch.svg";
     1174    set icon_z17;
     1175}
     1176node[power=pole][transformer=distribution] {
     1177    icon-image: "presets/power/pole_transformer.svg";
     1178    set icon_z17;
     1179}
     1180node[power=catenary_mast] {
     1181    icon-image: "presets/power/catenary_mast.svg";
     1182    set icon_z17;
     1183}
     1184node[power=insulator] {
     1185    icon-image: "presets/power/insulator.svg";
     1186    set icon_z17;
     1187}
     1188way[power=portal],
     1189way[power=line],
     1190way[power=minor_line] {
     1191    width: 1.5;
     1192    color: power#939393;
     1193}
     1194way[power=cable] {
     1195    width: 1;
     1196    color: power#eeeeee;
     1197    dashes: 9,9;
     1198}
     1199node[power=plant],
     1200node[power=sub_station],
     1201node[power=line],
     1202node[power=cable],
     1203node[power=minor_line] {
     1204    icon-image: "presets/misc/deprecated.svg";
     1205    set icon_z17;
     1206}
     1207area[power=plant],
     1208area[power=substation],
     1209area[power=compensator],
     1210area[power=converter],
     1211area[power=switchgear],
     1212area[power=generator] {
     1213    fill-color: power#eeeeee;
     1214}
     1215node[man_made=street_cabinet][street_cabinet=power] {
     1216    icon-image: "presets/power/cable_distribution_cabinet.svg";
     1217    set icon_z17;
     1218}
     1219node[power=generator] {
     1220    icon-image: "presets/power/generator.svg";
     1221    set icon_z17;
     1222}
     1223node[power=substation] {
     1224    icon-image: "presets/power/substation.svg";
     1225    set icon_z17;
     1226}
     1227node[power=transformer] {
     1228    icon-image: "presets/power/transformer.svg";
     1229    set icon_z17;
     1230}
     1231node[power=terminal] {
     1232    icon-image: "presets/power/terminal.svg";
     1233    set icon_z17;
     1234}
     1235node[power=switch] {
     1236    icon-image: "presets/power/switch.svg";
     1237    set icon_z17;
     1238}
     1239node[power=converter] {
     1240    icon-image: "presets/power/converter.svg";
     1241    set icon_z17;
     1242}
     1243node[power=compensator] {
     1244    icon-image: "presets/power/compensator.svg";
     1245    set icon_z17;
     1246}
     1247
     1248
     1249/*************************/
     1250/* generator:source tags */
     1251/*************************/
     1252
     1253area[generator:source=nuclear],
     1254area[generator:source=wind],
     1255area[generator:source=hydro],
     1256area[generator:source=tidal],
     1257area[generator:source=wave],
     1258area[generator:source=osmotic],
     1259area[generator:source=geothermal],
     1260area[generator:source=solar],
     1261area[generator:source=coal],
     1262area[generator:source=gas],
     1263area[generator:source=biomass],
     1264area[generator:source=biofuel],
     1265area[generator:source=biogas],
     1266area[generator:source=oil],
     1267area[generator:source=diesel],
     1268area[generator:source=gasoline],
     1269area[generator:source=waste] {
     1270    fill-color: power#eeeeee;
     1271}
     1272node[generator:source=nuclear] {
     1273    icon-image: "presets/power/power_source-nuclear.svg";
     1274    set icon_z17;
     1275}
     1276node[generator:source=wind] {
     1277    icon-image: "presets/power/power_source-wind.svg";
     1278    set icon_z17;
     1279}
     1280node[generator:source=hydro],
     1281node[generator:source=tidal],
     1282node[generator:source=wave],
     1283node[generator:source=osmotic] {
     1284    icon-image: "presets/power/power_source-water.svg";
     1285    set icon_z17;
     1286}
     1287node[generator:source=geothermal] {
     1288    icon-image: "presets/power/power_source-geothermal.svg";
     1289    set icon_z17;
     1290}
     1291node[generator:source=solar] {
     1292    icon-image: "presets/power/power_source-sun.svg";
     1293    set icon_z17;
     1294}
     1295node[generator:source=coal] {
     1296    icon-image: "presets/power/power_source-coal.svg";
     1297    set icon_z17;
     1298}
     1299node[generator:source=gas] {
     1300    icon-image: "presets/power/power_source-gas.svg";
     1301    set icon_z17;
     1302}
     1303node[generator:source=biomass],
     1304node[generator:source=biofuel],
     1305node[generator:source=biogas] {
     1306    icon-image: "presets/power/power_source-biofuel.svg";
     1307    set icon_z17;
     1308}
     1309node[generator:source=oil],
     1310node[generator:source=diesel],
     1311node[generator:source=gasoline] {
     1312    icon-image: "presets/power/power_source-oil.svg";
     1313    set icon_z17;
     1314}
     1315node[generator:source=waste] {
     1316    icon-image: "presets/power/power_source-waste.svg";
     1317    set icon_z17;
     1318}
     1319node[power_source] {
     1320    icon-image: "presets/misc/deprecated.svg";
     1321    set icon_z17;
     1322}
     1323/*****************/
     1324/* man_made tags */
     1325/*****************/
     1326
     1327area[man_made=beacon],
     1328area[man_made=bridge],
     1329area[bridge:support],
     1330area[man_made=chimney],
     1331area[man_made=kiln],
     1332area[man_made=gasometer],
     1333area[man_made=silo],
     1334area[man_made=storage_tank],
     1335area[man_made=bunker_silo],
     1336area[man_made=lighthouse],
     1337area[man_made=monitoring_station],
     1338area[man_made=mineshaft] {
     1339    fill-color: manmade#d8d8d8;
     1340}
     1341node[man_made=beacon] {
     1342    icon-image: "presets/landmark/beacon.svg";
     1343    set icon_z17;
     1344}
     1345node[man_made=bridge] {
     1346    icon-image: "presets/misc/deprecated.svg";
     1347    set icon_z17;
     1348}
     1349node[bridge:support] {
     1350    icon-image: "presets/transport/bridge/bridge_support.svg";
     1351    set icon_z17;
     1352}
     1353node[man_made=chimney] {
     1354    icon-image: "presets/landmark/chimney.svg";
     1355    set icon_z17;
     1356}
     1357node[man_made=kiln] {
     1358    icon-image: "presets/misc/kiln.svg";
     1359    set icon_z17;
     1360}
     1361node[man_made=flagpole] {
     1362    icon-image: "presets/misc/flag.svg";
     1363    set icon_z17;
     1364}
     1365node[man_made=cross] {
     1366    icon-image: "presets/landmark/cross.svg";
     1367    set icon_z17;
     1368}
     1369node[man_made=gasometer] {
     1370    icon-image: "presets/landmark/gasometer.svg";
     1371    set icon_z17;
     1372}
     1373node[man_made=silo] {
     1374    icon-image: "presets/landmark/silo.svg";
     1375    set icon_z17;
     1376}
     1377node[man_made=storage_tank] {
     1378    icon-image: "presets/landmark/storage_tank.svg";
     1379    set icon_z17;
     1380}
     1381node[man_made=bunker_silo] {
     1382    icon-image: "presets/landmark/bunker_silo.svg";
     1383    set icon_z17;
     1384}
     1385area[man_made=groyne]:closed {
     1386    fill-color: manmade#d8d8d8;
     1387}
     1388way[man_made=groyne] {
     1389    width: 2;
     1390    color: manmade#d8d8d8;
     1391}
     1392area[man_made=breakwater]:closed {
     1393    fill-color: manmade#d8d8d8;
     1394}
     1395way[man_made=breakwater] {
     1396    width: 2;
     1397    color: manmade#d8d8d8;
     1398}
     1399way[man_made=dyke] {
     1400    width: 2;
     1401    color: dyke#0aa846;
     1402}
     1403node[man_made=lighthouse] {
     1404    icon-image: "presets/landmark/lighthouse.svg";
     1405    set icon_z17;
     1406}
     1407node[man_made=monitoring_station] {
     1408    icon-image: "presets/misc/monitoring_station.svg";
     1409    set icon_z17;
     1410}
     1411node[man_made=mineshaft] {
     1412    icon-image: "presets/landmark/mine.svg";
     1413    set icon_z17;
     1414}
     1415area[man_made=crane]:closed {
     1416    fill-color: manmade#d8d8d8;
     1417}
     1418way[man_made=crane] {
     1419    width: 2;
     1420    color: manmade#d8d8d8;
     1421}
     1422node[man_made=crane] {
     1423    icon-image: "presets/landmark/crane.svg";
     1424    set icon_z17;
     1425}
     1426node[man_made=adit] {
     1427    icon-image: "presets/landmark/adit.svg";
     1428    set icon_z17;
     1429}
     1430area[man_made=pier]:closed {
     1431    fill-color: pier#660000;
     1432}
     1433way[man_made=pier] {
     1434    width: 2;
     1435    color: pier#660000;
     1436}
     1437node[man_made=pier] {
     1438    icon-image: "presets/nautical/pier.svg";
     1439    set icon_z17;
     1440}
     1441way[embankment?][!highway][!railway][!waterway],
     1442way[man_made=embankment][!highway][!railway][!waterway] {
     1443    repeat-image: "presets/misc/embankment-pattern.png";
     1444    repeat-image-align: top;
     1445    width: 1;
     1446    color: embankment#c14d00;
     1447}
     1448way[embankment?][highway],
     1449way[embankment?][railway],
     1450way[embankment?][waterway],
     1451way[man_made=embankment][highway],
     1452way[man_made=embankment][railway],
     1453way[man_made=embankment][waterway] {
     1454    repeat-image: "presets/misc/embankment-pattern-centered.png";
     1455}
     1456way[man_made=pipeline][!waterway] {
     1457    width: 2;
     1458    color: pipeline#660000;
     1459}
     1460node[pipeline=marker] {
     1461    icon-image: "presets/misc/pipeline_marker.svg";
     1462    set icon_z17;
     1463}
     1464node[pipeline=valve] {
     1465    icon-image: "presets/misc/valve.svg";
     1466    set icon_z17;
     1467}
     1468node[man_made=breakwater],
     1469node[man_made=groyne],
     1470node[man_made=embankment],
     1471node[man_made=pipeline] {
     1472    icon-image: "presets/misc/deprecated.svg";
     1473    set icon_z17;
     1474}
     1475node[man_made=petroleum_well][!is_prop_set(icon-image)] {
     1476    icon-image: "presets/misc/no_icon.svg";
     1477    set icon_z17;
     1478}
     1479area[man_made=reservoir_covered],
     1480area[man_made=tower],
     1481area[man_made=wastewater_plant],
     1482area[man_made=watermill],
     1483area[man_made=water_tower],
     1484area[man_made=water_well],
     1485area[man_made=windmill],
     1486area[man_made=works],
     1487area[man_made=water_works] {
     1488    fill-color: manmade#d8d8d8;
     1489}
     1490node[man_made=reservoir_covered] {
     1491    icon-image: "presets/landmark/reservoir_covered.svg";
     1492    set icon_z17;
     1493}
     1494node[man_made=surveillance] {
     1495    icon-image: "presets/service/surveillance.svg";
     1496    set icon_z17;
     1497}
     1498node[man_made=survey_point] {
     1499    icon-image: "presets/landmark/survey_point.svg";
     1500    set icon_z17;
     1501}
     1502node[man_made=tower] {
     1503    icon-image: "presets/landmark/tower.svg";
     1504    set icon_z17;
     1505}
     1506node[man_made=wastewater_plant] {
     1507    icon-image: "presets/landmark/wastewater_plant.svg";
     1508    set icon_z17;
     1509}
     1510node[man_made=watermill] {
     1511    icon-image: "presets/landmark/watermill.svg";
     1512    set icon_z17;
     1513}
     1514node[man_made=water_tower] {
     1515    icon-image: "presets/landmark/water_tower.svg";
     1516    set icon_z17;
     1517}
     1518node[man_made=water_well] {
     1519    icon-image: "presets/landmark/water_well.svg";
     1520    set icon_z17;
     1521}
     1522node[man_made=windmill] {
     1523    icon-image: "presets/landmark/windmill.svg";
     1524    set icon_z17;
     1525}
     1526node[man_made=works] {
     1527    icon-image: "presets/landmark/works.svg";
     1528    set icon_z17;
     1529}
     1530node[man_made=water_works] {
     1531    icon-image: "presets/landmark/water_works.svg";
     1532    set icon_z17;
     1533}
     1534way[man_made=cutline] {
     1535    width: 2;
     1536    color: cutline#99ff55;
     1537}
     1538node[man_made=cutline] {
     1539    icon-image: "presets/misc/deprecated.svg";
     1540    set icon_z17;
     1541}
     1542
     1543/***************/
     1544/* office tags */
     1545/***************/
     1546
     1547area[office=accountant],
     1548area[office=administrative],
     1549area[office=advertising_agency],
     1550area[office=architect],
     1551area[office=association],
     1552area[office=company],
     1553area[office=educational_institution],
     1554area[office=employment_agency],
     1555area[office=estate_agent],
     1556area[office=foundation],
     1557area[office=government],
     1558area[office=insurance],
     1559area[office=it],
     1560area[office=lawyer],
     1561area[office=newspaper],
     1562area[office=ngo],
     1563area[office=notary],
     1564area[office=political_party],
     1565area[office=religion],
     1566area[office=research],
     1567area[office=tax_advisor],
     1568area[office=telecommunication] {
     1569    fill-color: office#de5696;
     1570}
     1571node[office=accountant] {
     1572    icon-image: "presets/office/accountant.svg";
     1573    set icon_z17;
     1574}
     1575node[office=administrative] {
     1576    icon-image: "presets/office/administrative.svg";
     1577    set icon_z17;
     1578}
     1579node[office=advertising_agency] {
     1580    icon-image: "presets/office/advertising_agency.svg";
     1581    set icon_z17;
     1582}
     1583node[office=architect] {
     1584    icon-image: "presets/office/architect.svg";
     1585    set icon_z17;
     1586}
     1587node[office=association] {
     1588    icon-image: "presets/office/association.svg";
     1589    set icon_z17;
     1590}
     1591node[office=company] {
     1592    icon-image: "presets/office/private_company.svg";
     1593    set icon_z17;
     1594}
     1595node[office=educational_institution] {
     1596    icon-image: "presets/office/educational_institution.svg";
     1597    set icon_z17;
     1598}
     1599node[office=employment_agency] {
     1600    icon-image: "presets/office/employment_agency.svg";
     1601    set icon_z17;
     1602}
     1603node[office=estate_agent] {
     1604    icon-image: "presets/office/real_state.svg";
     1605    set icon_z17;
     1606}
     1607node[office=foundation] {
     1608    icon-image: "presets/office/foundation.svg";
     1609    set icon_z17;
     1610}
     1611node[office=insurance] {
     1612    icon-image: "presets/office/insurance.svg";
     1613    set icon_z17;
     1614}
     1615node[office=it] {
     1616    icon-image: "presets/office/it.svg";
     1617    set icon_z17;
     1618}
     1619node[office=lawyer] {
     1620    icon-image: "presets/office/lawyer.svg";
     1621    set icon_z17;
     1622}
     1623node[office=newspaper] {
     1624    icon-image: "presets/office/newspaper.svg";
     1625    set icon_z17;
     1626}
     1627node[office=ngo] {
     1628    icon-image: "presets/office/ong.svg";
     1629    set icon_z17;
     1630}
     1631node[office=notary] {
     1632    icon-image: "presets/office/notary.svg";
     1633    set icon_z17;
     1634}
     1635node[office=political_party] {
     1636    icon-image: "presets/office/political_party.svg";
     1637    set icon_z17;
     1638}
     1639node[office=religion] {
     1640    icon-image: "presets/office/religion.svg";
     1641    set icon_z17;
     1642}
     1643node[office=research] {
     1644    icon-image: "presets/office/research.svg";
     1645    set icon_z17;
     1646}
     1647node[office=tax_advisor] {
     1648    icon-image: "presets/office/tax_advisor.svg";
     1649    set icon_z17;
     1650}
     1651node[office=telecommunication] {
     1652    icon-image: "presets/office/telecommunication.svg";
     1653    set icon_z17;
     1654}
     1655node[office=government] {
     1656    icon-image: "presets/office/government.svg";
     1657    set icon_z17;
     1658}
     1659
     1660/****************/
     1661/* leisure tags */
     1662/****************/
     1663
     1664area[leisure=bandstand],
     1665area[leisure=sports_centre],
     1666area[leisure=fitness_centre],
     1667area[leisure=stadium],
     1668area[leisure=horse_riding],
     1669area[leisure=resort],
     1670area[leisure=beach_resort],
     1671area[leisure=water_park] {
     1672    fill-color: leisure#c7f1a3;
     1673}
     1674node[leisure=bandstand] {
     1675    icon-image: "presets/leisure/bandstand.svg";
     1676    set icon_z17;
     1677}
     1678node[leisure=sports_centre] {
     1679    icon-image: "presets/sport/sports_centre.svg";
     1680    set icon_z17;
     1681}
     1682node[leisure=fitness_centre] {
     1683    icon-image: "presets/sport/fitness_centre.svg";
     1684    set icon_z17;
     1685}
     1686node[leisure=stadium] {
     1687    icon-image: "presets/sport/stadium.svg";
     1688    set icon_z17;
     1689}
     1690node[leisure=horse_riding] {
     1691    icon-image: "presets/leisure/horse_riding.svg";
     1692    set icon_z17;
     1693}
     1694node[leisure=resort] {
     1695    icon-image: "presets/leisure/resort.svg";
     1696    set icon_z17;
     1697}
     1698node[leisure=beach_resort] {
     1699    icon-image: "presets/leisure/beach_resort.svg";
     1700    set icon_z17;
     1701}
     1702node[leisure=water_park] {
     1703    icon-image: "presets/leisure/water_park.svg";
     1704    set icon_z17;
     1705}
     1706area[leisure=track][!area?!]:closed {
     1707    fill-color: leisuretrack#d4f4b9;
     1708}
     1709way[leisure=track] {
     1710    width: 2;
     1711    color: leisuretrack#d4f4b9;
     1712}
     1713node[leisure=track] {
     1714    icon-image: "presets/sport/track.svg";
     1715    set icon_z17;
     1716}
     1717area[leisure=pitch] {
     1718    fill-color: pitch#baee8d;
     1719}
     1720node[leisure=pitch] {
     1721    icon-image: "presets/sport/pitch.svg";
     1722    set icon_z17;
     1723}
     1724area[leisure=marina] {
     1725    fill-color: marina#0070cf;
     1726}
     1727node[leisure=marina] {
     1728    icon-image: "presets/nautical/marina.svg";
     1729    set icon_z17;
     1730}
     1731way[leisure=slipway] {
     1732    width: 2;
     1733    color: leisure#c7f1a3;
     1734}
     1735node[leisure=slipway] {
     1736    icon-image: "presets/nautical/slipway.svg";
     1737    set icon_z17;
     1738}
     1739area[leisure=fishing],
     1740area[leisure=bird_hide],
     1741area[leisure=nature_reserve],
     1742area[leisure=park],
     1743area[leisure=playground],
     1744area[leisure=garden],
     1745area[leisure=common],
     1746area[leisure=firepit] {
     1747    fill-color: leisure#c7f1a3;
     1748    width: 1;
     1749}
     1750node[leisure=fishing] {
     1751    icon-image: "presets/sport/fishing.svg";
     1752    set icon_z17;
     1753}
     1754node[leisure=bird_hide] {
     1755    icon-image: "presets/leisure/bird_hide.svg";
     1756    set icon_z17;
     1757}
     1758node[leisure=nature_reserve] {
     1759    icon-image: "presets/leisure/nature_reserve.svg";
     1760    set icon_z17;
     1761}
     1762node[leisure=park] {
     1763    icon-image: "presets/misc/deprecated.svg";
     1764    set icon_z17;
     1765}
     1766node[leisure=playground] {
     1767    icon-image: "presets/leisure/playground.svg";
     1768    set icon_z17;
     1769}
     1770node[leisure=garden] {
     1771    icon-image: "presets/leisure/garden.svg";
     1772    set icon_z17;
     1773}
     1774node[leisure=common] {
     1775    icon-image: "presets/leisure/common.svg";
     1776    set icon_z17;
     1777}
     1778node[leisure=firepit] {
     1779    icon-image: "presets/leisure/firepit.svg";
     1780    set icon_z17;
     1781}
     1782node[leisure=picnic_table] {
     1783    icon-image: "presets/leisure/picnic.svg";
     1784    set icon_z17;
     1785}
     1786area[leisure=swimming_pool] {
     1787    fill-color: swimming_pool#51c4ef;
     1788}
     1789node[leisure=swimming_pool] {
     1790    icon-image: "presets/sport/swimming.svg";
     1791    set icon_z17;
     1792}
     1793area[leisure=fitness_station],
     1794area[leisure=miniature_golf],
     1795area[leisure=dog_park],
     1796area[leisure=ice_rink],
     1797area[leisure=sauna] {
     1798    fill-color: leisure#c7f1a3;
     1799}
     1800node[leisure=fitness_station] {
     1801    icon-image: "presets/leisure/fitness_station.svg";
     1802    set icon_z17;
     1803}
     1804node[leisure=miniature_golf] {
     1805    icon-image: "presets/sport/miniature_golf.svg";
     1806    set icon_z17;
     1807}
     1808node[leisure=dog_park] {
     1809    icon-image: "presets/leisure/dogpark.svg";
     1810    set icon_z17;
     1811}
     1812node[leisure=ice_rink] {
     1813    icon-image: "presets/sport/ice_hockey.svg";
     1814    set icon_z17;
     1815}
     1816node[leisure=sauna] {
     1817    icon-image: "presets/leisure/sauna.svg";
     1818    set icon_z17;
     1819}
     1820area[leisure=golf_course] {
     1821    fill-color: leisure#c7f1a3;
     1822}
     1823node[leisure=golf_course] {
     1824    icon-image: "presets/sport/golf/golf.svg";
     1825    set icon_z17;
     1826}
     1827
     1828/*************/
     1829/* golf tags */
     1830/*************/
     1831area[golf=tee] {
     1832    fill-color: golf#c7f1a3;
     1833}
     1834node[golf=tee] {
     1835    icon-image: "presets/sport/golf/tee.svg";
     1836    set icon_z17;
     1837}
     1838way[golf=hole] {
     1839    width: 1;
     1840    dashes: 10,10;
     1841    color: golf_hole#808080;
     1842}
     1843node[golf=pin] {
     1844    icon-image: "presets/sport/golf/pin.svg";
     1845    set icon_z17;
     1846}
     1847area[golf=bunker] {
     1848    fill-color: golf_bunker#ffab00;
     1849}
     1850area[golf=water_hazard],
     1851area[golf=lateral_water_hazard] {
     1852    fill-color: golf_water_hazard#0000ff;
     1853}
     1854area[golf=green] {
     1855    fill-color: golf_green#00e700;
     1856}
     1857area[golf=fairway] {
     1858    fill-color: golf_fairway#009a00;
     1859}
     1860area[golf=rough] {
     1861    fill-color: golf_rough#006700;
     1862}
     1863area[golf=driving_range] {
     1864    fill-color: golf_driving_range#c7f1a3;
     1865}
     1866node[golf=driving_range] {
     1867    icon-image: "presets/sport/golf/driving_range.svg";
     1868    set icon_z17;
     1869}
     1870
     1871/********************/
     1872/* advertising tags */
     1873/********************/
     1874
     1875node[advertising=column] {
     1876    icon-image: "presets/leisure/advertising_column.svg";
     1877    set icon_z17;
     1878}
     1879area[advertising=column] {
     1880    fill-color: advertising#880000;
     1881}
     1882node[advertising=billboard] {
     1883    icon-image: "presets/leisure/billboard.svg";
     1884    set icon_z17;
     1885}
     1886way[advertising=billboard] {
     1887    width: 2;
     1888    color: advertising#880000;
     1889}
     1890
     1891/*************/
     1892/* shop tags */
     1893/*************/
     1894
     1895area[shop=supermarket],
     1896area[shop=convenience],
     1897area[shop=bakery],
     1898area[shop=butcher],
     1899area[shop=bicycle],
     1900area[shop=doityourself],
     1901area[shop=dry_cleaning],
     1902area[shop=laundry],
     1903area[shop=outdoor],
     1904area[shop=kiosk],
     1905area[shop=alcohol],
     1906area[shop=beverages],
     1907area[shop=books],
     1908area[shop=boutique],
     1909area[shop=car],
     1910area[shop=car_repair],
     1911area[shop=tyres],
     1912area[shop=chemist],
     1913area[shop=tobacco],
     1914area[shop=clothes],
     1915area[shop=computer],
     1916area[shop=confectionery],
     1917area[shop=pastry],
     1918area[shop=copyshop],
     1919area[shop=curtain],
     1920area[shop=cycle_repair],
     1921area[shop=department_store],
     1922area[shop=deli],
     1923area[shop=electronics],
     1924area[shop=erotic],
     1925area[shop=furniture],
     1926area[shop=fabric],
     1927area[shop=florist],
     1928area[shop=frame],
     1929area[shop=gas],
     1930area[shop=gift],
     1931area[shop=greengrocer],
     1932area[shop=garden_centre],
     1933area[shop=hairdresser],
     1934area[shop=hardware],
     1935area[shop=hearing_aids],
     1936area[shop=hifi],
     1937area[shop=houseware],
     1938area[shop=jewelry],
     1939area[shop=kitchen],
     1940area[shop=mall],
     1941area[shop=mobile_phone],
     1942area[shop=motorcycle],
     1943area[shop=musical_instrument],
     1944area[shop=newsagent],
     1945area[shop=optician],
     1946area[shop=medical_supply],
     1947area[shop=paint],
     1948area[shop=pawnbroker],
     1949area[shop=seafood],
     1950area[shop=dairy],
     1951area[shop=cheese],
     1952area[shop=shoes],
     1953area[shop=sports],
     1954area[shop=stationery],
     1955area[shop=tailor],
     1956area[shop=travel_agency],
     1957area[shop=toys],
     1958area[shop=vacuum_cleaner],
     1959area[shop=variety_store],
     1960area[shop=charity],
     1961area[shop=video],
     1962area[shop=bookmaker],
     1963area[shop=lottery],
     1964area[shop=shopping_centre],
     1965area[shop=pet],
     1966area[shop=photo],
     1967area[shop=ticket],
     1968area[shop=interior_decoration],
     1969area[shop=car_parts],
     1970area[shop=video_games],
     1971area[shop=bed],
     1972area[shop=beauty],
     1973area[shop=cosmetics],
     1974area[shop=perfumery],
     1975area[shop=tea],
     1976area[shop=coffee],
     1977area[shop=antiques],
     1978area[shop=music],
     1979area[shop=funeral_directors],
     1980area[shop=wine],
     1981area[shop=farm],
     1982area[shop=tattoo],
     1983area[shop=art],
     1984area[shop=bag] {
     1985    fill-color: shop#00005f;
     1986}
     1987node[shop=supermarket] {
     1988    icon-image: "presets/shop/supermarket.svg";
     1989    set icon_z17;
     1990}
     1991node[shop=convenience] {
     1992    icon-image: "presets/shop/convenience.svg";
     1993    set icon_z17;
     1994}
     1995node[shop=bakery] {
     1996    icon-image: "presets/shop/groceries/bakery.svg";
     1997    set icon_z17;
     1998}
     1999node[shop=butcher] {
     2000    icon-image: "presets/shop/groceries/butcher.svg";
     2001    set icon_z17;
     2002}
     2003node[shop=bicycle] {
     2004    icon-image: "presets/shop/bicycle.svg";
     2005    set icon_z17;
     2006}
     2007node[shop=doityourself] {
     2008    icon-image: "presets/shop/diy_store.svg";
     2009    set icon_z17;
     2010}
     2011node[shop=dry_cleaning],
     2012node[shop=laundry] {
     2013    icon-image: "presets/shop/laundry.svg";
     2014    set icon_z17;
     2015}
     2016node[shop=outdoor] {
     2017    icon-image: "presets/shop/outdoor.svg";
     2018    set icon_z17;
     2019}
     2020node[shop=kiosk] {
     2021    icon-image: "presets/shop/kiosk.svg";
     2022    set icon_z17;
     2023}
     2024node[shop=beverages] {
     2025    icon-image: "presets/shop/beverages.svg";
     2026    set icon_z17;
     2027}
     2028node[shop=alcohol] {
     2029    icon-image: "presets/shop/alcohol.svg";
     2030    set icon_z17;
     2031}
     2032node[shop=books] {
     2033    icon-image: "presets/shop/book.svg";
     2034    set icon_z17;
     2035}
     2036node[shop=boutique] {
     2037    icon-image: "presets/shop/boutique.svg";
     2038    set icon_z17;
     2039}
     2040node[shop=car] {
     2041    icon-image: "presets/shop/vehicle.svg";
     2042    set icon_z17;
     2043}
     2044node[shop=car_repair] {
     2045    icon-image: "presets/vehicle/repair_shop.svg";
     2046    set icon_z17;
     2047}
     2048node[shop=tyres] {
     2049    icon-image: "presets/vehicle/tyres.svg";
     2050    set icon_z17;
     2051}
     2052node[shop=chemist] {
     2053    icon-image: "presets/shop/chemist.svg";
     2054    set icon_z17;
     2055}
     2056node[shop=tobacco] {
     2057    icon-image: "presets/shop/tobacco.svg";
     2058    set icon_z17;
     2059}
     2060node[shop=clothes] {
     2061    icon-image: "presets/shop/clothes.svg";
     2062    set icon_z17;
     2063}
     2064node[shop=computer] {
     2065    icon-image: "presets/shop/computer.svg";
     2066    set icon_z17;
     2067}
     2068node[shop=confectionery] {
     2069    icon-image: "presets/shop/groceries/confectionery.svg";
     2070    set icon_z17;
     2071}
     2072node[shop=pastry] {
     2073    icon-image: "presets/shop/groceries/pastry.svg";
     2074    set icon_z17;
     2075}
     2076node[shop=copyshop] {
     2077    icon-image: "presets/shop/copyshop.svg";
     2078    set icon_z17;
     2079}
     2080node[shop=curtain] {
     2081    icon-image: "presets/shop/curtain.svg";
     2082    set icon_z17;
     2083}
     2084node[shop=cycle_repair] {
     2085    icon-image: "presets/shop/bicycle.svg";
     2086    set icon_z17;
     2087}
     2088node[shop=department_store] {
     2089    icon-image: "presets/shop/mall.svg";
     2090    set icon_z17;
     2091}
     2092node[shop=deli] {
     2093    icon-image: "presets/shop/groceries/deli.svg";
     2094    set icon_z17;
     2095}
     2096node[shop=electronics] {
     2097    icon-image: "presets/shop/electronics.svg";
     2098    set icon_z17;
     2099}
     2100node[shop=erotic] {
     2101    icon-image: "presets/shop/erotic.svg";
     2102    set icon_z17;
     2103}
     2104node[shop=furniture] {
     2105    icon-image: "presets/shop/furniture.svg";
     2106    set icon_z17;
     2107}
     2108node[shop=fabric] {
     2109    icon-image: "presets/shop/fabric.svg";
     2110    set icon_z17;
     2111}
     2112node[shop=florist] {
     2113    icon-image: "presets/shop/florist.svg";
     2114    set icon_z17;
     2115}
     2116node[shop=frame] {
     2117    icon-image: "presets/shop/frame.svg";
     2118    set icon_z17;
     2119}
     2120node[shop=gas] {
     2121    icon-image: "presets/shop/gas.svg";
     2122    set icon_z17;
     2123}
     2124node[shop=gift] {
     2125    icon-image: "presets/shop/present.svg";
     2126    set icon_z17;
     2127}
     2128node[shop=greengrocer] {
     2129    icon-image: "presets/shop/groceries/greengrocer.svg";
     2130    set icon_z17;
     2131}
     2132node[shop=garden_centre] {
     2133    icon-image: "presets/shop/garden_centre.svg";
     2134    set icon_z17;
     2135}
     2136node[shop=hairdresser] {
     2137    icon-image: "presets/shop/hairdresser.svg";
     2138    set icon_z17;
     2139}
     2140node[shop=hardware] {
     2141    icon-image: "presets/shop/hardware.svg";
     2142    set icon_z17;
     2143}
     2144node[shop=hearing_aids] {
     2145    icon-image: "presets/shop/hearing_aids.svg";
     2146    set icon_z17;
     2147}
     2148node[shop=hifi] {
     2149    icon-image: "presets/shop/hifi.svg";
     2150    set icon_z17;
     2151}
     2152node[shop=houseware] {
     2153    icon-image: "presets/shop/houseware.svg";
     2154    set icon_z17;
     2155}
     2156node[shop=jewelry] {
     2157    icon-image: "presets/shop/jewelry.svg";
     2158    set icon_z17;
     2159}
     2160node[shop=kitchen] {
     2161    icon-image: "presets/shop/kitchen.svg";
     2162    set icon_z17;
     2163}
     2164node[shop=mall] {
     2165    icon-image: "presets/shop/mall.svg";
     2166    set icon_z17;
     2167}
     2168node[shop=mobile_phone] {
     2169    icon-image: "presets/shop/mobile_phone.svg";
     2170    set icon_z17;
     2171}
     2172node[shop=motorcycle] {
     2173    icon-image: "presets/vehicle/motorbike.svg";
     2174    set icon_z17;
     2175}
     2176node[shop=musical_instrument] {
     2177    icon-image: "presets/shop/musical_instrument.svg";
     2178    set icon_z17;
     2179}
     2180node[shop=newsagent] {
     2181    icon-image: "presets/shop/news.svg";
     2182    set icon_z17;
     2183}
     2184node[shop=optician] {
     2185    icon-image: "presets/shop/optician.svg";
     2186    set icon_z17;
     2187}
     2188node[shop=medical_supply] {
     2189    icon-image: "presets/shop/medical_supply.svg";
     2190    set icon_z17;
     2191}
     2192node[shop=paint] {
     2193    icon-image: "presets/shop/paint.svg";
     2194    set icon_z17;
     2195}
     2196node[shop=pawnbroker] {
     2197    icon-image: "presets/shop/pawnbroker.svg";
     2198    set icon_z17;
     2199}
     2200node[shop=seafood] {
     2201    icon-image: "presets/shop/groceries/seafood.svg";
     2202    set icon_z17;
     2203}
     2204node[shop=dairy] {
     2205    icon-image: "presets/shop/groceries/dairy.svg";
     2206    set icon_z17;
     2207}
     2208node[shop=cheese] {
     2209    icon-image: "presets/shop/groceries/cheese.svg";
     2210    set icon_z17;
     2211}
     2212node[shop=shoes] {
     2213    icon-image: "presets/shop/shoes.svg";
     2214    set icon_z17;
     2215}
     2216node[shop=sports] {
     2217    icon-image: "presets/sport/multi.svg";
     2218    set icon_z17;
     2219}
     2220node[shop=stationery] {
     2221    icon-image: "presets/shop/stationery.svg";
     2222    set icon_z17;
     2223}
     2224node[shop=tailor] {
     2225    icon-image: "presets/shop/tailor.svg";
     2226    set icon_z17;
     2227}
     2228node[shop=travel_agency] {
     2229    icon-image: "presets/shop/travel_agency.svg";
     2230    set icon_z17;
     2231}
     2232node[shop=toys] {
     2233    icon-image: "presets/shop/toys.svg";
     2234    set icon_z17;
     2235}
     2236node[shop=vacuum_cleaner] {
     2237    icon-image: "presets/shop/vacuum_cleaner.svg";
     2238    set icon_z17;
     2239}
     2240node[shop=variety_store] {
     2241    icon-image: "presets/shop/variety_store.svg";
     2242    set icon_z17;
     2243}
     2244node[shop=charity] {
     2245    icon-image: "presets/shop/charity.svg";
     2246    set icon_z17;
     2247}
     2248node[shop=video] {
     2249    icon-image: "presets/shop/video.svg";
     2250    set icon_z17;
     2251}
     2252node[shop=bookmaker] {
     2253    icon-image: "presets/shop/lottery.svg";
     2254    set icon_z17;
     2255}
     2256node[shop=lottery] {
     2257    icon-image: "presets/shop/lottery.svg";
     2258    set icon_z17;
     2259}
     2260/* duplicate of shopping_centre? */
     2261node[shop=shopping_centre] {
     2262    icon-image: "presets/shop/mall.svg";
     2263    set icon_z17;
     2264}
     2265node[shop=pet] {
     2266    icon-image: "presets/shop/pet.svg";
     2267    set icon_z17;
     2268}
     2269node[shop=photo] {
     2270    icon-image: "presets/shop/photo.svg";
     2271    set icon_z17;
     2272}
     2273node[shop=ticket] {
     2274    icon-image: "presets/shop/ticket.svg";
     2275    set icon_z17;
     2276}
     2277node[shop=interior_decoration] {
     2278    icon-image: "presets/shop/interior_decoration.svg";
     2279    set icon_z17;
     2280}
     2281node[shop=car_parts] {
     2282    icon-image: "presets/vehicle/car_parts.svg";
     2283    set icon_z17;
     2284}
     2285node[shop=video_games] {
     2286    icon-image: "presets/shop/video_games.svg";
     2287    set icon_z17;
     2288}
     2289node[shop=bed] {
     2290    icon-image: "presets/shop/bed.svg";
     2291    set icon_z17;
     2292}
     2293node[shop=beauty] {
     2294    icon-image: "presets/shop/beauty.svg";
     2295    set icon_z17;
     2296}
     2297node[shop=cosmetics] {
     2298    icon-image: "presets/shop/cosmetics.svg";
     2299    set icon_z17;
     2300}
     2301node[shop=perfumery] {
     2302    icon-image: "presets/shop/perfumery.svg";
     2303    set icon_z17;
     2304}
     2305node[shop=tea] {
     2306    icon-image: "presets/shop/groceries/tea.svg";
     2307    set icon_z17;
     2308}
     2309node[shop=coffee] {
     2310    icon-image: "presets/shop/groceries/coffee.svg";
     2311    set icon_z17;
     2312}
     2313node[shop=antiques] {
     2314    icon-image: "presets/shop/antique.svg";
     2315    set icon_z17;
     2316}
     2317node[shop=music] {
     2318    icon-image: "presets/shop/music.svg";
     2319    set icon_z17;
     2320}
     2321node[shop=funeral_directors] {
     2322    icon-image: "presets/shop/funeral_directors.svg";
     2323    set icon_z17;
     2324}
     2325node[shop=wine] {
     2326    icon-image: "presets/shop/wine.svg";
     2327    set icon_z17;
     2328}
     2329node[shop=farm] {
     2330    icon-image: "presets/shop/groceries/farm.svg";
     2331    set icon_z17;
     2332}
     2333node[shop=tattoo] {
     2334    icon-image: "presets/shop/tattoo.svg";
     2335    set icon_z17;
     2336}
     2337node[shop=art] {
     2338    icon-image: "presets/shop/art.svg";
     2339    set icon_z17;
     2340}
     2341node[shop=bag] {
     2342    icon-image: "presets/shop/bag.svg";
     2343    set icon_z17;
     2344}
     2345
     2346/******************/
     2347/* emergency tags */
     2348/******************/
     2349area[emergency=ambulance_station],
     2350area[emergency=water_tank] {
     2351    fill-color: emergency#eeeeee;
     2352}
     2353node[emergency=ambulance_station] {
     2354    icon-image: "presets/emergency/ambulance_station.svg";
     2355    set icon_z17;
     2356}
     2357node[emergency=water_tank] {
     2358    icon-image: "presets/emergency/water_tank.svg";
     2359    set icon_z17;
     2360}
     2361node[emergency=phone] {
     2362    icon-image: "presets/vehicle/emergency_phone.svg";
     2363    set icon_z17;
     2364}
     2365node[emergency=defibrillator] {
     2366    icon-image: "presets/emergency/aed.svg";
     2367    set icon_z17;
     2368}
     2369node[emergency=fire_hydrant] {
     2370    icon-image: "presets/service/fire_hydrant.svg";
     2371    set icon_z17;
     2372}
     2373node[emergency=fire_extinguisher] {
     2374    icon-image: "presets/emergency/fire_extinguisher.svg";
     2375    set icon_z17;
     2376}
     2377node[emergency=fire_hose] {
     2378    icon-image: "presets/emergency/fire_hose.svg";
     2379    set icon_z17;
     2380}
     2381node[emergency=assembly_point] {
     2382    icon-image: "presets/emergency/assembly_point.svg";
     2383    set icon_z17;
     2384}
     2385node[emergency=siren] {
     2386    icon-image: "presets/emergency/siren.svg";
     2387    set icon_z17;
     2388}
     2389
     2390/****************/
     2391/* amenity tags */
     2392/****************/
     2393
     2394area[amenity=pub],
     2395area[amenity=biergarten],
     2396area[amenity=nightclub],
     2397area[amenity=stripclub],
     2398area[amenity=casino],
     2399area[amenity=brothel],
     2400area[amenity=cafe],
     2401area[amenity=restaurant],
     2402area[amenity=food_court],
     2403area[amenity=fast_food],
     2404area[amenity=bar],
     2405area[amenity=ice_cream] {
     2406    fill-color: amenity#ecba52;
     2407}
     2408node[amenity=pub] {
     2409    icon-image: "presets/food/pub.svg";
     2410    set icon_z17;
     2411}
     2412node[amenity=biergarten] {
     2413    icon-image: "presets/food/biergarten.svg";
     2414    set icon_z17;
     2415}
     2416node[amenity=nightclub] {
     2417    icon-image: "presets/leisure/nightclub.svg";
     2418    set icon_z17;
     2419}
     2420node[amenity=stripclub] {
     2421    icon-image: "presets/leisure/stripclub.svg";
     2422    set icon_z17;
     2423}
     2424node[amenity=casino] {
     2425    icon-image: "presets/leisure/casino.svg";
     2426    set icon_z17;
     2427}
     2428node[amenity=brothel] {
     2429    icon-image: "presets/leisure/brothel.svg";
     2430    set icon_z17;
     2431}
     2432node[amenity=cafe] {
     2433    icon-image: "presets/food/cafe.svg";
     2434    set icon_z17;
     2435}
     2436node[amenity=restaurant] {
     2437    icon-image: "presets/food/restaurant.svg";
     2438    set icon_z17;
     2439}
     2440node[amenity=food_court] {
     2441    icon-image: "presets/food/food_court.svg";
     2442    set icon_z17;
     2443}
     2444node[amenity=fast_food] {
     2445    icon-image: "presets/food/fast_food.svg";
     2446    set icon_z17;
     2447}
     2448node[amenity=bar] {
     2449    icon-image: "presets/food/bar.svg";
     2450    set icon_z17;
     2451}
     2452node[amenity=ice_cream] {
     2453    icon-image: "presets/food/ice_cream.svg";
     2454    set icon_z17;
     2455}
     2456area[amenity=bicycle_parking]:closed {
     2457    fill-color: amenity_traffic#f7efb7;
     2458}
     2459way[amenity=bicycle_parking] {
     2460    width: 2;
     2461    color: amenity_traffic#f7efb7;
     2462}
     2463area[amenity=parking_space] {
     2464    fill-color: parking_space#f7efb8;
     2465}
     2466area[amenity=parking],
     2467area[amenity=motorcycle_parking],
     2468area[amenity=bicycle_rental],
     2469area[amenity=bicycle_repair_station],
     2470area[amenity=car_rental],
     2471area[amenity=car_sharing],
     2472area[amenity=car_wash],
     2473area[amenity=taxi],
     2474area[amenity=fuel] {
     2475    fill-color: amenity_traffic#adadad;
     2476}
     2477node[amenity=parking_space] {
     2478    icon-image: "presets/vehicle/parking/parking_space.svg";
     2479    set icon_z17;
     2480}
     2481node[amenity=parking] {
     2482    icon-image: "presets/vehicle/parking/parking.svg";
     2483    set icon_z17;
     2484}
     2485node[amenity=parking_entrance] {
     2486    icon-image: "presets/vehicle/parking/parking.svg";
     2487    set icon_z17;
     2488}
     2489node[amenity=parking_entrance][parking=multi-storey],
     2490node[amenity=parking][parking=multi-storey] {
     2491    icon-image: "presets/vehicle/parking/multi-storey.svg";
     2492    set icon_z17;
     2493}
     2494node[amenity=parking_entrance][parking=underground],
     2495node[amenity=parking][parking=underground] {
     2496    icon-image: "presets/vehicle/parking/underground.svg";
     2497    set icon_z17;
     2498}
     2499node[amenity=motorcycle_parking] {
     2500    icon-image: "presets/vehicle/parking/motorbike.svg";
     2501    set icon_z17;
     2502}
     2503node[amenity=bicycle_parking] {
     2504    icon-image: "presets/vehicle/parking/bicycle.svg";
     2505    set icon_z17;
     2506}
     2507node[park_ride][park_ride!=no] {
     2508    icon-image: "presets/vehicle/parking/park_ride.svg";
     2509    set icon_z17;
     2510}
     2511node[amenity=parking_space][wheelchair?] {
     2512    icon-image: "presets/vehicle/parking/handicapped.svg";
     2513    set icon_z17;
     2514}
     2515node[amenity=bicycle_rental] {
     2516    icon-image: "presets/vehicle/bicycle_rental.svg";
     2517    set icon_z17;
     2518}
     2519node[amenity=bicycle_repair_station] {
     2520    icon-image: "presets/vehicle/bicycle_repair_station.svg";
     2521    set icon_z17;
     2522}
     2523node[amenity=car_rental] {
     2524    icon-image: "presets/vehicle/car_rental.svg";
     2525    set icon_z17;
     2526}
     2527node[amenity=car_sharing] {
     2528    icon-image: "presets/vehicle/car_sharing.svg";
     2529    set icon_z17;
     2530}
     2531node[amenity=car_wash] {
     2532    icon-image: "presets/vehicle/car_wash.svg";
     2533    set icon_z17;
     2534}
     2535node[amenity=taxi] {
     2536    icon-image: "presets/transport/taxi.svg";
     2537    set icon_z17;
     2538}
     2539node[amenity=fuel] {
     2540    icon-image: "presets/vehicle/fuel.svg";
     2541    set icon_z17;
     2542}
     2543node[amenity=charging_station] {
     2544    icon-image: "presets/vehicle/charging_station.svg";
     2545    set icon_z17;
     2546}
     2547node[amenity=grit_bin] {
     2548    icon-image: "presets/misc/grit_bin.svg";
     2549    set icon_z17;
     2550}
     2551node[amenity=telephone] {
     2552    icon-image: "presets/service/telephone.svg";
     2553    set icon_z17;
     2554}
     2555node[amenity=clock] {
     2556    icon-image: "presets/service/clock.svg";
     2557    set icon_z17;
     2558}
     2559node[amenity=photo_booth] {
     2560    icon-image: "presets/service/photo_booth.svg";
     2561    set icon_z17;
     2562}
     2563area[amenity=toilets],
     2564area[amenity=shower],
     2565area[amenity=internet_cafe],
     2566area[amenity=recycling],
     2567area[amenity=sanitary_dump_station] {
     2568    fill-color: amenity_light#f7efb7;
     2569}
     2570node[amenity=toilets] {
     2571    icon-image: "presets/service/toilets.svg";
     2572    set icon_z17;
     2573}
     2574node[amenity=shower] {
     2575    icon-image: "presets/service/shower.svg";
     2576    set icon_z17;
     2577}
     2578node[amenity=internet_cafe] {
     2579    icon-image: "presets/service/internet_cafe.svg";
     2580    set icon_z17;
     2581}
     2582node[amenity=recycling] {
     2583    icon-image: "presets/service/recycling/recycling.svg";
     2584    set icon_z17;
     2585}
     2586node[amenity=recycling][recycling_type=container] {
     2587    icon-image: "presets/service/recycling/recycling_container.svg";
     2588}
     2589node[amenity=recycling][recycling_type=centre] {
     2590    icon-image: "presets/service/recycling/recycling_centre.svg";
     2591}
     2592node[amenity=waste_basket] {
     2593    icon-image: "presets/service/recycling/waste_basket.svg";
     2594    set icon_z17;
     2595}
     2596node[amenity=waste_disposal] {
     2597    icon-image: "presets/service/recycling/waste_disposal.svg";
     2598    set icon_z17;
     2599}
     2600node[amenity=sanitary_dump_station] {
     2601    icon-image: "presets/service/recycling/sanitary_dump_station.svg";
     2602    set icon_z17;
     2603}
     2604area[amenity=townhall],
     2605area[amenity=embassy],
     2606area[amenity=community_centre] {
     2607    fill-color: amenity_light#f7efb7;
     2608}
     2609node[amenity=townhall] {
     2610    icon-image: "presets/service/townhall.svg";
     2611    set icon_z17;
     2612}
     2613node[amenity=embassy] {
     2614    icon-image: "presets/service/embassy.svg";
     2615    set icon_z17;
     2616}
     2617node[amenity=community_centre] {
     2618    icon-image: "presets/service/community_centre.svg";
     2619    set icon_z17;
     2620}
     2621area[amenity=water_point],
     2622area[amenity=fountain] {
     2623    fill-color: light_water#00005f;
     2624}
     2625node[amenity=drinking_water] {
     2626    icon-image: "presets/food/drinking_water.svg";
     2627    set icon_z17;
     2628}
     2629node[amenity=water_point] {
     2630    icon-image: "presets/accommodation/water.svg";
     2631    set icon_z17;
     2632}
     2633node[amenity=fountain] {
     2634    icon-image: "presets/misc/fountain.svg";
     2635    set icon_z17;
     2636}
     2637area[amenity=place_of_worship],
     2638area[amenity=grave_yard],
     2639area[amenity=crematorium],
     2640area[amenity=post_office],
     2641area[amenity=studio],
     2642area[amenity=school],
     2643area[amenity=university],
     2644area[amenity=college],
     2645area[amenity=kindergarten],
     2646area[amenity=driving_school] {
     2647    fill-color: amenity_light#f7efb7;
     2648}
     2649node[amenity=place_of_worship] {
     2650    icon-image: "presets/religion/religion.svg";
     2651    set icon_z17;
     2652}
     2653node[amenity=place_of_worship][religion=bahai] {
     2654    icon-image: "presets/religion/bahai.svg";
     2655    set icon_z17;
     2656}
     2657node[amenity=place_of_worship][religion=buddhist] {
     2658    icon-image: "presets/religion/buddhism.svg";
     2659    set icon_z17;
     2660}
     2661node[amenity=place_of_worship][religion=christian] {
     2662    icon-image: "presets/religion/church.svg";
     2663    set icon_z17;
     2664}
     2665node[amenity=place_of_worship][religion=hindu] {
     2666    icon-image: "presets/religion/hinduism.svg";
     2667    set icon_z17;
     2668}
     2669node[amenity=place_of_worship][religion=jain] {
     2670    icon-image: "presets/religion/jainism.svg";
     2671    set icon_z17;
     2672}
     2673node[amenity=place_of_worship][religion=jewish] {
     2674    icon-image: "presets/religion/jewish.svg";
     2675    set icon_z17;
     2676}
     2677node[amenity=place_of_worship][religion=muslim] {
     2678    icon-image: "presets/religion/muslim.svg";
     2679    set icon_z17;
     2680}
     2681node[amenity=place_of_worship][religion=sikh] {
     2682    icon-image: "presets/religion/sikhism.svg";
     2683    set icon_z17;
     2684}
     2685node[amenity=place_of_worship][religion=shinto] {
     2686    icon-image: "presets/religion/shinto.svg";
     2687    set icon_z17;
     2688}
     2689node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
     2690    icon-image: "presets/misc/no_icon.svg";
     2691    set icon_z17;
     2692}
     2693node[amenity=place_of_worship][religion=taoist] {
     2694    icon-image: "presets/religion/taoism.svg";
     2695    set icon_z17;
     2696}
     2697node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] {
     2698    icon-image: "presets/misc/no_icon.svg";
     2699    set icon_z17;
     2700}
     2701node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
     2702    icon-image: "presets/misc/no_icon.svg";
     2703    set icon_z17;
     2704}
     2705node[amenity=grave_yard] {
     2706    icon-image: "presets/landuse/graveyard.svg";
     2707    set icon_z17;
     2708}
     2709node[amenity=crematorium][!is_prop_set(icon-image)] {
     2710    icon-image: "presets/misc/no_icon.svg";
     2711    set icon_z17;
     2712}
     2713node[amenity=post_office] {
     2714    icon-image: "presets/service/post_office.svg";
     2715    set icon_z17;
     2716}
     2717node[amenity=post_box] {
     2718    icon-image: "presets/service/post_box.svg";
     2719    set icon_z17;
     2720}
     2721node[amenity=studio] {
     2722    icon-image: "presets/service/studio.svg";
     2723    set icon_z17;
     2724}
     2725node[amenity=school] {
     2726    icon-image: "presets/education/school.svg";
     2727    set icon_z17;
     2728}
     2729node[amenity=university] {
     2730    icon-image: "presets/education/university.svg";
     2731    set icon_z17;
     2732}
     2733node[amenity=college] {
     2734    icon-image: "presets/education/college.svg";
     2735    set icon_z17;
     2736}
     2737node[amenity=kindergarten] {
     2738    icon-image: "presets/education/kindergarten.svg";
     2739    set icon_z17;
     2740}
     2741node[amenity=driving_school] {
     2742    icon-image: "presets/education/driving_school.svg";
     2743    set icon_z17;
     2744}
     2745area[amenity=pharmacy],
     2746area[amenity=hospital],
     2747area[amenity=clinic],
     2748area[amenity=nursing_home],
     2749area[amenity=social_facility],
     2750area[amenity=baby_hatch],
     2751area[amenity=doctors],
     2752area[amenity=dentist],
     2753area[amenity=veterinary] {
     2754    fill-color: health#eeeeee;
     2755}
     2756node[amenity=pharmacy] {
     2757    icon-image: "presets/health/pharmacy.svg";
     2758    set icon_z17;
     2759}
     2760node[amenity=hospital] {
     2761    icon-image: "presets/health/hospital.svg";
     2762    set icon_z17;
     2763}
     2764node[amenity=clinic] {
     2765    icon-image: "presets/health/clinic.svg";
     2766    set icon_z17;
     2767}
     2768node[amenity=social_facility][social_facility=nursing_home],
     2769node[amenity=nursing_home] {
     2770    icon-image: "presets/social_facility/nursing_home.svg";
     2771    set icon_z17;
     2772}
     2773node[amenity=social_facility][social_facility=group_home] {
     2774    icon-image: "presets/social_facility/group_home.svg";
     2775    set icon_z17;
     2776}
     2777node[amenity=social_facility][social_facility=assisted_living] {
     2778    icon-image: "presets/social_facility/assisted_living.svg";
     2779    set icon_z17;
     2780}
     2781node[amenity=social_facility][social_facility=outreach] {
     2782    icon-image: "presets/social_facility/outreach.svg";
     2783    set icon_z17;
     2784}
     2785node[amenity=social_facility][social_facility=shelter] {
     2786    icon-image: "presets/social_facility/shelter.svg";
     2787    set icon_z17;
     2788}
     2789node[amenity=social_facility][social_facility=food_bank] {
     2790    icon-image: "presets/social_facility/food_bank.svg";
     2791    set icon_z17;
     2792}
     2793node[amenity=baby_hatch] {
     2794    icon-image: "presets/health/baby_hatch.svg";
     2795    set icon_z17;
     2796}
     2797node[amenity=doctors] {
     2798    icon-image: "presets/health/doctors.svg";
     2799    set icon_z17;
     2800}
     2801node[amenity=dentist] {
     2802    icon-image: "presets/health/dentist.svg";
     2803    set icon_z17;
     2804}
     2805node[amenity=veterinary] {
     2806    icon-image: "presets/health/veterinary.svg";
     2807    set icon_z17;
     2808}
     2809area[amenity=library],
     2810area[amenity=police],
     2811area[amenity=ranger_station],
     2812area[amenity=fire_station],
     2813area[amenity=bus_station],
     2814area[amenity=ferry_terminal],
     2815area[amenity=theatre],
     2816area[amenity=cinema],
     2817area[amenity=arts_centre],
     2818area[amenity=courthouse],
     2819area[amenity=prison],
     2820area[amenity=bank],
     2821area[amenity=bureau_de_change],
     2822area[amenity=bbq],
     2823area[amenity=watering_place] {
     2824    fill-color: amenity_light#f7efb7;
     2825}
     2826node[amenity=library] {
     2827    icon-image: "presets/education/library.svg";
     2828    set icon_z17;
     2829}
     2830node[amenity=police] {
     2831    icon-image: "presets/service/police.svg";
     2832    set icon_z17;
     2833}
     2834node[amenity=ranger_station] {
     2835    icon-image: "presets/service/ranger_station.svg";
     2836    set icon_z17;
     2837}
     2838node[amenity=fire_station] {
     2839    icon-image: "presets/service/firebrigade.svg";
     2840    set icon_z17;
     2841}
     2842node[amenity=bus_station] {
     2843    icon-image: "presets/transport/bus_old.svg";
     2844    set icon_z17;
     2845}
     2846node[amenity=ferry_terminal] {
     2847    icon-image: "presets/nautical/ferry.svg";
     2848    set icon_z17;
     2849}
     2850node[amenity=theatre] {
     2851    icon-image: "presets/leisure/theater.svg";
     2852    set icon_z17;
     2853}
     2854node[amenity=cinema] {
     2855    icon-image: "presets/leisure/cinema.svg";
     2856    set icon_z17;
     2857}
     2858node[amenity=arts_centre] {
     2859    icon-image: "presets/sightseeing/arts_centre.svg";
     2860    set icon_z17;
     2861}
     2862node[amenity=courthouse] {
     2863    icon-image: "presets/service/courthouse.svg";
     2864    set icon_z17;
     2865}
     2866node[amenity=prison] {
     2867    icon-image: "presets/service/prison.svg";
     2868    set icon_z17;
     2869}
     2870node[amenity=bank] {
     2871    icon-image: "presets/money/bank.svg";
     2872    set icon_z17;
     2873}
     2874node[amenity=bureau_de_change] {
     2875    icon-image: "presets/money/exchange.svg";
     2876    set icon_z17;
     2877}
     2878node[amenity=atm] {
     2879    icon-image: "presets/money/atm.svg";
     2880    set icon_z17;
     2881}
     2882way[amenity=bench] {
     2883    width: 2;
     2884    color: amenity_light#f7efb7;
     2885}
     2886node[amenity=bench] {
     2887    icon-image: "presets/leisure/bench.svg";
     2888    set icon_z17;
     2889}
     2890node[amenity=bbq] {
     2891    icon-image: "presets/leisure/bbq.svg";
     2892    set icon_z17;
     2893}
     2894node[amenity=compressed_air] {
     2895    icon-image: "presets/vehicle/compressed_air.svg";
     2896    set icon_z17;
     2897}
     2898node[amenity=watering_place] {
     2899    icon-image: "presets/misc/watering_place.svg";
     2900    set icon_z17;
     2901}
     2902area[amenity=shelter],
     2903area[amenity=marketplace],
     2904area[amenity=wlan] {
     2905    fill-color: amenity_light#f7efb7;
     2906}
     2907node[amenity=shelter] {
     2908    icon-image: "presets/accommodation/shelter.svg";
     2909    set icon_z17;
     2910}
     2911node[amenity=shelter][shelter_type=public_transport] {
     2912    icon-image: "presets/accommodation/shelter_public_transport.svg";
     2913    set icon_z17;
     2914}
     2915node[amenity=shelter][shelter_type=picnic_shelter] {
     2916    icon-image: "presets/accommodation/shelter_picnic.svg";
     2917    set icon_z17;
     2918}
     2919node[amenity=shelter][shelter_type=basic_hut] {
     2920    icon-image: "presets/accommodation/basic_hut.svg";
     2921    set icon_z17;
     2922}
     2923node[amenity=shelter][shelter_type=lean_to] {
     2924    icon-image: "presets/accommodation/shelter_lean_to.svg";
     2925    set icon_z17;
     2926}
     2927node[amenity=hunting_stand] {
     2928    icon-image: "presets/landmark/hunting_stand.svg";
     2929    set icon_z17;
     2930}
     2931node[amenity=marketplace] {
     2932    icon-image: "presets/shop/marketplace.svg";
     2933    set icon_z17;
     2934}
     2935node[amenity=vending_machine] {
     2936    icon-image: "presets/transport/ticket-machine.svg";
     2937    set icon_z17;
     2938}
     2939node[vending=excrement_bags] {
     2940    icon-image: "presets/service/excrement_bags.svg";
     2941    set icon_z17;
     2942}
     2943
     2944/**************/
     2945/* craft tags */
     2946/**************/
     2947
     2948area[craft=carpenter],
     2949area[craft=shoemaker],
     2950area[craft=photographer],
     2951area[craft=metal_construction],
     2952area[craft=electrician],
     2953area[craft=brewery],
     2954area[craft=plumber],
     2955area[craft=sawmill],
     2956area[craft=gardener],
     2957area[craft=winery],
     2958area[craft=hvac],
     2959area[craft=painter],
     2960area[craft=stonemason],
     2961area[craft=handicraft],
     2962area[craft=pottery],
     2963area[craft=key_cutter],
     2964area[craft=caterer],
     2965area[craft=roofer],
     2966area[craft=beekeeper],
     2967area[craft=blacksmith],
     2968area[craft=locksmith],
     2969area[craft=window_construction],
     2970area[craft=upholsterer],
     2971area[craft=tiler] {
     2972    fill-color: craft#999900;
     2973}
     2974node[craft=carpenter][!is_prop_set(icon-image)] {
     2975    icon-image: "presets/misc/no_icon.svg";
     2976    set icon_z17;
     2977}
     2978node[craft=shoemaker][!is_prop_set(icon-image)] {
     2979    icon-image: "presets/misc/no_icon.svg";
     2980    set icon_z17;
     2981}
     2982node[craft=photographer][!is_prop_set(icon-image)] {
     2983    icon-image: "presets/misc/no_icon.svg";
     2984    set icon_z17;
     2985}
     2986node[craft=metal_construction][!is_prop_set(icon-image)] {
     2987    icon-image: "presets/misc/no_icon.svg";
     2988    set icon_z17;
     2989}node[craft=electrician] {
     2990    icon-image: "presets/craft/electrician.svg";
     2991    set icon_z17;
     2992}
     2993node[craft=brewery][!is_prop_set(icon-image)] {
     2994    icon-image: "presets/misc/no_icon.svg";
     2995    set icon_z17;
     2996}
     2997node[craft=plumber] {
     2998    icon-image: "presets/craft/plumber.svg";
     2999    set icon_z17;
     3000}
     3001node[craft=sawmill][!is_prop_set(icon-image)] {
     3002    icon-image: "presets/misc/no_icon.svg";
     3003    set icon_z17;
     3004}
     3005node[craft=gardener][!is_prop_set(icon-image)] {
     3006    icon-image: "presets/misc/no_icon.svg";
     3007    set icon_z17;
     3008}
     3009node[craft=winery][!is_prop_set(icon-image)] {
     3010    icon-image: "presets/misc/no_icon.svg";
     3011    set icon_z17;
     3012}
     3013node[craft=hvac][!is_prop_set(icon-image)] {
     3014    icon-image: "presets/misc/no_icon.svg";
     3015    set icon_z17;
     3016}
     3017node[craft=painter] {
     3018    icon-image: "presets/craft/painter.svg";
     3019    set icon_z17;
     3020}
     3021node[craft=stonemason][!is_prop_set(icon-image)] {
     3022    icon-image: "presets/misc/no_icon.svg";
     3023    set icon_z17;
     3024}
     3025node[craft=handicraft][!is_prop_set(icon-image)] {
     3026    icon-image: "presets/misc/no_icon.svg";
     3027    set icon_z17;
     3028}
     3029node[craft=pottery] {
     3030    icon-image: "presets/craft/pottery.svg";
     3031    set icon_z17;
     3032}
     3033node[craft=key_cutter] {
     3034    icon-image: "presets/craft/key_cutter.svg";
     3035    set icon_z17;
     3036}
     3037node[craft=caterer][!is_prop_set(icon-image)] {
     3038    icon-image: "presets/misc/no_icon.svg";
     3039    set icon_z17;
     3040}
     3041node[craft=roofer] {
     3042    icon-image: "presets/craft/roofer.svg";
     3043    set icon_z17;
     3044}
     3045node[craft=beekeeper] {
     3046    icon-image: "presets/craft/beekeeper.svg";
     3047    set icon_z17;
     3048}
     3049node[craft=blacksmith][!is_prop_set(icon-image)] {
     3050    icon-image: "presets/misc/no_icon.svg";
     3051    set icon_z17;
     3052}
     3053node[craft=locksmith] {
     3054    icon-image: "presets/craft/locksmith.svg";
     3055    set icon_z17;
     3056}
     3057node[craft=window_construction] {
     3058    icon-image: "presets/craft/window_construction.svg";
     3059    set icon_z17;
     3060}
     3061node[craft=upholsterer][!is_prop_set(icon-image)] {
     3062    icon-image: "presets/misc/no_icon.svg";
     3063    set icon_z17;
     3064}
     3065node[craft=tiler] {
     3066    icon-image: "presets/craft/tiler.svg";
     3067    set icon_z17;
     3068}
     3069
     3070/****************/
     3071/* tourism tags */
     3072/****************/
     3073
     3074area[tourism=hotel],
     3075area[tourism=motel],
     3076area[tourism=guest_house],
     3077area[tourism=apartment],
     3078area[tourism=hostel],
     3079area[tourism=chalet],
     3080area[tourism=alpine_hut],
     3081area[tourism=wilderness_hut],
     3082area[tourism=camp_site],
     3083area[tourism=caravan_site] {
     3084    fill-color: hotel#feced0;
     3085}
     3086node[tourism=hotel] {
     3087    icon-image: "presets/accommodation/hotel.svg";
     3088    set icon_z17;
     3089}
     3090node[tourism=motel] {
     3091    icon-image: "presets/accommodation/motel.svg";
     3092    set icon_z17;
     3093}
     3094node[tourism=guest_house] {
     3095    icon-image: "presets/accommodation/guest_house.svg";
     3096    set icon_z17;
     3097}
     3098node[tourism=apartment] {
     3099    icon-image: "presets/accommodation/apartment.svg";
     3100    set icon_z17;
     3101}
     3102node[tourism=hostel] {
     3103    icon-image: "presets/accommodation/hostel.svg";
     3104    set icon_z17;
     3105}
     3106node[tourism=chalet] {
     3107    icon-image: "presets/accommodation/chalet.svg";
     3108    set icon_z17;
     3109}
     3110node[tourism=alpine_hut] {
     3111    icon-image: "presets/accommodation/alpine_hut.svg";
     3112    set icon_z17;
     3113}
     3114node[tourism=wilderness_hut] {
     3115    icon-image: "presets/accommodation/wilderness_hut.svg";
     3116    set icon_z17;
     3117}
     3118node[tourism=camp_site] {
     3119    icon-image: "presets/accommodation/camping.svg";
     3120    set icon_z17;
     3121}
     3122node[tourism=caravan_site] {
     3123    icon-image: "presets/accommodation/caravan.svg";
     3124    set icon_z17;
     3125}
     3126area[tourism=attraction]:closed {
     3127    fill-color: tourism#e180a2;
     3128}
     3129way[tourism=attraction] {
     3130    width: 2;
     3131    color: tourism#e180a2;
     3132}
     3133node[tourism=attraction] {
     3134    icon-image: "presets/sightseeing/attraction.svg";
     3135    set icon_z17;
     3136}
     3137area[tourism=picnic_site],
     3138area[tourism=viewpoint],
     3139area[tourism=theme_park],
     3140area[tourism=zoo],
     3141area[tourism=museum] {
     3142    fill-color: tourism#e180a2;
     3143}
     3144node[tourism=picnic_site] {
     3145    icon-image: "presets/leisure/picnic.svg";
     3146    set icon_z17;
     3147}
     3148node[tourism=viewpoint] {
     3149    icon-image: "presets/sightseeing/viewpoint.svg";
     3150    set icon_z17;
     3151}
     3152node[tourism=theme_park] {
     3153    icon-image: "presets/leisure/theme_park.svg";
     3154    set icon_z17;
     3155}
     3156node[tourism=zoo] {
     3157    icon-image: "presets/leisure/zoo.svg";
     3158    set icon_z17;
     3159}
     3160area[tourism=artwork]:closed {
     3161    fill-color: tourism#e180a2;
     3162}
     3163way[tourism=artwork][!highway] {
     3164    width: 2;
     3165    color: tourism#e180a2;
     3166}
     3167node[tourism=artwork] {
     3168    icon-image: "presets/sightseeing/arts_centre.svg";
     3169    set icon_z17;
     3170}
     3171node[tourism=museum] {
     3172    icon-image: "presets/sightseeing/museum.svg";
     3173    set icon_z17;
     3174}
     3175
     3176/********************/
     3177/* attraction tags */
     3178/********************/
     3179
     3180area[attraction=animal] {
     3181    fill-color: attraction#ffbfd3;
     3182    color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
     3183}
     3184node[attraction=animal] {
     3185    icon-image: "presets/attraction/animal.svg";
     3186    set icon_z17;
     3187}
     3188
     3189/********************/
     3190/* information tags */
     3191/********************/
     3192
     3193area[tourism=information] {
     3194    fill-color: tourism#e180a2;
     3195}
     3196node[tourism=information] {
     3197    icon-image: "presets/misc/information/information.svg";
     3198    set icon_z17;
     3199}
     3200node[tourism=information][information=guidepost] {
     3201    icon-image: "presets/misc/information/guidepost.svg";
     3202    set icon_z17;
     3203}
     3204area[tourism=information][information=office] {
     3205    fill-color: tourism#e180a2;
     3206}
     3207node[tourism=information][information=office] {
     3208    icon-image: "presets/misc/information/informationoffice.svg";
     3209    set icon_z17;
     3210}
     3211node[tourism=information][information=map] {
     3212    icon-image: "presets/misc/information/map.svg";
     3213    set icon_z17;
     3214}
     3215node[tourism=information][information=board] {
     3216    icon-image: "presets/misc/information/board.svg";
     3217    set icon_z17;
     3218}
     3219
     3220/*****************/
     3221/* historic tags */
     3222/*****************/
     3223
     3224area[historic=castle],
     3225area[historic=monument],
     3226area[historic=memorial],
     3227area[historic=tomb],
     3228area[historic=archaeological_site],
     3229area[historic=ruins],
     3230area[historic=battlefield],
     3231area[geological=palaeontological_site],
     3232area[historic=wayside_cross],
     3233area[historic=wayside_shrine],
     3234area[historic=boundary_stone] {
     3235    fill-color: historic#663300;
     3236}
     3237node[historic=castle] {
     3238    icon-image: "presets/sightseeing/castle.svg";
     3239    set icon_z17;
     3240}
     3241node[historic=monument] {
     3242    icon-image: "presets/sightseeing/monument.svg";
     3243    set icon_z17;
     3244}
     3245node[historic=memorial] {
     3246    icon-image: "presets/sightseeing/memorial.svg";
     3247    set icon_z17;
     3248}
     3249node[historic=archaeological_site] {
     3250    icon-image: "presets/sightseeing/archaeological.svg";
     3251    set icon_z17;
     3252}
     3253node[historic=ruins] {
     3254    icon-image: "presets/sightseeing/ruins.svg";
     3255    set icon_z17;
     3256}
     3257node[historic=battlefield] {
     3258    icon-image: "presets/sightseeing/battlefield.svg";
     3259    set icon_z17;
     3260}
     3261node[geological=palaeontological_site] {
     3262    icon-image: "presets/sightseeing/palaeontological_site.svg";
     3263    set icon_z17;
     3264}
     3265node[historic=wayside_cross] {
     3266    icon-image: "presets/religion/wayside_cross.svg";
     3267    set icon_z17;
     3268}
     3269node[historic=wayside_shrine] {
     3270    icon-image: "presets/religion/wayside_shrine.svg";
     3271    set icon_z17;
     3272}
     3273node[historic=boundary_stone] {
     3274    icon-image: "presets/landmark/boundary_stone.svg";
     3275    set icon_z17;
     3276}
     3277area[cemetery=grave] {
     3278    fill-color: grave#663300;
     3279}
     3280node[cemetery=grave] {
     3281    icon-image: "presets/misc/grave.svg";
     3282    set icon_z17;
     3283}
     3284node[historic=tomb] {
     3285    icon-image: "presets/misc/tomb.svg";
     3286    set icon_z17;
     3287}
     3288
     3289/****************/
     3290/* landuse tags */
     3291/****************/
     3292
     3293area[landuse],
     3294area[leisure],
     3295area[amenity],
     3296area[place],
     3297area[natural],
     3298area[man_made] {
     3299    z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
     3300}
     3301area[landuse=farmland] {
     3302    fill-color: farmland#b8e0b1;
     3303    width: 1;
     3304}
     3305area[landuse=meadow] {
     3306    fill-color: meadow#b1e0b6;
     3307    width: 1;
     3308}
     3309area[landuse=vineyard],
     3310area[landuse=orchard] {
     3311    fill-color: green#b1e0c2;
     3312    width: 1;
     3313}
     3314area[landuse=quarry] {
     3315    fill-color: quarry#888888;
     3316    width: 1;
     3317}
     3318area[landuse=landfill] {
     3319    fill-color: landfill#663300;
     3320    width: 1;
     3321}
     3322area[landuse=basin],
     3323area[landuse=reservoir] {
     3324    fill-color: basin#0000bf;
     3325}
     3326area[landuse=forest] {
     3327    fill-color: forest#1c7a13;
     3328}
     3329area[landuse=allotments] {
     3330    fill-color: allotments#5dbf80;
     3331    width: 1;
     3332}
     3333area[landuse=greenhouse_horticulture],
     3334area[landuse=plant_nursery] {
     3335    fill-color: green#b1e0c2;
     3336    width: 1;
     3337}
     3338area[landuse=salt_pond] {
     3339    fill-color: salt_pond#eeeeee;
     3340}
     3341area[landuse=aquaculture] {
     3342    fill-color: aquaculture#189dff;
     3343    width: 1;
     3344}
     3345area[landuse=grass]{
     3346    fill-color: grass#97ca96;
     3347}
     3348area[landuse=residential] {
     3349    fill-color: residential#c4bd19;
     3350    width: 1;
     3351}
     3352area[landuse=garages] {
     3353    fill-color: garages#d6c8aa;
     3354    width: 1;
     3355}
     3356area[landuse=farmyard] {
     3357    fill-color: farmyard#f0f0f0;
     3358    width: 1;
     3359}
     3360area[landuse=retail],
     3361area[landuse=commercial] {
     3362    fill-color: retail#ffc4ee;
     3363    width: 1;
     3364}
     3365area[landuse=industrial] {
     3366    fill-color: industrial#ecd8ff;
     3367    width: 1;
     3368}
     3369area[landuse=brownfield] {
     3370    fill-color: brownfield#ecba32;
     3371    width: 1;
     3372}
     3373area[landuse=greenfield] {
     3374    fill-color: greenfield#b1ec5c;
     3375    width: 1;
     3376}
     3377area[landuse=railway] {
     3378    fill-color: railland#888888;
     3379    width: 1;
     3380}
     3381area[landuse=construction] {
     3382    fill-color: construction#ffff00;
     3383    width: 1;
     3384}
     3385way[landuse=construction] {
     3386    width: 1;
     3387    color: construction#ffff00;
     3388    dashes: 9,9;
     3389}
     3390area[landuse=military] {
     3391    fill-color: military#b62c2c;
     3392}
     3393area[landuse=religious] {
     3394    fill-color: religious#ffd454;
     3395    width: 1;
     3396}
     3397area[landuse=cemetery] {
     3398    fill-color: cemetery#b1efc8;
     3399    width: 1;
     3400}
     3401area[landuse=village_green] {
     3402    fill-color: green#b1e0c2;
     3403    width: 1;
     3404}
     3405area[landuse=recreation_ground] {
     3406    fill-color: green#b1e0c2;
     3407    width: 1;
     3408}
     3409node[landuse] {
     3410    icon-image: "presets/misc/deprecated.svg";
     3411    set icon_z17;
     3412}
     3413
     3414/*****************/
     3415/* military tags */
     3416/*****************/
     3417
     3418area[military=airfield],
     3419area[military=bunker],
     3420area[military=barracks],
     3421area[military=danger_area],
     3422area[military=range] {
     3423    fill-color: military#b62c2c;
     3424}
     3425node[military=airfield] {
     3426    icon-image: "presets/transport/airport/airfield.svg";
     3427    set icon_z17;
     3428}
     3429node[military=bunker] {
     3430    icon-image: "presets/landmark/bunker.svg";
     3431    set icon_z17;
     3432}
     3433node[military=barracks][!is_prop_set(icon-image)] {
     3434    icon-image: "presets/misc/no_icon.svg";
     3435    set icon_z17;
     3436}
     3437node[military=danger_area] {
     3438    icon-image: "presets/misc/danger.svg";
     3439    set icon_z17;
     3440}
     3441node[military=range] {
     3442    icon-image: "presets/sport/range.svg";
     3443    set icon_z17;
     3444}
     3445
     3446/****************/
     3447/* railway tags */
     3448/****************/
     3449
     3450area[railway=station] {
     3451    fill-color: railwaypoint#f7efb7;
     3452}
     3453node[railway=station] {
     3454    icon-image: "presets/transport/railway_station.svg";
     3455    set icon_z17;
     3456}
     3457node[railway=halt] {
     3458    icon-image: "presets/transport/railway_halt.svg";
     3459    set icon_z17;
     3460}
     3461node[railway=tram_stop] {
     3462    icon-image: "presets/transport/tram.svg";
     3463    set icon_z17;
     3464}
     3465node[railway=subway_entrance] {
     3466    icon-image: "presets/transport/underground.svg";
     3467    set icon_z17;
     3468}
     3469node[railway=crossing] {
     3470    icon-image: "presets/transport/railway/crossing.svg";
     3471    set icon_z17;
     3472}
     3473node[railway=level_crossing] {
     3474    icon-image: "presets/transport/railway/level_crossing.svg";
     3475    set icon_z17;
     3476}
     3477way[railway=rail] {
     3478    width: 2;
     3479    color: rail#ffffff;
     3480    dashes: 12,12;
     3481    casing-color: raildashed#555555;
     3482    casing-width: 2;
     3483}
     3484
     3485/* draw tram on top of other way (highway=*) or
     3486   as a standalone style */
     3487way[highway][railway=tram]::core_railway,
     3488way[!highway][railway=tram] {
     3489    object-z-index: 1;
     3490    modifier: false; /* don't draw default way if there is no line on default layer */
     3491    width: 2;
     3492    color: rail#ffffff;
     3493    dashes: 12,12;
     3494    casing-color: raildashed#555555;
     3495    casing-width: 2;
     3496}
     3497way[railway=light_rail] {
     3498    width: 2;
     3499    color: rail#ffffff;
     3500    dashes: 12,12;
     3501    casing-color: raildashed#555555;
     3502    casing-width: 2;
     3503}
     3504way[railway=subway] {
     3505    width: 2;
     3506    color: rail#ffffff;
     3507    dashes: 12,12;
     3508    casing-color: raildashed#000000;
     3509    casing-width: 2;
     3510}
     3511way[railway=preserved] {
     3512    width: 1;
     3513    color: oldrail#404040;
     3514    dashes: 9,9;
     3515}
     3516way[railway=light_rail][service=crossover],
     3517way[railway=light_rail][service=siding],
     3518way[railway=light_rail][service=yard],
     3519way[railway=light_rail][service=spur],
     3520way[railway=subway][service=crossover],
     3521way[railway=subway][service=siding],
     3522way[railway=subway][service=yard],
     3523way[railway=subway][service=spur],
     3524way[railway=preserved][service=crossover],
     3525way[railway=preserved][service=siding],
     3526way[railway=preserved][service=yard],
     3527way[railway=preserved][service=spur] {
     3528    dashes: 6,6;
     3529}
     3530/* disused often appears together with highway=xy */
     3531/* -> draw on separate layer with higher z-index, but use */
     3532/* modifier: false; to suppress default line when used alone. */
     3533/* use default layer when used without highway=* to display bridge correctly */
     3534way[railway=disused][highway]::core_railway,
     3535way[railway=disused][!highway],
     3536way[railway=abandoned][highway]::core_railway,
     3537way[railway=abandoned][!highway] {
     3538    width: 1;
     3539    modifier: false;
     3540    z-index: 1;
     3541    color: oldrail#404040;
     3542    dashes: 9,9;
     3543}
     3544way[railway=narrow_gauge],
     3545way[railway=monorail] {
     3546    width: 1;
     3547    color: rail#404040;
     3548    dashes: 9,9;
     3549}
     3550way[railway=narrow_gauge][service=crossover],
     3551way[railway=narrow_gauge][service=siding],
     3552way[railway=narrow_gauge][service=yard],
     3553way[railway=narrow_gauge][service=spur],
     3554way[railway=monorail][service=crossover],
     3555way[railway=monorail][service=siding],
     3556way[railway=monorail][service=yard],
     3557way[railway=monorail][service=spur] {
     3558    dashes: 6,6;
     3559}
     3560area[railway=turntable] {
     3561    fill-color: rail#404040;
     3562}
     3563node[railway=turntable] {
     3564    icon-image: "presets/transport/railway/turntable.svg";
     3565    set icon_z17;
     3566}
     3567node[railway=buffer_stop] {
     3568    icon-image: "presets/transport/railway/buffer_stop.svg";
     3569    set icon_z17;
     3570}
     3571area[railway=platform]:closed {
     3572    fill-color: rail#404040;
     3573}
     3574way[railway=platform] {
     3575    width: 2;
     3576    color: rail#404040;
     3577}
     3578way[railway=funicular] {
     3579    width: 1;
     3580    color: rail#404040;
     3581    dashes: 9,9;
     3582}
     3583node[railway=switch] {
     3584    icon-image: "presets/transport/railway/switch.svg";
     3585    set icon_z17;
     3586}
     3587node[railway=signal] {
     3588    icon-image: "presets/transport/railway/signal.svg";
     3589    set icon_z17;
     3590}
     3591node[railway=milestone] {
     3592    icon-image: "presets/transport/railway/milestone.svg";
     3593    set icon_z17;
     3594}
     3595node[railway=rail], node[railway=tram], node[railway=light_rail],
     3596node[railway=subway], node[railway=preserved],
     3597node[railway=disused], node[railway=abandoned],
     3598node[railway=narrow_gauge], node[railway=monorail],
     3599node[railway=platform], node[railway=funicular],
     3600node[service=yard], node[service=siding], node[service=spur] {
     3601    icon-image: "presets/misc/deprecated.svg";
     3602    set icon_z17;
     3603}
     3604way[railway=construction][!highway] {
     3605    width: 1;
     3606    color: construction#ffff00;
     3607    dashes: 9,9;
     3608}
     3609way[railway=construction][construction=rail] {
     3610    width: 2;
     3611    color: rail#404040;
     3612    dashes: 9,9;
     3613    dashes-background-color: construction#ffff00;
     3614}
     3615way[railway=construction][construction=light_rail] {
     3616    width: 2;
     3617}
     3618way[railway=construction][construction=tram][highway]::core_railway,
     3619way[railway=construction][construction=tram][!highway] {
     3620    z-index: 1;
     3621    width: 1;
     3622    color: railover#202020;
     3623    dashes: 9,9;
     3624    casing-width: 1;
     3625    casing-color: construction#ffff00;
     3626    casing-linecap: round;
     3627    casing-dashes: 9,9;
     3628}
     3629
     3630/****************/
     3631/* aeroway tags */
     3632/****************/
     3633
     3634area[aeroway=aerodrome] {
     3635    fill-color: aeroway#660000;
     3636    width: 2;
     3637    dashes: 9,9;
     3638}
     3639node[aeroway=aerodrome][military!=airfield] {
     3640    icon-image: "presets/transport/airport.svg";
     3641    set icon_z17;
     3642}
     3643area[aeroway=terminal] {
     3644    fill-color: terminal#bb0000;
     3645}
     3646node[aeroway=terminal] {
     3647    icon-image: "presets/transport/airport/terminal.svg";
     3648    set icon_z17;
     3649}
     3650area[aeroway=helipad] {
     3651    fill-color: aeroway_dark#330000;
     3652}
     3653node[aeroway=helipad] {
     3654    icon-image: "presets/transport/airport/helipad.svg";
     3655    set icon_z17;
     3656}
     3657area[aeroway=runway]:closed {
     3658    fill-color: aeroway_dark#330000;
     3659}
     3660way[aeroway=runway] {
     3661    width: 3;
     3662    color: aeroway_dark#330000;
     3663}
     3664area[aeroway=taxiway]:closed {
     3665    fill-color: aeroway#660000;
     3666}
     3667way[aeroway=taxiway] {
     3668    width: 2;
     3669    color: aeroway#660000;
     3670}
     3671way[aeroway=parking_position] {
     3672    width: 1;
     3673    color: aeroway#660000;
     3674}
     3675node[aeroway=parking_position] {
     3676    icon-image: "presets/transport/airport/parking_position.svg";
     3677    set icon_z17;
     3678}
     3679area[aeroway=apron],
     3680area[aeroway=hangar] {
     3681    fill-color: aeroway_light#990000;
     3682}
     3683node[aeroway=apron],
     3684node[aeroway=runway],
     3685node[aeroway=taxiway] {
     3686    icon-image: "presets/misc/deprecated.svg";
     3687    set icon_z17;
     3688}
     3689node[aeroway=holding_position] {
     3690    icon-image: "presets/transport/airport/holding_position.svg";
     3691    set icon_z17;
     3692}
     3693node[aeroway=hangar] {
     3694    icon-image: "presets/transport/airport/hangar.svg";
     3695    set icon_z17;
     3696}
     3697node[aeroway=gate] {
     3698    icon-image: "presets/transport/airport/gate.svg";
     3699    set icon_z17;
     3700}
     3701node[airmark=beacon] {
     3702    icon-image: "presets/transport/airport/airmark_beacon.svg";
     3703    set icon_z17;
     3704}
     3705node[aeroway=navigationaid] {
     3706    icon-image: "presets/transport/airport/navigationaid.svg";
     3707    set icon_z17;
     3708}
     3709node[aeroway=windsock] {
     3710    icon-image: "presets/transport/airport/windsock.svg";
     3711    set icon_z17;
     3712}
     3713
     3714/******************/
     3715/* aerialway tags */
     3716/******************/
     3717
     3718way[aerialway=cable_car],
     3719way[aerialway=gondola] {
     3720    width: 1;
     3721    color: aerialway#663300;
     3722    dashes: 9,9;
     3723}
     3724way[aerialway=chair_lift] {
     3725    width: 1;
     3726    color: aerialway#663300;
     3727    dashes: 6,6;
     3728}
     3729way[aerialway=mixed_lift] {
     3730    width: 1;
     3731    color: aerialway#663300;
     3732    dashes: 6,6,9,6;
     3733}
     3734way[aerialway=j-bar],
     3735way[aerialway=t-bar],
     3736way[aerialway=platter],
     3737way[aerialway=rope_tow],
     3738way[aerialway=drag_lift] {
     3739    width: 1;
     3740    color: aerialway#663300;
     3741    dashes: 3,3;
     3742}
     3743way[aerialway=magic_carpet] {
     3744    width: 1;
     3745    color: aerialway#663300;
     3746    dashes: 3,3;
     3747}
     3748way[aerialway=goods] {
     3749    width: 1;
     3750    color: aerialway#663300;
     3751    dashes: 2,2;
     3752}
     3753area[aerialway=station] {
     3754    fill-color: aerialway#663300;
     3755}
     3756node[aerialway=station] {
     3757    icon-image: "presets/transport/aerialway/station.svg";
     3758    set icon_z17;
     3759}
     3760node[aerialway=pylon] {
     3761    icon-image: "presets/transport/aerialway/pylon.svg";
     3762    set icon_z17;
     3763}
     3764node[aerialway=cable_car],
     3765node[aerialway=gondola],
     3766node[aerialway=chair_lift],
     3767node[aerialway=mixed_lift],
     3768node[aerialway=drag_lift],
     3769node[aerialway=t-bar],
     3770node[aerialway=j-bar],
     3771node[aerialway=platter],
     3772node[aerialway=magic_carpet],
     3773node[aerialway=rope_tow],
     3774node[aerialway=goods] {
     3775    icon-image: "presets/misc/deprecated.svg";
     3776    set icon_z17;
     3777}
     3778
     3779/*************************/
     3780/* public_transport tags */
     3781/*************************/
     3782
     3783node[highway=bus_stop] {
     3784    icon-image: "presets/transport/bus_small.svg";
     3785    set icon_z17;
     3786}
     3787node[public_transport=stop_position] {
     3788    icon-image: "presets/transport/stop_position.svg";
     3789    set icon_z17;
     3790}
     3791node[public_transport=stop_position][share_taxi=yes] {
     3792    icon-image: "presets/transport/share_taxi.svg";
     3793    set icon_z17;
     3794}
     3795node[public_transport=stop_position][bus=yes] {
     3796    icon-image: "presets/transport/bus.svg";
     3797    set icon_z17;
     3798}
     3799node[public_transport=stop_position][train=yes] {
     3800    icon-image: "presets/transport/train.svg";
     3801    set icon_z17;
     3802}
     3803node[public_transport=stop_position][light_rail=yes] {
     3804    icon-image: "presets/transport/railway/light_rail.svg";
     3805    set icon_z17;
     3806}
     3807node[public_transport=stop_position][tram=yes] {
     3808    icon-image: "presets/transport/railway/tram.svg";
     3809    set icon_z17;
     3810}
     3811node[public_transport=stop_position][subway=yes] {
     3812    icon-image: "presets/transport/railway/subway.svg";
     3813    set icon_z17;
     3814}
     3815node[public_transport=stop_position][monorail=yes] {
     3816    icon-image: "presets/transport/railway/monorail.svg";
     3817    set icon_z17;
     3818}
     3819node[public_transport=stop_position][trolleybus=yes] {
     3820    icon-image: "presets/transport/trolleybus.svg";
     3821    set icon_z17;
     3822}
     3823node[public_transport=stop_position][funicular=yes] {
     3824    icon-image: "presets/transport/railway/funicular.svg";
     3825    set icon_z17;
     3826}
     3827node[public_transport=stop_position][aerialway=yes] {
     3828    icon-image: "presets/transport/aerialway/station.svg";
     3829    set icon_z17;
     3830}
     3831node[public_transport=stop_position][ferry=yes] {
     3832    icon-image: "presets/nautical/ferry.svg";
     3833    set icon_z17;
     3834}
     3835area[public_transport=platform]:closed {
     3836    fill-color: service#809bc0;
     3837}
     3838way[public_transport=platform]!:closed {
     3839    width: 3;
     3840    color: service#809bc0;
     3841    dashes: 12,3;
     3842}
     3843node[public_transport=platform] {
     3844    icon-image: "presets/transport/platform.svg";
     3845    set icon_z17;
     3846}
     3847area[public_transport=station] {
     3848    fill-color: railwaypoint#f7efb7;
     3849}
     3850node[public_transport=station] {
     3851    icon-image: "presets/transport/station.svg";
     3852    set icon_z17;
     3853}
     3854
     3855/**************/
     3856/* sport tags */
     3857/**************/
     3858
     3859area[sport="9pin"],
     3860area[sport="10pin"],
     3861area[sport=soccer],
     3862area[sport=australian_football],
     3863area[sport=american_football],
     3864area[sport=canadian_football],
     3865area[sport=gaelic_games],
     3866area[sport=rugby_league],
     3867area[sport=rugby_union] {
     3868    fill-color: sport#bde3cb;
     3869}
     3870node[sport="9pin"] {
     3871    icon-image: "presets/sport/9pin.svg";
     3872    set icon_z17;
     3873}
     3874node[sport="10pin"] {
     3875    icon-image: "presets/sport/10pin.svg";
     3876    set icon_z17;
     3877}
     3878node[sport=soccer],
     3879node[sport=gaelic_games] {
     3880    icon-image: "presets/sport/soccer.svg";
     3881    set icon_z17;
     3882}
     3883node[sport=australian_football],
     3884node[sport=american_football],
     3885node[sport=canadian_football],
     3886node[sport=rugby_league],
     3887node[sport=rugby_union] {
     3888    icon-image: "presets/sport/football.svg";
     3889    set icon_z17;
     3890}
     3891area[sport=baseball],
     3892area[sport=basketball],
     3893area[sport=boules],
     3894area[sport=bowls],
     3895area[sport=canoe],
     3896area[sport=chess],
     3897area[sport=climbing]:closed,
     3898area[sport=cricket],
     3899area[sport=croquet] {
     3900    fill-color: sport#bde3cb;
     3901}
     3902node[sport=baseball] {
     3903    icon-image: "presets/sport/baseball.svg";
     3904    set icon_z17;
     3905}
     3906node[sport=basketball] {
     3907    icon-image: "presets/sport/basketball.svg";
     3908    set icon_z17;
     3909}
     3910node[sport=boules] {
     3911    icon-image: "presets/sport/boule.svg";
     3912    set icon_z17;
     3913}
     3914node[sport=bowls] {
     3915    icon-image: "presets/sport/boule.svg";
     3916    set icon_z17;
     3917}
     3918node[sport=canoe] {
     3919    icon-image: "presets/sport/canoe.svg";
     3920    set icon_z17;
     3921}
     3922node[sport=chess] {
     3923    icon-image: "presets/sport/chess.svg";
     3924    set icon_z17;
     3925}
     3926node[sport=climbing] {
     3927    icon-image: "presets/sport/climbing.svg";
     3928    set icon_z17;
     3929}
     3930node[sport=cricket] {
     3931    icon-image: "presets/sport/cricket.svg";
     3932    set icon_z17;
     3933}
     3934node[sport=croquet] {
     3935    icon-image: "presets/sport/croquet.svg";
     3936    set icon_z17;
     3937}
     3938area[sport=cycling],
     3939area[sport=dog_racing],
     3940area[sport=equestrian],
     3941area[sport=golf],
     3942area[sport=gymnastics],
     3943area[sport=field_hockey],
     3944area[sport=ice_hockey],
     3945area[sport=horse_racing],
     3946area[sport=karting][highway!=raceway],
     3947area[sport=karting][highway=raceway][area=yes],
     3948area[sport=motocross][highway!=raceway],
     3949area[sport=motocross][highway=raceway][area=yes],
     3950area[sport=motor][highway!=raceway],
     3951area[sport=motor][highway=raceway][area=yes] {
     3952    fill-color: sport#bde3cb;
     3953}
     3954node[sport=cycling] {
     3955    icon-image: "presets/sport/cycling.svg";
     3956    set icon_z17;
     3957}
     3958node[sport=dog_racing] {
     3959    icon-image: "presets/sport/dog_racing.svg";
     3960    set icon_z17;
     3961}
     3962node[sport=equestrian] {
     3963    icon-image: "presets/sport/equestrian.svg";
     3964    set icon_z17;
     3965}
     3966node[sport=golf] {
     3967    icon-image: "presets/sport/golf.svg";
     3968    set icon_z17;
     3969}
     3970node[sport=gymnastics] {
     3971    icon-image: "presets/sport/gymnastics.svg";
     3972    set icon_z17;
     3973}
     3974node[sport=field_hockey] {
     3975    icon-image: "presets/sport/field_hockey.svg";
     3976    set icon_z17;
     3977}
     3978node[sport=ice_hockey] {
     3979    icon-image: "presets/sport/ice_hockey.svg";
     3980    set icon_z17;
     3981}
     3982node[sport=horse_racing] {
     3983    icon-image: "presets/sport/riding.svg";
     3984    set icon_z17;
     3985}
     3986node[sport=karting] {
     3987    icon-image: "presets/sport/karting.svg";
     3988    set icon_z17;
     3989}
     3990node[sport=motocross] {
     3991    icon-image: "presets/sport/motocross.svg";
     3992    set icon_z17;
     3993}
     3994node[sport=motor] {
     3995    icon-image: "presets/sport/motor.svg";
     3996    set icon_z17;
     3997}
     3998area[sport=athletics] {
     3999    fill-color: sport_athletics#cfebd7;
     4000}
     4001node[sport=athletics] {
     4002    icon-image: "presets/sport/athletics.svg";
     4003    set icon_z17;
     4004}
     4005area[sport=running] {
     4006    fill-color: sport_running#cfebd8;
     4007}
     4008node[sport=running] {
     4009    icon-image: "presets/sport/running.svg";
     4010    set icon_z17;
     4011}
     4012area[sport=multi] {
     4013    fill-color: sport_multi#cfebd9;
     4014}
     4015node[sport=multi] {
     4016    icon-image: "presets/sport/multi.svg";
     4017    set icon_z17;
     4018}
     4019area[sport=pelota],
     4020area[sport=racquet],
     4021area[sport=ice_skating],
     4022area[sport=roller_skating],
     4023area[sport=skateboard] {
     4024    fill-color: sport#bde3cb;
     4025}
     4026node[sport=pelota] {
     4027    icon-image: "presets/sport/pelota.svg";
     4028    set icon_z17;
     4029}
     4030node[sport=racquet] {
     4031    icon-image: "presets/sport/racquetball.svg";
     4032    set icon_z17;
     4033}
     4034node[sport=ice_skating] {
     4035    icon-image: "presets/sport/ice_skating.svg";
     4036    set icon_z17;
     4037}
     4038node[sport=roller_skating] {
     4039    icon-image: "presets/sport/roller_skating.svg";
     4040    set icon_z17;
     4041}
     4042node[sport=skating] {
     4043    icon-image: "presets/misc/deprecated.svg";
     4044    set icon_z17;
     4045}
     4046node[sport=skateboard] {
     4047    icon-image: "presets/sport/skateboard.svg";
     4048    set icon_z17;
     4049}
     4050area[sport=swimming] {
     4051    fill-color: swimming_pool#51c4ef;
     4052}
     4053node[sport=swimming] {
     4054    icon-image: "presets/sport/swimming.svg";
     4055    set icon_z17;
     4056}
     4057area[sport=table_tennis],
     4058area[sport=tennis],
     4059area[sport=paintball] {
     4060    fill-color: sport#bde3cb;
     4061}
     4062node[sport=table_tennis] {
     4063    icon-image: "presets/sport/table_tennis.svg";
     4064    set icon_z17;
     4065}
     4066node[sport=tennis] {
     4067    icon-image: "presets/sport/tennis.svg";
     4068    set icon_z17;
     4069}
     4070node[sport=paintball][!is_prop_set(icon-image)] {
     4071    icon-image: "presets/misc/no_icon.svg";
     4072    set icon_z17;
     4073}
     4074area[sport=squash],
     4075area[sport=shooting],
     4076area[sport=volleyball],
     4077area[sport=beachvolleyball],
     4078area[sport=billiards],
     4079area[sport=bowling],
     4080area[sport=handball],
     4081area[sport=rowing],
     4082area[sport=sailing],
     4083area[sport=scuba_diving],
     4084area[sport=badminton] {
     4085    fill-color: sport#bde3cb;
     4086}
     4087node[sport=squash][!is_prop_set(icon-image)] {
     4088    icon-image: "presets/misc/no_icon.svg";
     4089    set icon_z17;
     4090}
     4091node[sport=shooting] {
     4092    icon-image: "presets/sport/range.svg";
     4093    set icon_z17;
     4094}
     4095node[sport=volleyball] {
     4096    icon-image: "presets/sport/volleyball.svg";
     4097    set icon_z17;
     4098}
     4099node[sport=beachvolleyball] {
     4100    icon-image: "presets/sport/beachvolleyball.svg";
     4101    set icon_z17;
     4102}
     4103node[sport=billiards] {
     4104    icon-image: "presets/sport/billiards.svg";
     4105    set icon_z17;
     4106}
     4107node[sport=bowling] {
     4108    icon-image: "presets/sport/9pin.svg";
     4109    set icon_z17;
     4110}
     4111node[sport=handball] {
     4112    icon-image: "presets/sport/handball.svg";
     4113    set icon_z17;
     4114}
     4115node[sport=rowing] {
     4116    icon-image: "presets/sport/rowing.svg";
     4117    set icon_z17;
     4118}
     4119node[sport=sailing][!is_prop_set(icon-image)] {
     4120    icon-image: "presets/misc/no_icon.svg";
     4121    set icon_z17;
     4122}
     4123node[sport=scuba_diving] {
     4124    icon-image: "presets/sport/scuba_diving.svg";
     4125    set icon_z17;
     4126}
     4127node[sport=badminton][!is_prop_set(icon-image)] {
     4128    icon-image: "presets/misc/no_icon.svg";
     4129    set icon_z17;
     4130}
     4131area[sport=archery],
     4132area[sport=fishing],
     4133area[sport=model_aerodrome],
     4134area[sport=rc_car] {
     4135    fill-color: sport#bde3cb;
     4136}
     4137node[sport=archery] {
     4138    icon-image: "presets/sport/archery.svg";
     4139    set icon_z17;
     4140}
     4141node[sport=fishing] {
     4142    icon-image: "presets/sport/fishing.svg";
     4143    set icon_z17;
     4144}
     4145node[sport=model_aerodrome] {
     4146    icon-image: "presets/transport/airport.svg";
     4147    set icon_z17;
     4148}
     4149node[sport=rc_car] {
     4150    icon-image: "presets/sport/rc_car.svg";
     4151    set icon_z17;
     4152}
     4153
     4154/****************/
     4155/* natural tags */
     4156/****************/
     4157
     4158area[natural=spring] {
     4159    fill-color: light_water#00005f;
     4160}
     4161node[natural=spring] {
     4162    icon-image: "presets/landmark/spring.svg";
     4163    set icon_z17;
     4164}
     4165node[natural=saddle] {
     4166    icon-image: "presets/landmark/saddle.svg";
     4167    set icon_z0;
     4168    set text_z0;
     4169}
     4170node[natural=peak] {
     4171    icon-image: "presets/landmark/peak.svg";
     4172    set icon_z0;
     4173    set text_z0;
     4174}
     4175node[natural=peak][tourism=viewpoint] {
     4176    icon-image: "presets/sightseeing/peak_viewpoint.svg";
     4177    set icon_z0;
     4178    set text_z0;
     4179}
     4180area[natural=glacier] {
     4181    fill-color: glacier#ffffff;
     4182}
     4183node[natural=volcano] {
     4184    icon-image: "presets/landmark/volcano.svg";
     4185    set icon_z0;
     4186    set text_z0;
     4187}
     4188area[natural=cliff]:closed {
     4189    fill-color: natural#002f00;
     4190}
     4191way[natural=cliff] {
     4192    repeat-image: "presets/misc/cliff_pattern.svg";
     4193    repeat-image-align: top;
     4194    width: 1;
     4195    color: #b2b2b2;
     4196}
     4197node[natural=cliff] {
     4198    icon-image: "presets/misc/cliff.svg";
     4199    set icon_z17;
     4200}
     4201way[natural=ridge] {
     4202    width: 1;
     4203    color: natural#002f00;
     4204}
     4205way[natural=valley] {
     4206    width: 1;
     4207    color: natural#002f00;
     4208}
     4209area[natural=scree] {
     4210    fill-color: scree#c3c3c3;
     4211}
     4212area[natural=shingle] {
     4213    fill-color: shingle#c3c3c3;
     4214}
     4215area[natural=scrub] {
     4216    fill-color: scrub#007000;
     4217}
     4218area[natural=fell] {
     4219    fill-color: natural#002f00;
     4220}
     4221area[natural=heath] {
     4222    fill-color: heath#ffffc0;
     4223}
     4224way[natural=tree_row] {
     4225    width: 2;
     4226    color: woodarea#008000;
     4227}
     4228area[natural=wood] {
     4229    fill-color: woodarea#1c7a13;
     4230}
     4231area[natural=grassland] {
     4232    fill-color: green#b1e0c2;
     4233}
     4234area[natural=wetland] {
     4235    fill-color: marsh#4f4ff3;
     4236}
     4237area[natural=water] {
     4238    fill-color: water#0000ff;
     4239}
     4240area[natural=water][intermittent=yes] {
     4241    width: 2;
     4242    dashes: 15, 5;
     4243}
     4244way[natural=coastline] {
     4245    width: 2;
     4246    color: water#0000ff;
     4247    right-casing-color: water#0000ff;
     4248    right-casing-width: 8;
     4249    right-casing-opacity: 0.35;
     4250}
     4251area[natural=mud] {
     4252    fill-color: mud#cba762;
     4253}
     4254area[natural=beach] {
     4255    fill-color: beach#f8dba2;
     4256}
     4257area[natural=sand] {
     4258    fill-color: sand#f8dba2;
     4259}
     4260area[natural=bare_rock] {
     4261    fill-color: bare_rock#f8f8c7;
     4262}
     4263area[natural=rock] {
     4264    fill-color: stone#f8f8c7;
     4265}
     4266node[natural=rock] {
     4267    icon-image: "presets/misc/rock.svg";
     4268    set icon_z17;
     4269}
     4270area[natural=stone] {
     4271    fill-color: stone#f8f8c7;
     4272}
     4273node[natural=stone] {
     4274    icon-image: "presets/misc/stone.svg";
     4275    set icon_z17;
     4276}
     4277area[natural=bay],
     4278area[natural=cape],
     4279area[natural=cave_entrance] {
     4280    fill-color: natural#002f00;
     4281}
     4282node[natural=bay] {
     4283    icon-image: "presets/nautical/bay.svg";
     4284    set icon_z17;
     4285}
     4286node[natural=cape] {
     4287    icon-image: "presets/nautical/cape.svg";
     4288    set icon_z17;
     4289}
     4290area[natural=reef] {
     4291    fill-color: reef#80c9ff;
     4292}
     4293node[natural=reef] {
     4294    icon-image: "presets/landmark/reef.svg";
     4295    set icon_z17;
     4296}
     4297node[natural=cave_entrance] {
     4298    icon-image: "presets/landmark/cave_entrance.svg";
     4299    set icon_z17;
     4300}
     4301node[natural=tree] {
     4302    icon-image: "presets/landmark/trees.svg";
     4303    set icon_z17;
     4304}
     4305node[natural=tree][type=conifer],
     4306node[natural=tree][leaf_type=needleleaved] {
     4307    icon-image: "presets/landmark/trees_conifer.svg";
     4308    set icon_z17;
     4309}
     4310node[natural=tree][type=broad_leaved],
     4311node[natural=tree][leaf_type=broadleaved] {
     4312    icon-image: "presets/landmark/trees_broad_leaved.svg";
     4313    set icon_z17;
     4314}
     4315node[natural=glacier],
     4316node[natural=scree],
     4317node[natural=shingle],
     4318node[natural=scrub],
     4319node[natural=fell],
     4320node[natural=heath],
     4321node[natural=tree_row],
     4322node[natural=wood],
     4323node[natural=grassland],
     4324node[natural=wetland],
     4325node[natural=water],
     4326node[natural=coastline],
     4327node[natural=mud],
     4328node[natural=beach],
     4329node[natural=sand],
     4330node[natural=land],
     4331node[natural=bare_rock],
     4332node[natural=ridge],
     4333node[natural=valley] {
     4334    icon-image: "presets/misc/deprecated.svg";
     4335    set icon_z17;
     4336}
     4337/*****************/
     4338/* waterway tags */
     4339/*****************/
     4340
     4341way|z15-[waterway=river][!tunnel] {
     4342    width: 7;
     4343    color: river#77d3de;
     4344    casing-width: 1;
     4345    casing-color: 3d6c71;
     4346}
     4347way|z-14[waterway=river][!tunnel] {
     4348    width: 4;
     4349    color: river#77d3de;
     4350    casing-width: 1;
     4351    casing-color: 3d6c71;
     4352}
     4353way|z15-[waterway=river][tunnel] {
     4354    width: 7;
     4355    color: river#618787;
     4356    casing-width: 1;
     4357    casing-color: 3d6c71;
     4358}
     4359way|z-14[waterway=river][tunnel] {
     4360    width: 4;
     4361    color: river#618787;
     4362    casing-width: 1;
     4363    casing-color: 3d6c71;
     4364}
     4365area[waterway=riverbank] {
     4366    fill-color: riverbanak#0000cf;
     4367    width: 1;
     4368    color: riverbank#0000cf;
     4369}
     4370way|z15-[waterway=pressurised],
     4371way|z15-[waterway=canal] {
     4372    width: 7;
     4373    color: #77d3de;
     4374    casing-width: 1;
     4375    casing-color: 3d6c71;
     4376}
     4377way|z-14[waterway=pressurised],
     4378way|z-14[waterway=canal] {
     4379    width: 4;
     4380    color: #77d3de;
     4381    casing-width: 1;
     4382    casing-color: 3d6c71;
     4383}
     4384way|z16-[waterway=pressurised] {
     4385    width: 4;
     4386    color: #77d3de;
     4387    casing-width: 1;
     4388    casing-color: 3d6c71;
     4389}
     4390way|z-14[waterway=pressurised] {
     4391    width: -2;
     4392    color: #77d3de;
     4393    casing-width: 1;
     4394    casing-color: 3d6c71;
     4395}
     4396way|z15-[waterway=stream][!tunnel] {
     4397    width: 4;
     4398    color: stream#77d3de;
     4399    casing-width: 1;
     4400    casing-color: 3d6c71;
     4401}
     4402way|z-14[waterway=stream][!tunnel] {
     4403    width: 2;
     4404    color: stream#77d3de;
     4405    casing-width: 1;
     4406    casing-color: 3d6c71;
     4407}
     4408way|z15-[waterway=stream][tunnel] {
     4409    width: 4;
     4410    color: stream#618787;
     4411    casing-width: 1;
     4412    casing-color: 3d6c71;
     4413}
     4414way|z-14[waterway=stream][tunnel] {
     4415    width: 2;
     4416    color: stream#618787;
     4417    casing-width: 1;
     4418    casing-color: 3d6c71;
     4419}
     4420way|z15-[waterway=ditch][!tunnel],
     4421way|z15-[waterway=drain][!tunnel] {
     4422    width: 4;
     4423    color: water#8dabf3;
     4424    casing-width: 1;
     4425    casing-color: 3d6c71;
     4426}
     4427way|z-14[waterway=ditch][!tunnel],
     4428way|z-14[waterway=drain][!tunnel] {
     4429    width: 2;
     4430    color: water#8dabf3;
     4431    casing-width: 1;
     4432    casing-color: 3d6c71;
     4433}
     4434way|z15-[waterway=ditch][tunnel],
     4435way|z15-[waterway=drain][tunnel] {
     4436    width: 4;
     4437    color: water#618787;
     4438    casing-width: 1;
     4439    casing-color: 3d6c71;
     4440}
     4441way|z-14[waterway=ditch][tunnel],
     4442way|z-14[waterway=drain][tunnel] {
     4443    width: 2;
     4444    color: water#618787;
     4445    casing-width: 1;
     4446    casing-color: 3d6c71;
     4447}
     4448way[waterway=river][intermittent=yes],
     4449area[waterway=riverbank][intermittent=yes],
     4450way[waterway=canal][intermittent=yes],
     4451way[waterway=stream][intermittent=yes],
     4452way[waterway=ditch][intermittent=yes],
     4453way[waterway=drain][intermittent=yes] {
     4454    dashes: 7,3;
     4455    casing-dashes: 7,3;
     4456}
     4457area[waterway=dock] {
     4458    fill-color: dock#0000cf;
     4459}
     4460node[waterway=dock] {
     4461    icon-image: "presets/nautical/boatyard.svg";
     4462    set icon_z17;
     4463}
     4464way[waterway=lock_gate] {
     4465    width: 3;
     4466    color: lock_gate#303030;
     4467}
     4468node[waterway=lock_gate] {
     4469    icon-image: "presets/nautical/lock_gate.svg";
     4470    set icon_z17;
     4471}
     4472node[waterway=turning_point] {
     4473    icon-image: "presets/nautical/turning.svg";
     4474    set icon_z17;
     4475}
     4476area[waterway=boatyard] {
     4477    fill-color: manmade#d8d8d8;
     4478}
     4479node[waterway=boatyard] {
     4480    icon-image: "presets/nautical/boatyard.svg";
     4481    set icon_z17;
     4482}
     4483node[waterway=water_point],
     4484node[waterway=waste_disposal],
     4485node[waterway=mooring] {
     4486    icon-image: "presets/misc/deprecated.svg";
     4487    set icon_z17;
     4488}
     4489node[mooring] {
     4490    icon-image: "presets/nautical/marina.svg";
     4491    set icon_z17;
     4492}
     4493area[waterway=fuel] {
     4494    fill-color: amenity_traffic#f7efb7;
     4495}
     4496node[waterway=fuel] {
     4497    icon-image: "presets/nautical/marine_fuel.svg";
     4498    set icon_z17;
     4499}
     4500way[waterway=weir] {
     4501    width: 2;
     4502    color: manmade#d8d8d8;
     4503}
     4504node[waterway=weir] {
     4505    icon-image: "presets/nautical/weir.svg";
     4506    set icon_z17;
     4507}
     4508area[waterway=dam]:closed {
     4509    fill-color: manmade#d8d8d8;
     4510}
     4511way[waterway=dam] {
     4512    width: 2;
     4513    color: manmade#d8d8d8;
     4514}
     4515node[waterway=dam] {
     4516    icon-image: "presets/nautical/dam.svg";
     4517    set icon_z17;
     4518}
     4519/* it's not possible to have both line and area, line seems more likely */
     4520way[waterway=waterfall] {
     4521    width: 2;
     4522    color: manmade#d8d8d8;
     4523}
     4524node[waterway=waterfall] {
     4525    icon-image: "presets/nautical/waterfall.svg";
     4526    set icon_z17;
     4527}
     4528node[waterway=river], node[waterway=riverbank],
     4529node[waterway=canal], node[waterway=wadi],
     4530node[waterway=stream],
     4531node[waterway=ditch], node[waterway=drain] {
     4532    icon-image: "presets/misc/deprecated.svg";
     4533    set icon_z17;
     4534}
     4535
     4536/**************/
     4537/* route tags */
     4538/**************/
     4539
     4540way[route=ferry] {
     4541    width: 1;
     4542    color: ferry#809bc0;
     4543    dashes: 9,9;
     4544}
     4545node[route=bus],
     4546node[route=ferry],
     4547node[route=flight],
     4548node[route=ncn],
     4549node[route=subsea],
     4550node[route=ski],
     4551node[route=tour],
     4552node[route=pub_crawl] {
     4553    icon-image: "presets/misc/deprecated.svg";
     4554    set icon_z17;
     4555}
     4556
     4557/*******************/
     4558/* properties tags */
     4559/*******************/
     4560
     4561node[mountain_pass?] {
     4562    icon-image: "presets/landmark/mountain_pass.svg";
     4563    set icon_z0;
     4564    set text_z0;
     4565}
     4566
     4567/*****************/
     4568/* boundary tags */
     4569/*****************/
     4570
     4571way[boundary=administrative]::core_boundary,
     4572relation[boundary=administrative] > way::core_boundary,
     4573way[boundary=postal_code]::core_boundary,
     4574way[boundary=political]::core_boundary,
     4575way[boundary=maritime]::core_boundary {
     4576    z-index: 2;
     4577    modifier: false;
     4578    width: 2;
     4579    color: boundary#FFFFFF;
     4580    casing-color: #82B5FE;
     4581    casing-width: 2;
     4582    dashes: 16,4,4,4;
     4583}
     4584way[boundary=protected_area]::core_boundary,
     4585relation[boundary=protected_area] > way::core_boundary,
     4586way[boundary=national_park]::core_boundary,
     4587relation[boundary=national_park] > way::core_boundary {
     4588    z-index: 2;
     4589    modifier: false;
     4590    width: 2;
     4591    color: boundary#FFFFFF;
     4592    casing-color: #b0e298;
     4593    casing-width: 2;
     4594    dashes: 16,4,4,4;
     4595}
     4596
     4597
     4598node[boundary=national],
     4599node[boundary=administrative],
     4600node[boundary=postal_code],
     4601node[boundary=political],
     4602node[boundary=national_park] {
     4603    icon-image: "presets/misc/deprecated.svg";
     4604    set icon_z17;
     4605}
     4606
     4607/******************/
     4608/* maxspeed nodes */
     4609/******************/
     4610node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
     4611    icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
     4612    set icon_z17;
     4613}
     4614node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
     4615    maxspeedprop: tag(maxspeed);
     4616    set maxspeedclass;
     4617}
     4618node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
     4619    maxspeedprop: " ?";
     4620    set maxspeedclass;
     4621}
     4622node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
     4623    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
     4624    set maxspeedclass;
     4625}
     4626node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
     4627    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
     4628    set maxspeedclass;
     4629}
     4630node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
     4631    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
     4632    set maxspeedclass;
     4633}
     4634node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
     4635    /* background (white) */
     4636    symbol-shape: circle;
     4637    symbol-size: 17;
     4638    symbol-fill-color: white;
     4639    major-z-index: 4.2;
     4640}
     4641node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
     4642node[traffic_sign][maxspeed=signals]::core_maxnodebg {
     4643    /* background (black) */
     4644    symbol-fill-color: black;
     4645}
     4646node[prop(maxspeedclass, default)]::core_maxnodefg {
     4647    /* foreground (black text and red circle) */
     4648    symbol-shape: circle;
     4649    symbol-size: 15;
     4650    symbol-stroke-color: crimson;
     4651    symbol-stroke-width: 2;
     4652    text: prop(maxspeedprop, default);
     4653    font-size: 8;
     4654    font-weight: bold;
     4655    text-color: black;
     4656    text-anchor-horizontal: center;
     4657    text-anchor-vertical: center;
     4658    text-offset-x: 0;
     4659    text-offset-y: -1;
     4660    major-z-index: 4.2;
     4661}
     4662node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
     4663node[traffic_sign][maxspeed=signals]::core_maxnodefg {
     4664    /* foreground (white text) */
     4665    text-color: white;
     4666}
     4667node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
     4668    symbol-shape: none;
     4669}
     4670node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
     4671    text: none;
     4672    symbol-shape: none;
     4673}
     4674
     4675/**************/
     4676/* place tags */
     4677/**************/
     4678
     4679area[setting("place_fill_colour")][place=continent],
     4680area[setting("place_fill_colour")][place=country],
     4681area[setting("place_fill_colour")][place=state],
     4682area[setting("place_fill_colour")][place=region],
     4683area[setting("place_fill_colour")][place=county],
     4684area[setting("place_fill_colour")][place=city],
     4685area[setting("place_fill_colour")][place=town],
     4686area[setting("place_fill_colour")][place=village],
     4687area[setting("place_fill_colour")][place=hamlet],
     4688area[setting("place_fill_colour")][place=farm],
     4689area[setting("place_fill_colour")][place=isolated_dwelling],
     4690area[setting("place_fill_colour")][place=neighbourhood],
     4691area[setting("place_fill_colour")][place=suburb],
     4692area[setting("place_fill_colour")][place=locality],
     4693area[place=island],
     4694area[place=islet] {
     4695    fill-color: place#8de3cb;
     4696    set place;
     4697}
     4698node[place=continent],
     4699node[place=country],
     4700node[place=state],
     4701node[place=region],
     4702node[place=county],
     4703node[place=city],
     4704node[place=town],
     4705node[place=suburb],
     4706node[place=village],
     4707node[place=quarter],
     4708node[place=neighbourhood],
     4709node[place=hamlet],
     4710node[place=isolated_dwelling],
     4711node[place=farm],
     4712node[place=island],
     4713node[place=islet] {
     4714    set icon_z0;
     4715    set text_z0;
     4716    font-weight: bold;
     4717    text-color:black;
     4718    text-halo-color: white;
     4719    text-halo-radius: 1;
     4720    set place;
     4721}
     4722
     4723node[place=continent],
     4724node[place=country],
     4725node[place=state],
     4726node[place=region],
     4727node[place=county] {
     4728    icon-image: "presets/place/capital.svg";
     4729    z-index: 2.9;
     4730}
     4731node[place=city] {
     4732    icon-image: "presets/place/city.svg";
     4733    z-index: 2.8;
     4734}
     4735node[place=town] {
     4736    icon-image: "presets/place/town.svg";
     4737    z-index: 2.7;
     4738}
     4739node[place=suburb] {
     4740    icon-image: "presets/place/suburb.svg";
     4741    z-index: 2.6;
     4742}
     4743node[place=village] {
     4744    icon-image: "presets/place/village.svg";
     4745    z-index: 2.5;
     4746}
     4747node[place=quarter] {
     4748    icon-image: "presets/place/quarter.svg";
     4749    z-index: 2.5;
     4750}
     4751node[place=neighbourhood] {
     4752    icon-image: "presets/place/neighbourhood.svg";
     4753    z-index: 2.4;
     4754}
     4755node[place=hamlet] {
     4756    icon-image: "presets/place/hamlet.svg";
     4757    z-index: 2.3;
     4758}
     4759node[place=isolated_dwelling] {
     4760    icon-image: "presets/place/isolated_dwelling.svg";
     4761    z-index: 2.2;
     4762}
     4763node[place=farm] {
     4764    icon-image: "presets/place/farm.svg";
     4765    z-index: 2.1;
     4766}
     4767node|z15-[place=locality],
     4768node|z-14[place=locality][!setting("hide_icons")] {
     4769    icon-image: "presets/place/locality.svg";
     4770    font-weight: bold;
     4771    text-color: black;
     4772    text-halo-color: white;
     4773    text-halo-radius: 1;
     4774}
     4775node[place=island] {
     4776    icon-image: "presets/place/island.svg";
     4777}
     4778node[place=islet] {
     4779    icon-image: "presets/place/islet.svg";
     4780}
     4781
     4782area[place=square] {
     4783    fill-color: place#8de3cb;
     4784}
     4785node[place=square] {
     4786    icon-image: "presets/place/square.svg";
     4787    set icon_z17;
     4788}
     4789
     4790/***************************/
     4791/* "work in progress" tags */
     4792/***************************/
     4793
     4794node|z16-[fixme]::core_note_fixme,
     4795node|z-15[fixme][!setting("hide_icons")]::core_note_fixme,
     4796node|z16-[FIXME]::core_note_fixme,
     4797node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme {
     4798    object-z-index: 10;
     4799    icon-image: "presets/misc/fixme_annotation.svg";
     4800}
     4801node|z16-[note]::core_note_fixme,
     4802node|z-15[note][!setting("hide_icons")]::core_note_fixme {
     4803    object-z-index: 10;
     4804    icon-image: "presets/misc/note_annotation.svg";
     4805}
     4806node|z16-[note][fixme]::core_note_fixme,
     4807node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme,
     4808node|z16-[note][FIXME]::core_note_fixme,
     4809node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme {
     4810    icon-image: "presets/misc/note_fixme_annotation.svg";
     4811}
     4812
     4813/****************************************/
     4814/* zoom levels and general node display */
     4815/****************************************/
     4816
     4817/*
     4818Summary of different zoom levels:
     4819  (any zoom)    place=* (except locality and square) and a few natural icons with their text is shown
     4820  |z-14         tagged way nodes are hidden completely
     4821  |z-15         untagged way nodes are hidden completely
     4822  |z15          place=locality icon
     4823  |z16-         fixme=* and note=* symbols; place=locality text
     4824  |z17-         normal POI icons (without text),
     4825                street name along highway=* ways
     4826  |z18-         text for normal POI icons is shown
     4827 
     4828 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality and square) don't get smaller
     4829 * all these zoom features are modifiable via style settings
     4830 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
     4831
     4832*/
     4833
     4834node|z-16[setting("hide_icons")],
     4835node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
     4836node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
     4837    symbol-size: 2;
     4838    symbol-shape: square;
     4839    symbol-stroke-color: node_standard#ffff00;
     4840    major-z-index: 4.95; /* put node squares above line text */
     4841}
     4842way > node|z-15[setting("shrink_nodes")]!:tagged {
     4843    symbol-shape: none;
     4844}
     4845node:connection {
     4846    symbol-stroke-color: node_connection#ffff00;
     4847}
     4848node:tagged {
     4849    symbol-stroke-color: none;
     4850    symbol-fill-color: node_tagged#00ffff;
     4851}
     4852way > node|z-14[setting("shrink_nodes")][setting("hide_tagged_waynodes")]:tagged {
     4853    symbol-shape: none;
     4854}
     4855
     4856way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
     4857
     4858node|z17[setting("shrink_nodes")]               { symbol-size: 4; }
     4859way > node|z17[setting("shrink_nodes")]         { symbol-size: 2; }
     4860node|z17[setting("shrink_nodes")]:connection    { symbol-size: 4; }
     4861
     4862node|z18[setting("shrink_nodes")]               { symbol-size: 4; }
     4863way > node|z18[setting("shrink_nodes")]         { symbol-size: 3; }
     4864node|z18[setting("shrink_nodes")]:connection    { symbol-size: 5; }
     4865
     4866node|z19-[setting("shrink_nodes")]              { symbol-size: 4; }
     4867way > node|z19-[setting("shrink_nodes")]        { symbol-size: 4; }
     4868node|z19-[setting("shrink_nodes")]:connection   { symbol-size: 6; }
     4869
     4870node[!setting("shrink_nodes")]                  { symbol-size: 4; }
     4871way > node[!setting("shrink_nodes")]            { symbol-size: 4; }
     4872node[!setting("shrink_nodes")]:connection       { symbol-size: 6; }
     4873
     4874node:selected {
     4875    symbol-shape: square;
     4876    symbol-size: 6;
     4877    symbol-fill-color: node_selected#ff0000;
     4878    symbol-stroke-color: node_selected#ff0000;
     4879}
     4880
     4881node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
     4882relation|z-16[type=restriction][setting("hide_icons")] {
     4883    icon-image: none;
     4884}
     4885node|z-17[setting("hide_icons")]!.text_z0 {
     4886    text: none;
     4887}
     4888node|z16-17[setting("hide_icons")][place=locality] {
     4889    text: auto;
     4890}
     4891
     4892node|z-18,area|z-18 { font-size: 8; }
     4893node|z19,area|z19   { font-size: 9; }
     4894node|z20-,area|z20- { font-size: 11; }
     4895
     4896node.place, way.place, area.place { font-size: 11; }
     4897
     4898
     4899/*******************/
     4900/* way text labels */
     4901/*******************/
     4902
     4903way|z18-[highway=motorway][setting("highway_labels")],
     4904way|z18-[highway=motorway_link][setting("highway_labels")],
     4905way|z18-[highway=trunk][setting("highway_labels")],
     4906way|z18-[highway=trunk_link][setting("highway_labels")],
     4907way|z18-[highway=primary][setting("highway_labels")],
     4908way|z18-[highway=primary_link][setting("highway_labels")],
     4909way|z18-[highway=secondary][setting("highway_labels")],
     4910way|z18-[highway=secondary_link][setting("highway_labels")],
     4911way|z18-[highway=tertiary][setting("highway_labels")],
     4912way|z18-[highway=tertiary_link][setting("highway_labels")],
     4913way|z18-[highway=unclassified][setting("highway_labels")],
     4914way|z18-[highway=residential][setting("highway_labels")],
     4915way|z18-[highway=living_street][setting("highway_labels")],
     4916way|z18-[highway=escape][setting("highway_labels")],
     4917way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
     4918way|z18-[highway=steps][setting("highway_labels")],
     4919way|z18-[highway=footway][setting("highway_labels")],
     4920way|z18-[highway=path][setting("highway_labels")],
     4921way|z18-[highway=service][setting("highway_labels")],
     4922way|z18-[highway=track][setting("highway_labels")],
     4923way|z18-[highway=cycleway][setting("highway_labels")],
     4924way|z18-[highway=bridleway][setting("highway_labels")],
     4925way|z18-[highway=bus_guideway][setting("highway_labels")],
     4926way|z18-[highway=raceway][setting("highway_labels")],
     4927way|z18-[highway=construction][setting("highway_labels")],
     4928way|z18-[highway=road][setting("highway_labels")] {
     4929    text: auto;
     4930    text-color: black;
     4931    font-size: 10;
     4932    text-position: line;
     4933    text-halo-opacity: 1;
     4934    text-halo-radius: 1.5;
     4935}
     4936way|z18-[highway=motorway][setting("highway_labels")],
     4937way|z18-[highway=motorway_link][setting("highway_labels")] {
     4938    text-halo-color: motorway#809bc0;
     4939}
     4940way|z18-[highway=trunk][setting("highway_labels")],
     4941way|z18-[highway=trunk_link][setting("highway_labels")] {
     4942    text-halo-color: trunk#7fc97f;
     4943}
     4944way|z18-[highway=primary][setting("highway_labels")],
     4945way|z18-[highway=primary_link][setting("highway_labels")] {
     4946    text-halo-color: primary#fb805f;
     4947}
     4948way|z18-[highway=secondary][setting("highway_labels")],
     4949way|z18-[highway=secondary_link][setting("highway_labels")] {
     4950    text-halo-color: secondary#fdbf6f;
     4951}
     4952way|z18-[highway=tertiary][setting("highway_labels")],
     4953way|z18-[highway=tertiary_link][setting("highway_labels")] {
     4954    text-halo-color: tertiary#f7f496;
     4955}
     4956way|z18-[highway=unclassified][setting("highway_labels")],
     4957way|z18-[highway=residential][setting("highway_labels")],
     4958way|z18-[highway=living_street][setting("highway_labels")],
     4959way|z18-[highway=escape][setting("highway_labels")] {
     4960    text-halo-color: street#c0c0c0;
     4961}
     4962way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
     4963way|z18-[highway=steps][setting("highway_labels")],
     4964way|z18-[highway=footway][setting("highway_labels")],
     4965way|z18-[highway=path][setting("highway_labels")] {
     4966    text-halo-color: foot#00ff00;
     4967}
     4968way|z18-[highway=service][setting("highway_labels")] {
     4969    text-halo-color: service#809bc0;
     4970}
     4971way|z18-[highway=track][setting("highway_labels")] {
     4972    text-halo-color: highway_track#6e541c;
     4973}
     4974way|z18-[highway=cycleway][setting("highway_labels")],
     4975way|z18-[highway=path][setting("highway_labels")].cyclecolor {
     4976    text-halo-color: bicycle#b100ff;
     4977}
     4978way|z18-[highway=bridleway][setting("highway_labels")] {
     4979    text-halo-color: horse#a18559;
     4980}
     4981way|z18-[highway=bus_guideway][setting("highway_labels")] {
     4982    text-halo-color: rail#404040;
     4983}
     4984way|z18-[highway=raceway][setting("highway_labels")] {
     4985    text-halo-color: raceway#ff80ff;
     4986}
     4987way|z18-[highway=construction][setting("highway_labels")] {
     4988    text-halo-color: construction#ffff00;
     4989}
     4990way|z18-[highway=road][setting("highway_labels")] {
     4991    text-halo-color: highway_road#770000;
     4992}
     4993way|z18-[highway][railway=platform][setting("highway_labels")] {
     4994    text-halo-color: rail#404040;
     4995}
     4996way|z18-[highway][public_transport=platform][setting("highway_labels")] {
     4997    text-halo-color: service#809bc0;
     4998}
     4999way|z19[highway][setting("highway_labels")] {
     5000    font-size: 11;
     5001}
     5002way|z20-[highway][setting("highway_labels")] {
     5003    font-size: 12;
     5004}
     5005
     5006/*************/
     5007/* Area fill */
     5008/*************/
     5009
     5010/* small extent for unclosed area (see below for closed) */
     5011area[setting("partial_fill")] {
     5012    fill-extent: 15;
     5013}
     5014
     5015/* Turn partial fill off and use plain fill, when the partial fill covers about
     5016   100% of the area. This reduces artifacts (typically for incomplete multipolygons).
     5017   Switching between full and partial fill while drawing an area might be irritating,
     5018   so only do this at low zoom. */
     5019area|z-13[setting("partial_fill")] {
     5020    fill-extent-threshold: 1.0;
     5021}
     5022
     5023/* Larger extent for closed areas.
     5024   Turn partial fill off, when it covers more than about 50% of the area. This avoids
     5025   areas with small unfilled patches in the center. */
     5026area[setting("partial_fill")]:closed2 {
     5027    fill-extent: 25;
     5028    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
     5029}