wiki:Styles/Lane_features_ryg

Style lane_features, right-hand-traffic, arrows

meta {
    title: "Lane details, right-hand traffic, color version";
    description: "Shown tags:: lanes, turn lanes, bus lanes, changing the lane, cycleways, sidepaths and lightning";
    author: "Wolfgang Hinsch";
    version: "0.5_2014-07-02";
    license: "CC-BY-SA";
    min-josm-version: "5576";
}

meta[lang=de]
{
    title: "Fahrspur-Details für Rechtsverkehr, Version mit Farben";
    description: "Darstellung der Tags für: Fahrspuren, Abbiegespuren, Busspuren, Spurwechselverbote, Radwege, Bürgersteige und Straßenbeleuchtung";
}

meta[lang=es]
{
    title: "Carriles para circulación por la derecha, versión con colores";
    description: "Representación gráfica de los tags de carriles de tráfico, de girar, de autobús y de bicicleta; aceras y alumbrado público";
}

/* Alle Straßen als gültig setzen, die entsprechende highway-Typen sind und ein tag für lanes gesetzt haben */
/* Mark all streets valid beeing an appropriate type of highway and having set a tag for lanes */
way[width > 0][highway=motorway],
way[width > 0][highway=~/.*_link/],
way[width > 0][highway=trunk],
way[width > 0][highway=~/.*ary/],
way[width > 0][highway=unclassified],
way[width > 0][highway=service],
way[width > 0][highway=residential],
way[lanes][highway=motorway],
way[lanes][highway=~/.*_link/],
way[lanes][highway=trunk],
way[lanes][highway=~/.*ary/],
way[lanes][highway=unclassified],
way[lanes][highway=service],
way[lanes][highway=residential],
way[lanes:forward][lanes:backward][highway=motorway],
way[lanes:forward][lanes:backward][highway=~/.*_link/],
way[lanes:forward][lanes:backward][highway=trunk],
way[lanes:forward][lanes:backward][highway=~/.*ary/],
way[lanes:forward][lanes:backward][highway=unclassified],
way[lanes:forward][lanes:backward][highway=service],
way[lanes:forward][lanes:backward][highway=residential]
{ok: true;}

/* Einbahnstraßen */
/* Oneways */
way[is_prop_set(ok)][oneway][oneway=yes],
way[is_prop_set(ok)][oneway][oneway=-1]
{ einbahn: true;}

/* Für alle Straßen Parameter lanes_ges, lanes_fw, lanes_bw, lanes_bth aus den Originalwerten setzen */
/* Setting properties lanes_ges (count of lanes total), lanes_fw (forward), lanes_bw, lanes_bth from the origial tags */
way[is_prop_set(ok)][lanes]             { lanes_ges : tag(lanes);}
way[is_prop_set(ok)]["lanes:forward"]   { lanes_fw  : tag("lanes:forward");}
way[is_prop_set(ok)]["lanes:backward"]  { lanes_bw  : tag("lanes:backward");}
way[is_prop_set(ok)]["lanes:both"]      { lanes_bth : tag("lanes:both");}
way[is_prop_set(ok)]["turn:lanes"]      { turn_lanes: tag("turn:lanes");}

/* Fehlende Parameter für Einbahnstraßen ergänzen */
/* complete missing properties of oneways */
way[lanes][!"lanes:backward"][!"lanes:both"][!"lanes:forward"][oneway][oneway=yes]  { lanes_fw  : prop(lanes_ges);      lanes_bw : 0;   lanes_bth: 0;}
way[lanes][!"lanes:backward"][!"lanes:both"][!"lanes:forward"][oneway][oneway=-1]   { lanes_bw  : prop(lanes_ges);      lanes_fw : 0;   lanes_bth: 0;}
way[!lanes][!"lanes:backward"][!"lanes:both"]["lanes:forward"][oneway][oneway=yes]  { lanes_ges : prop(lanes_fw);       lanes_bw : 0;   lanes_bth: 0;}
way[!lanes]["lanes:backward"][!"lanes:both"][!"lanes:forward"][oneway][oneway=-1]   { lanes_ges : prop(lanes_bw);       lanes_fw : 0;   lanes_bth: 0;}

/* Alle Straßen, lanes = forward + backward (forward, backward oder lanes fehlt) */
/* Complete properies of all streets if lanes, forward or backward is missing */
way[!lanes]["lanes:backward"][!"lanes:both"]["lanes:forward"]                       { lanes_ges : eval((prop(lanes_fw)) + (prop(lanes_bw)));    lanes_bth: 0;}
way[lanes]["lanes:backward"][!"lanes:both"][!"lanes:forward"]                       { lanes_fw  : eval((prop(lanes_ges))- (prop(lanes_bw)));    lanes_bth: 0;}
way[lanes][!"lanes:backward"][!"lanes:both"]["lanes:forward"]                       { lanes_bw  : eval((prop(lanes_ges))- (prop(lanes_fw)));    lanes_bth: 0;}

/* Alle Straßen, both ist definiert oder die drei anderen sind definiert */
/* Complete properties if tag lanes:both is set (both for lanes used in both directions */
way[!lanes]["lanes:backward"]["lanes:both"]["lanes:forward"]                        { lanes_ges : eval((prop(lanes_fw)) + (prop(lanes_bw)) +    (prop(lanes_bth"))); }
way[lanes][!"lanes:backward"]["lanes:both"]["lanes:forward"]                        { lanes_bw  : eval((prop(lanes_ges))- (prop(lanes_fw)) -    (prop(lanes_bth"))); }
way[lanes]["lanes:backward"][!"lanes:both"]["lanes:forward"]                        { lanes_bth : eval((prop(lanes_ges))- (prop(lanes_fw)) -    (prop(lanes_bw"))); }
way[lanes]["lanes:backward"]["lanes:both"][!"lanes:forward"]                        { lanes_fw  : eval((prop(lanes_ges))- (prop(lanes_bw)) -    (prop(lanes_bth"))); }

/* Alle Nicht-Einbahn-Straßen, nur lanes ist definiert */
/* completing properties of non-oneways, if only tag lanes is set */
/* Until now grafical display is linited to 8 lanes per direction */
way[!is_prop_set(einbahn)][lanes =  2][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  1;        lanes_bw :  1;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes =  3][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  1;        lanes_bw :  1;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes =  4][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  2;        lanes_bw :  2;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes =  5][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  2;        lanes_bw :  2;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes =  6][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  3;        lanes_bw :  3;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes =  7][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  3;        lanes_bw :  3;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes =  8][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  4;        lanes_bw :  4;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes =  9][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  4;        lanes_bw :  4;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes = 10][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  5;        lanes_bw :  5;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes = 11][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  5;        lanes_bw :  5;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes = 12][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  6;        lanes_bw :  6;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes = 13][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  6;        lanes_bw :  6;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes = 14][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  7;        lanes_bw :  7;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes = 15][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  7;        lanes_bw :  7;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes = 16][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  8;        lanes_bw :  8;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes = 17][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  8;        lanes_bw :  8;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes = 18][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  9;        lanes_bw :  9;  lanes_bth: 0;}
way[!is_prop_set(einbahn)][lanes = 19][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw :  9;        lanes_bw :  9;  lanes_bth: 1;}
way[!is_prop_set(einbahn)][lanes = 20][!"lanes:backward"][!"lanes:both"][!"lanes:forward"]      { lanes_fw : 10;        lanes_bw : 10;  lanes_bth: 0;}

/* Vermeidung negativer Werte bei Eingabefehlern */
/* Avoid negaitive values in case of input error */
way[prop(lanes_ges) < 0] {lanes_ges : 0;}
way[prop(lanes_fw)  < 0] {lanes_fw  : 0;}
way[prop(lanes_bw)  < 0] {lanes_bw  : 0;}
way[prop(lanes_bth) < 0] {lanes_bth : 0;}

/*------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                        */
/* Fahrbahn- oder Spurbreite                                                                                              */
/* width of way or lane                                                                                                   */
/*                                                                                                                        */
/*------------------------------------------------------------------------------------------------------------------------*/
/* bis Zoomlevel 17, keine Darstellung von Fahrspuren*/
/* Until zoomlevel 17, no display of lanes */
way|z1-17[is_prop_set(ok)]
{
    b-set: 1;   /* Spurbreite - size of lane */
    casing-width: 1;
}

/* Zoomlevel 17-18, Fahrspuren, aber keine Abbiegepfeile */
/* Zoomlevel 17-18, lanes, but no turn lanes */
way|z17-18[is_prop_set(ok)]
{
    b-set: 2;
    casing-width: 2;
}

/* Zoomlevel 18-19, Fahrspuren, aber keine Abbiegepfeile */
/* Zoomlevel 18-19, lanes, but no turn lanes */
way|z18-19[is_prop_set(ok)]
{
    b-set: 6;
    casing-width: 3;
}

/* Zoomlevel ab 19, Fahrspuren und Abbiegepfeile */
/* Zoomlevel > 19, lanes and turn lanes */
way|z19-[is_prop_set(ok)]
{
    b-set: 20;
    casing-width: 3;
}

way|z19-[is_prop_set(ok)][width]
{
    b-set: eval((20 * tag(width)) / 3.5);
}

way|z19-[is_prop_set(ok)][width][prop(lanes_ges) > 0]
{
    b-set: eval((20 * tag(width)) / (3.5 * prop(lanes_ges)));
}

/* Spurversatz wg. Mittellinie */
/* offset to calculate center line */
way|z17-[is_prop_set(ok)]
{
    b2-set: eval(prop(b-set) / 2);
}

/* Grundstraßenbild */
/* basic street */
way[is_prop_set(ok)][is_prop_set(lanes_ges)]
{
    color: #404040;
    casing-color: white;
    width: eval(prop(lanes_ges) * (prop(b-set)));
}

way[is_prop_set(ok)][!lanes][!lanes:forward][!lanes:backward]
{
    color: #404040;
    casing-color: white;
    width: prop(b-set);
}

/* Straßenbeleuchtung */
/* Lightning */
way[is_prop_set(ok)][lit=yes] {color: #707070;}

/*------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                        */
/* Fuß- und Radwege                                                                                                       */
/* sidewalks and cycleways                                                                                                */
/*                                                                                                                        */
/*------------------------------------------------------------------------------------------------------------------------*/
/* Nur Fußweg rechts */
/* at right-hand side sidewalk only */
way|z19-[is_prop_set(ok)][sidewalk=~/both|right/][cycleway:both!=track][cycleway:right!=track]
{
        right-casing-width: 10;
        right-casing-color: #FFA000;
        right-casing-offset: 2;
        right-casing-dashes: 1, 1;
}

/* Nur Radweg rechts */
/* at right-hand side cycleway only */
way|z19-[is_prop_set(ok)][sidewalk=left][cycleway:right=track],
way|z19-[is_prop_set(ok)][sidewalk=left][cycleway:both=track],
way|z19-[is_prop_set(ok)][!sidewalk][cycleway:right=track],
way|z19-[is_prop_set(ok)][!sidewalk][cycleway:both=track],
way|z19-[is_prop_set(ok)][!sidewalk][cycleway=track]                    /* Aus historischen Gründen/for historc reasons */
{
        right-casing-width: 7;
        right-casing-color: #0010FF;
        right-casing-offset: 2;
        right-casing-dashes: 1, 1;
}

/* Fuß- und Radweg rechts */
/* at right-hand side sidewalk and cycleway */
way|z19-[is_prop_set(ok)][sidewalk=~/both|right/][cycleway:right=track],
way|z19-[is_prop_set(ok)][sidewalk=~/both|right/][cycleway:both=track],
way|z19-[is_prop_set(ok)][sidewalk=~/both|right/][cycleway=track]
{
        right-casing-width: 15;
        right-casing-color: #00F080;
        right-casing-offset: 2;
        right-casing-dashes: 1, 1;
}

/* Nur Fußweg links */
/* at left-hand side sidewalk only */
way|z19-[is_prop_set(ok)][sidewalk=~/both|left/][cycleway:both!=track][cycleway:left!=track]
{
        left-casing-width: 10;
        left-casing-color: #FFA000;
        left-casing-offset: 2;
        left-casing-dashes: 1, 1;
}

/* Nur Radweg links */
/* at left-hand side cycleway only */
way|z19-[is_prop_set(ok)][sidewalk=left][cycleway:left=track],
way|z19-[is_prop_set(ok)][sidewalk=left][cycleway:both=track],
way|z19-[is_prop_set(ok)][!sidewalk][cycleway:left=track],
way|z19-[is_prop_set(ok)][!sidewalk][cycleway:both=track],
way|z19-[is_prop_set(ok)][!sidewalk][cycleway=track][oneway!=yes]
{
        left-casing-width: 7;
        left-casing-color: #0010FF;
        left-casing-offset: 2;
        left-casing-dashes: 1, 1;
}

/* Fuß- und Radweg links */
/* at left-hand side cycleway and sidewalk */
way|z19-[is_prop_set(ok)][sidewalk=~/both|left/][cycleway:left=track],
way|z19-[is_prop_set(ok)][sidewalk=~/both|left/][cycleway:both=track],
way|z19-[is_prop_set(ok)][sidewalk=~/both|left/][cycleway=track][oneway!=yes]
{
        left-casing-width: 15;
        left-casing-color: #00F080;
        left-casing-offset: 2;
        left-casing-dashes: 1, 1;
}

/*------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                        */
/* Busspuren / bus lanes                                                                                                  */
/*                                                                                                                        */
/*------------------------------------------------------------------------------------------------------------------------*/
/* Farbe für Busstraßen / defining the color */
way|z19-[is_prop_set(ok)][psv=yes]
{
    color: #B08000;
}

/* Using tag access:lanes:[forward|backward], value psv */
way|z19-[access:lanes=~/^psv([|]|$)/], way|z19-[access:lanes:forward=~/^psv([|]|$)/] { bus1: true; } 
way|z19-[access:lanes=~/^([a-z;_]*[|]){1}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){1}psv([|]|$)/] { bus2: true; }
way|z19-[access:lanes=~/^([a-z;_]*[|]){2}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){2}psv([|]|$)/] { bus3: true; }
way|z19-[access:lanes=~/^([a-z;_]*[|]){3}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){3}psv([|]|$)/] { bus4: true; }
way|z19-[access:lanes=~/^([a-z;_]*[|]){4}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){4}psv([|]|$)/] { bus5: true; }
way|z19-[access:lanes=~/^([a-z;_]*[|]){5}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){5}psv([|]|$)/] { bus6: true; }
way|z19-[access:lanes=~/^([a-z;_]*[|]){6}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){6}psv([|]|$)/] { bus7: true; }
way|z19-[access:lanes=~/^([a-z;_]*[|]){7}psv([|]|$)/], way|z19-[access:lanes:forward=~/^([a-z;_]*[|]){7}psv([|]|$)/] { bus8: true; }
way|z19-[access:lanes:backward=~/^psv([|]|$)/] { bus1b: true; } 
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){1}psv([|]|$)/] { bus2b: true; }
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){2}psv([|]|$)/] { bus3b: true; }
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){3}psv([|]|$)/] { bus4b: true; }
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){4}psv([|]|$)/] { bus5b: true; }
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){5}psv([|]|$)/] { bus6b: true; }
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){6}psv([|]|$)/] { bus7b: true; }
way|z19-[access:lanes:backward=~/^([a-z;_]*[|]){7}psv([|]|$)/] { bus8b: true; }

way[is_prop_set(bus1, "default")]::Bus1
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (0)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus2, "default")]::Bus2
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (1)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus3, "default")]::Bus3
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (2)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus4, "default")]::Bus4
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (3)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus5, "default")]::Bus5
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (4)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus6, "default")]::Bus6
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (5)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus7, "default")]::Bus7
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (6)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus8, "default")]::Bus8
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (7)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus1b, "default")]::Bus1b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -1)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus2b, "default")]::Bus2b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -2)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus3b, "default")]::Bus3b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -3)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus4b, "default")]::Bus4b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -4)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus5b, "default")]::Bus5b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -5)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus6b, "default")]::Bus6b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -6)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus7b, "default")]::Bus7b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -7)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

way[is_prop_set(bus8b, "default")]::Bus8b
{
    color: #B08000;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -8)));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fehlermeldung für Werte left und right ohne Prefix "_"                                                                                          */
/* Errormessage for values left and right without prefix "_"                                                                                       */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*
way|z19-[turn:lanes=~/(^[a-z_;]*;|^)(left|right)([|]|;|$)/]::leftRightError1F,
way|z19-[turn:lanes:forward=~/(^[a-z_;]*;|^)(left|right)([|]|;|$)/]::leftRightError1F,
way|z19-[turn:lanes:backward=~/(^[a-z_;]*;|^)(left|right)([|]|;|$)/]::leftRightError1B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (0)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^[a-z_;]*;|^)(left|right)([|]|;|$)/]::leftRightError1B
{
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -1)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){1}[a-z_;]*;|^[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError2F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){1}[a-z_;]*;|^[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError2F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){1}[a-z_;]*;|^[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError2B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (1)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){1}[a-z_;]*;|^[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError2B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -2)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){2}[a-z_;]*;|^([a-z_;]*[|]){1}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError3F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){2}[a-z_;]*;|^([a-z_;]*[|]){1}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError3F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){2}[a-z_;]*;|^([a-z_;]*[|]){1}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError3B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (2)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){2}[a-z_;]*;|^([a-z_;]*[|]){1}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError3B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -3)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){3}[a-z_;]*;|^([a-z_;]*[|]){2}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError4F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){3}[a-z_;]*;|^([a-z_;]*[|]){2}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError4F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){3}[a-z_;]*;|^([a-z_;]*[|]){2}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError4B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (3)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){3}[a-z_;]*;|^([a-z_;]*[|]){2}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError4B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -4)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){4}[a-z_;]*;|^([a-z_;]*[|]){3}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError5F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){4}[a-z_;]*;|^([a-z_;]*[|]){3}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError5F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){4}[a-z_;]*;|^([a-z_;]*[|]){3}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError5B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (4)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){2}[a-z_;]*;|^([a-z_;]*[|]){3}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError5B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -5)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){5}[a-z_;]*;|^([a-z_;]*[|]){4}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError6F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){5}[a-z_;]*;|^([a-z_;]*[|]){4}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError6F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){5}[a-z_;]*;|^([a-z_;]*[|]){4}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError6B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (5)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){5}[a-z_;]*;|^([a-z_;]*[|]){4}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError6B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -6)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){6}[a-z_;]*;|^([a-z_;]*[|]){5}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError7F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){6}[a-z_;]*;|^([a-z_;]*[|]){5}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError7F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){6}[a-z_;]*;|^([a-z_;]*[|]){5}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError7B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (6)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){6}[a-z_;]*;|^([a-z_;]*[|]){5}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError7B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -7)));
}

way|z19-[turn:lanes=~/(^([a-z_;]*[|]){7}[a-z_;]*;|^([a-z_;]*[|]){6}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError8F,
way|z19-[turn:lanes:forward=~/(^([a-z_;]*[|]){7}[a-z_;]*;|^([a-z_;]*[|]){6}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError8F,
way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){7}[a-z_;]*;|^([a-z_;]*[|]){6}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError8B
{ 
    color: red;
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(lanes_bw, "default") * prop(b-set, "default")) - 
    (prop(b-set, "default") * (7)) - prop(b2-set, "default"));
    width: eval(prop(b-set, "default") -4);
    casing-width: 0;
    object-z-index: 1.2;
}

way|z19-[turn:lanes:backward=~/(^([a-z_;]*[|]){7}[a-z_;]*;|^([a-z_;]*[|]){6}[a-z_;]*[|])(left|right)([|]|;|$)/]::leftRightError8B
{ 
    offset: eval((prop(lanes_ges, "default") * prop(b2-set, "default")) - (prop(b2-set, "default") *1) - (prop(b-set, "default") * (prop(lanes_bw, "default") -8)));
}
*/

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrbahn-Trennlinien, wenn der Spurwechsel unbegrenzt möglich ist (keine change:lanes)                                                          */
/* road painting, if changing the lane is not linited                (no    change:lanes)                                                          */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 1][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_1,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 2][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_2,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 3][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_3,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 4][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_4,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 5][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_5,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 6][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_6,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 7][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_7,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 8][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_8,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 9][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_9,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 10][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_10,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 11][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_11,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 12][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_12,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 13][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_13,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 14][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_14,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 15][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_15,
way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 16][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_16
{
    color: white;
    width: 1;
    offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default")));
    object-z-index: 2.0;
    dashes: 10, 10;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 2][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_2
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *2)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 3][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_3
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *3)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 4][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_4
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *4)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 5][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_5
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *5)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 6][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_6
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *6)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 7][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_7
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *7)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 8][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_8
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *8)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 9][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_9
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *9)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 10][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_10
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *10)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 11][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_11
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *11)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 12][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_12
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *12)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 13][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_13
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *13)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 14][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_14
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *14)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 15][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_15
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *15)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_ges, "default") > 16][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Fahrspur_16
{ offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *16)); }

way|z17-[is_prop_set(ok, "default")][prop(lanes_bth, "default") > 0][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Begegnungsspur
{
    color: #A0A020;
    width: eval(prop(b-set, "default") * prop(lanes_bth, "default"));
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop("lanes_bw", "default"))) - (((prop(b-set, "default")) * (prop(lanes_bth, "default"))) / 2));
    object-z-index: 2.5;
}

/* Centerline */
way|z17-[is_prop_set(ok, "default")][!is_prop_set(einbahn, "default")][prop(lanes_ges, "default")>1][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Mittelstrich_1
{
    color: white;
    width: 3;
    lanes_bw: 2;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))));
    dashes: 10, 10;
    object-z-index: 3.0;
}

/* Centerline2 if # of lanes is odd and no lanes:forward defined */
way|z17-[is_prop_set(ok, "default")][!is_prop_set(einbahn, "default")][prop(lanes_ges, "default")>2][prop(lanes_bth, "default") > 0][!change:lanes][!change:lanes:forward][!change:lanes:backward]::Mittelstrich_2
{
    color: white;
    width: 3;
    offset: eval(((prop(lanes_ges, "default")) * ((prop(b2-set, "default")))) - ((prop(b-set, "default")) * ((prop("lanes_bw", "default")) + (prop(lanes_bth, "default")))));
    dashes: 10, 10;
    object-z-index: 3.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Mit tag "change:lanes" definierte Fahrspurwechselmöglichkeiten, / Posibiliy of changing the lanes, defined with tag "change:lanes"              */
/* ausgewertete Werte / evaluated values : yes, no, to_left, to_right                                                                              */
/*                                                                                                                                                 */
/* Fahrspur 1                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 0][change:lanes=~/^(yes|to_left)([|]|$)/][prop(lanes_bw, "default") > 0]::Fahrspur_1_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 0][change:lanes:forward=~/^(yes|to_left)([|]|$)/][prop(lanes_bw, "default") > 0]::Fahrspur_1_F_L
{
    color: white;
    width: 3;
    offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *0) - (prop(b-set, "default") * prop(lanes_bw, "default"))-2);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 0][change:lanes=~/^(no|to_right)([|]|$)/][prop(lanes_bw, "default") > 0]::Fahrspur_1_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 0][change:lanes:forward=~/^(no|to_right)([|]|$)/][prop(lanes_bw, "default") > 0]::Fahrspur_1_F_L
{
    color: white;
    width: 3;
    offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *0) - (prop(b-set, "default") * prop(lanes_bw, "default"))-2);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes=~/^(yes|to_right)([|]|$)/]::Fahrspur_1_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes:forward=~/^(yes|to_right)([|]|$)/]::Fahrspur_1_F_R
{
    color: white;
    width: 1;
    offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *1) - (prop(b-set, "default") * prop(lanes_bw, "default"))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes=~/^(no|to_left)([|]|$)/]::Fahrspur_1_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes:forward=~/^(no|to_left)([|]|$)/]::Fahrspur_1_F_R
{
    color: white;
    width: 1;
    offset: eval((prop(lanes_ges, "default") * (prop(b2-set, "default"))) - (prop(b-set, "default") *1) - (prop(b-set, "default") * prop(lanes_bw, "default"))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 0][change:lanes:backward=~/^(yes|to_left)([|]|$)/][prop(lanes_fw, "default") > 0]::Fahrspur_1_B_L
{
    color: white;
    width: 3;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*0)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-2));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 0][change:lanes:backward=~/^(no|to_right)([|]|$)/][prop(lanes_fw, "default") > 0]::Fahrspur_1_B_L
{
    color: white;
    width: 3;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*0)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-2));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 1][change:lanes:backward=~/^(yes|to_right)([|]|$)/]::Fahrspur_1_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-1))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 1][change:lanes:backward=~/^(no|to_left)([|]|$)/]::Fahrspur_1_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-1))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 2                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes=~/^([a-z_]*[|]){1}(yes|to_left)([|]|$)/]::Fahrspur_2_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes:forward=~/^([a-z_]*[|]){1}(yes|to_left)([|]|$)/]::Fahrspur_2_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*1)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes=~/^([a-z_]*[|]){1}(no|to_right)([|]|$)/]::Fahrspur_2_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 1][change:lanes:forward=~/^([a-z_]*[|]){1}(no|to_right)([|]|$)/]::Fahrspur_2_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*1)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes=~/^([a-z_]*[|]){1}(yes|to_right)([|]|$)/]::Fahrspur_2_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes:forward=~/^([a-z_]*[|]){1}(yes|to_right)([|]|$)/]::Fahrspur_2_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*2)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes=~/^([a-z_]*[|]){1}(no|to_left)([|]|$)/]::Fahrspur_2_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes:forward=~/^([a-z_]*[|]){1}(no|to_left)([|]|$)/]::Fahrspur_2_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*2)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 1][change:lanes:backward=~/^([a-z_]*[|]){1}(yes|to_left)([|]|$)/]::Fahrspur_2_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-1))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 1][change:lanes:backward=~/^([a-z_]*[|]){1}(no|to_right)([|]|$)/]::Fahrspur_2_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-1))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 2][change:lanes:backward=~/^([a-z_]*[|]){1}(yes|to_right)([|]|$)/]::Fahrspur_2_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-2))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 2][change:lanes:backward=~/^([a-z_]*[|]){1}(no|to_left)([|]|$)/]::Fahrspur_2_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-2))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 3                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes=~/^([a-z_]*[|]){2}(yes|to_left)([|]|$)/]::Fahrspur_3_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes:forward=~/^([a-z_]*[|]){2}(yes|to_left)([|]|$)/]::Fahrspur_3_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*2)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes=~/^([a-z_]*[|]){2}(no|to_right)([|]|$)/]::Fahrspur_3_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 2][change:lanes:forward=~/^([a-z_]*[|]){2}(no|to_right)([|]|$)/]::Fahrspur_3_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*2)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes=~/^([a-z_]*[|]){2}(yes|to_right)([|]|$)/]::Fahrspur_3_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes:forward=~/^([a-z_]*[|]){2}(yes|to_right)([|]|$)/]::Fahrspur_3_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*3)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes=~/^([a-z_]*[|]){2}(no|to_left)([|]|$)/]::Fahrspur_3_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes:forward=~/^([a-z_]*[|]){2}(no|to_left)([|]|$)/]::Fahrspur_3_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*3)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 2][change:lanes:backward=~/^([a-z_]*[|]){2}(yes|to_left)([|]|$)/]::Fahrspur_3_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-2))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 2][change:lanes:backward=~/^([a-z_]*[|]){2}(no|to_right)([|]|$)/]::Fahrspur_3_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-2))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 3][change:lanes:backward=~/^([a-z_]*[|]){2}(yes|to_right)([|]|$)/]::Fahrspur_3_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-3))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 3][change:lanes:backward=~/^([a-z_]*[|]){2}(no|to_left)([|]|$)/]::Fahrspur_3_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-3))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 4                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes=~/^([a-z_]*[|]){3}(yes|to_left)([|]|$)/]::Fahrspur_4_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes:forward=~/^([a-z_]*[|]){3}(yes|to_left)([|]|$)/]::Fahrspur_4_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*3)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes=~/^([a-z_]*[|]){3}(no|to_right)([|]|$)/]::Fahrspur_4_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 3][change:lanes:forward=~/^([a-z_]*[|]){3}(no|to_right)([|]|$)/]::Fahrspur_4_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*3)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes=~/^([a-z_]*[|]){3}(yes|to_right)([|]|$)/]::Fahrspur_4_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes:forward=~/^([a-z_]*[|]){3}(yes|to_right)([|]|$)/]::Fahrspur_4_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*4)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes=~/^([a-z_]*[|]){3}(no|to_left)([|]|$)/]::Fahrspur_4_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes:forward=~/^([a-z_]*[|]){3}(no|to_left)([|]|$)/]::Fahrspur_4_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*4)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 3][change:lanes:backward=~/^([a-z_]*[|]){3}(yes|to_left)([|]|$)/]::Fahrspur_4_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-3))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 3][change:lanes:backward=~/^([a-z_]*[|]){3}(no|to_right)([|]|$)/]::Fahrspur_4_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-3))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 4][change:lanes:backward=~/^([a-z_]*[|]){3}(yes|to_right)([|]|$)/]::Fahrspur_4_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-4))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 4][change:lanes:backward=~/^([a-z_]*[|]){3}(no|to_left)([|]|$)/]::Fahrspur_4_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-4))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 5                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes=~/^([a-z_]*[|]){4}(yes|to_left)([|]|$)/]::Fahrspur_5_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes:forward=~/^([a-z_]*[|]){4}(yes|to_left)([|]|$)/]::Fahrspur_5_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*4)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes=~/^([a-z_]*[|]){4}(no|to_right)([|]|$)/]::Fahrspur_5_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 4][change:lanes:forward=~/^([a-z_]*[|]){4}(no|to_right)([|]|$)/]::Fahrspur_5_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*4)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes=~/^([a-z_]*[|]){4}(yes|to_right)([|]|$)/]::Fahrspur_5_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes:forward=~/^([a-z_]*[|]){4}(yes|to_right)([|]|$)/]::Fahrspur_5_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*5)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes=~/^([a-z_]*[|]){4}(no|to_left)([|]|$)/]::Fahrspur_5_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes:forward=~/^([a-z_]*[|]){4}(no|to_left)([|]|$)/]::Fahrspur_5_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*5)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 4][change:lanes:backward=~/^([a-z_]*[|]){4}(yes|to_left)([|]|$)/]::Fahrspur_5_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-4))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 4][change:lanes:backward=~/^([a-z_]*[|]){4}(no|to_right)([|]|$)/]::Fahrspur_5_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-4))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 5][change:lanes:backward=~/^([a-z_]*[|]){4}(yes|to_right)([|]|$)/]::Fahrspur_5_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-5))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 5][change:lanes:backward=~/^([a-z_]*[|]){4}(no|to_left)([|]|$)/]::Fahrspur_5_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-5))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 6                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes=~/^([a-z_]*[|]){5}(yes|to_left)([|]|$)/]::Fahrspur_6_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes:forward=~/^([a-z_]*[|]){5}(yes|to_left)([|]|$)/]::Fahrspur_6_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*5)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes=~/^([a-z_]*[|]){5}(no|to_right)([|]|$)/]::Fahrspur_6_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 5][change:lanes:forward=~/^([a-z_]*[|]){5}(no|to_right)([|]|$)/]::Fahrspur_6_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*5)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes=~/^([a-z_]*[|]){5}(yes|to_right)([|]|$)/]::Fahrspur_6_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes:forward=~/^([a-z_]*[|]){5}(yes|to_right)([|]|$)/]::Fahrspur_6_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*6)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes=~/^([a-z_]*[|]){5}(no|to_left)([|]|$)/]::Fahrspur_6_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes:forward=~/^([a-z_]*[|]){5}(no|to_left)([|]|$)/]::Fahrspur_6_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*6)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 5][change:lanes:backward=~/^([a-z_]*[|]){5}(yes|to_left)([|]|$)/]::Fahrspur_6_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-5))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 5][change:lanes:backward=~/^([a-z_]*[|]){5}(no|to_right)([|]|$)/]::Fahrspur_6_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-5))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 6][change:lanes:backward=~/^([a-z_]*[|]){5}(yes|to_right)([|]|$)/]::Fahrspur_6_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-6))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 6][change:lanes:backward=~/^([a-z_]*[|]){5}(no|to_left)([|]|$)/]::Fahrspur_6_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-6))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 7                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes=~/^([a-z_]*[|]){6}(yes|to_left)([|]|$)/]::Fahrspur_7_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes:forward=~/^([a-z_]*[|]){6}(yes|to_left)([|]|$)/]::Fahrspur_7_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*6)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes=~/^([a-z_]*[|]){6}(no|to_right)([|]|$)/]::Fahrspur_7_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 6][change:lanes:forward=~/^([a-z_]*[|]){6}(no|to_right)([|]|$)/]::Fahrspur_7_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*6)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes=~/^([a-z_]*[|]){6}(yes|to_right)([|]|$)/]::Fahrspur_7_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes:forward=~/^([a-z_]*[|]){6}(yes|to_right)([|]|$)/]::Fahrspur_7_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*7)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes=~/^([a-z_]*[|]){6}(no|to_left)([|]|$)/]::Fahrspur_7_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes:forward=~/^([a-z_]*[|]){6}(no|to_left)([|]|$)/]::Fahrspur_7_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*7)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 6][change:lanes:backward=~/^([a-z_]*[|]){6}(yes|to_left)([|]|$)/]::Fahrspur_7_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-6))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 6][change:lanes:backward=~/^([a-z_]*[|]){6}(no|to_right)([|]|$)/]::Fahrspur_7_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-6))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 7][change:lanes:backward=~/^([a-z_]*[|]){6}(yes|to_right)([|]|$)/]::Fahrspur_7_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-7))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 7][change:lanes:backward=~/^([a-z_]*[|]){6}(no|to_left)([|]|$)/]::Fahrspur_7_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-7))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*                                                                                                                                                 */
/* Fahrspur 8                                                                                                                                      */
/*                                                                                                                                                 */
/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes=~/^([a-z_]*[|]){7}(yes|to_left)([|]|$)/]::Fahrspur_8_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes:forward=~/^([a-z_]*[|]){7}(yes|to_left)([|]|$)/]::Fahrspur_8_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*7)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes=~/^([a-z_]*[|]){7}(no|to_right)([|]|$)/]::Fahrspur_8_F_L,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 7][change:lanes:forward=~/^([a-z_]*[|]){7}(no|to_right)([|]|$)/]::Fahrspur_8_F_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*7)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 8][change:lanes=~/^([a-z_]*[|]){7}(yes|to_right)([|]|$)/]::Fahrspur_8_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 8][change:lanes:forward=~/^([a-z_]*[|]){7}(yes|to_right)([|]|$)/]::Fahrspur_8_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*8)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 8][change:lanes=~/^([a-z_]*[|]){7}(no|to_left)([|]|$)/]::Fahrspur_8_F_R,
way|z17-[is_prop_set(ok, "default")][prop(lanes_fw, "default") > 8][change:lanes:forward=~/^([a-z_]*[|]){7}(no|to_left)([|]|$)/]::Fahrspur_8_F_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*8)-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 7][change:lanes:backward=~/^([a-z_]*[|]){7}(yes|to_left)([|]|$)/]::Fahrspur_8_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-7))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 7][change:lanes:backward=~/^([a-z_]*[|]){7}(no|to_right)([|]|$)/]::Fahrspur_8_B_L
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-7))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-(-1));
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 8][change:lanes:backward=~/^([a-z_]*[|]){7}(yes|to_right)([|]|$)/]::Fahrspur_8_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-8))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    dashes: 10, 10;
    object-z-index: 2.1;
}

way|z17-[is_prop_set(ok, "default")][prop(lanes_bw, "default") > 8][change:lanes:backward=~/^([a-z_]*[|]){7}(no|to_left)([|]|$)/]::Fahrspur_8_B_R
{
    color: white;
    width: 1;
    offset:eval((prop(lanes_ges,"default")*(prop(b2-set,"default"))*(-1))-(prop(b-set,"default")*(-8))-(prop(b-set,"default")*prop(lanes_fw,"default")*(-1))-1);
    object-z-index: 2.1;
}

/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

/* Fahrspur 01 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^[a-z_;]*_left/]::Abbiegespur_1_L,
way|z19-[turn:lanes:forward=~/^[a-z_;]*_left/]::Abbiegespur_1_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^[a-z_;]*(straight|through)/]::Abbiegespur_G_F,
way|z19-[turn:lanes:forward=~/^[a-z_;]*(straight|through)/]::Abbiegespur_1_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^[a-z_;]*_right/]::Abbiegespur_1_R_F,
way|z19-[turn:lanes:forward=~/^[a-z_;]*_right/]::Abbiegespur_1_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^[a-z_;]*_left/]::Abbiegespur_1_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^[a-z_;]*(straight|through)/]::Abbiegespur_1_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^[a-z_;]*_right/]::Abbiegespur_1_R_B
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 02 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){1}[a-z_;]*_left/]::Abbiegespur_2_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){1}[a-z_;]*_left/]::Abbiegespur_2_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *1) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){1}[a-z_;]*(straight|through)/]::Abbiegespur_2_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){1}[a-z_;]*(straight|through)/]::Abbiegespur_2_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *1) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){1}[a-z_;]*_right/]::Abbiegespur_2_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){1}[a-z_;]*_right/]::Abbiegespur_2_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *1) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){1}[a-z_;]*_left/]::Abbiegespur_2_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-1)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){1}[a-z_;]*(straight|through)/]::Abbiegespur_2_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-1)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){1}[a-z_;]*_right/]::Abbiegespur_2_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-1)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 03 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){2}[a-z_;]*_left/]::Abbiegespur_3_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){2}[a-z_;]*_left/]::Abbiegespur_3_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *2) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){2}[a-z_;]*(straight|through)/]::Abbiegespur_3_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){2}[a-z_;]*(straight|through)/]::Abbiegespur_3_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *2) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){2}[a-z_;]*_right/]::Abbiegespur_3_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){2}[a-z_;]*_right/]::Abbiegespur_3_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *2) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){2}[a-z_;]*_left/]::Abbiegespur_3_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-2)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){2}[a-z_;]*(straight|through)/]::Abbiegespur_3_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-2)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){2}[a-z_;]*_right/]::Abbiegespur_3_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-2)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 04 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){3}[a-z_;]*_left/]::Abbiegespur_4_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){3}[a-z_;]*_left/]::Abbiegespur_4_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *3) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){3}[a-z_;]*(straight|through)/]::Abbiegespur_4_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){3}[a-z_;]*(straight|through)/]::Abbiegespur_4_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *3) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){3}[a-z_;]*_right/]::Abbiegespur_4_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){3}[a-z_;]*_right/]::Abbiegespur_4_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *3) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){3}[a-z_;]*_left/]::Abbiegespur_4_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-3)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){3}[a-z_;]*(straight|through)/]::Abbiegespur_4_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-3)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){3}[a-z_;]*_right/]::Abbiegespur_4_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-3)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 05 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){4}[a-z_;]*_left/]::Abbiegespur_5_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){4}[a-z_;]*_left/]::Abbiegespur_5_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *4) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){4}[a-z_;]*(straight|through)/]::Abbiegespur_5_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){4}[a-z_;]*(straight|through)/]::Abbiegespur_5_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *4) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){4}[a-z_;]*_right/]::Abbiegespur_5_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){4}[a-z_;]*_right/]::Abbiegespur_5_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *4) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){4}[a-z_;]*_left/]::Abbiegespur_5_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-4)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){4}[a-z_;]*(straight|through)/]::Abbiegespur_5_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-4)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){4}[a-z_;]*_right/]::Abbiegespur_5_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-4)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 06 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){5}[a-z_;]*_left/]::Abbiegespur_6_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){5}[a-z_;]*_left/]::Abbiegespur_6_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *5) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){5}[a-z_;]*(straight|through)/]::Abbiegespur_6_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){5}[a-z_;]*(straight|through)/]::Abbiegespur_6_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *5) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){5}[a-z_;]*_right/]::Abbiegespur_6_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){5}[a-z_;]*_right/]::Abbiegespur_6_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *5) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){5}[a-z_;]*_left/]::Abbiegespur_6_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-5)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){5}[a-z_;]*(straight|through)/]::Abbiegespur_6_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-5)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){5}[a-z_;]*_right/]::Abbiegespur_6_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-5)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 07 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){6}[a-z_;]*_left/]::Abbiegespur_7_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){6}[a-z_;]*_left/]::Abbiegespur_7_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *6) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){6}[a-z_;]*(straight|through)/]::Abbiegespur_7_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){6}[a-z_;]*(straight|through)/]::Abbiegespur_7_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *6) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){6}[a-z_;]*_right/]::Abbiegespur_7_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){6}[a-z_;]*_right/]::Abbiegespur_7_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *6) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){6}[a-z_;]*_left/]::Abbiegespur_7_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-6)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){6}[a-z_;]*(straight|through)/]::Abbiegespur_7_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-6)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){6}[a-z_;]*_right/]::Abbiegespur_7_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-6)) -3);
    object-z-index: 1.9;
    width: 4;
}

/* Fahrspur 08 ---------------------------------------------------------------------------------------------*/
way|z19-[turn:lanes=~/^([a-z;_]*[|]){7}[a-z_;]*_left/]::Abbiegespur_8_L_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){7}[a-z_;]*_left/]::Abbiegespur_8_L_F
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *7) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -3);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){7}[a-z_;]*(straight|through)/]::Abbiegespur_8_G_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){7}[a-z_;]*(straight|through)/]::Abbiegespur_8_G_F
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *7) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes=~/^([a-z;_]*[|]){7}[a-z_;]*_right/]::Abbiegespur_8_R_F,
way|z19-[turn:lanes:forward=~/^([a-z;_]*[|]){7}[a-z_;]*_right/]::Abbiegespur_8_R_F
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) *7) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){7}[a-z_;]*_left/]::Abbiegespur_8_L_B
{
    color: red;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-7)) -16);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){7}[a-z_;]*(straight|through)/]::Abbiegespur_8_G_B
{
    color: yellow;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-7)) -9);
    object-z-index: 1.9;
    width: 4;
}

way|z19-[turn:lanes:backward=~/^([a-z;_]*[|]){7}[a-z_;]*_right/]::Abbiegespur_8_R_B 
{
    color: #A0FF00;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default") -1)) 
        - ((prop(b-set, "default")) *(-7)) -3);
    object-z-index: 1.9;
    width: 4;
}


way|z17-[is_prop_set(ok, "default")][prop(lanes_bth, "default") > 0]::Begegnungsspur
{
    color: #A0A020;
    width: eval(prop(b-set, "default") * prop(lanes_bth, "default"));
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop("lanes_bw", "default"))) - (((prop(b-set, "default")) * (prop(lanes_bth, "default"))) / 2));
    object-z-index: 2.5;
    /*
    pattern-image: "straight.jpg";
    offset: 50;
    offset-pattern-image: 50;
    width: 0;
    text-offset: -100;
    pattern-offset:-100;
    image-offset:-100;
    offset-image:-100;
    offset:-100;
    font-offset:-100;
    line-offset:-100;
    offset-pattern: -100;
    pattern-image-offset:-50;
    */
}

way|z17-[is_prop_set(ok, "default")][!is_prop_set(einbahn, "default")][prop(lanes_ges, "default")>1]::Mittelstrich_1
{
    color: white;
    width: 3;
    lanes_bw: 2;
    offset: eval(((prop(lanes_ges, "default")) * (prop(b2-set, "default"))) - ((prop(b-set, "default")) * (prop(lanes_bw, "default"))));
    dashes: 10, 10;
    object-z-index: 3.0;
}

way|z17-[is_prop_set(ok, "default")][!is_prop_set(einbahn, "default")][prop(lanes_ges, "default")>2][prop(lanes_bth, "default") > 0]::Mittelstrich_2
{
    color: white;
    width: 3;
    offset: eval(((prop(lanes_ges, "default")) * ((prop(b2-set, "default")))) - ((prop(b-set, "default")) * ((prop("lanes_bw", "default")) + (prop(lanes_bth, "default")))));
    dashes: 10, 10;
    object-z-index: 3.1;
}

Styles_Lane_features_ryg-style.mapcss, Styles_Lane_features_ryg.zip

Last modified 5 years ago Last modified on 2014-07-03T01:38:33+02:00