wiki:Styles/MappingAccessibility

Version 4 (modified by LorenzoStucchi, 9 days ago) (diff)

fix indention

meta
{
    title: "Mapping Accessibility";
    description: "Mappatura dell'accessibilità";
    version: "2.4_2020-11-22";
    author: "LorenzoStucchi";
    link: "https://wiki.openstreetmap.org/wiki/User:LorenzoStucchi/ViaLibera";
    icon: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility.png";
    watch-modified: true;
}

 /* Style preset for kerbs */
node|z16-[kerb = flush][tactile_paving != yes]{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_green.png";
        icon-width: 15;
}
node|z16-[kerb = flush][tactile_paving = yes]{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_lime.png";
        icon-width: 15;
}
node|z16-[kerb = lowered]{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_orange.png";
        icon-width: 15;
}
node|z16-[kerb = raised]{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_red.png";
        icon-width: 15;
}
node|z16-[kerb]::background{
        symbol-shape: circle;
        symbol-size: 13;
        symbol-fill-color: #FFFFFF;
        symbol-fill-opacity: 0.9;
        z-index: -5;
}

 /* Style preset for barriers obstacle for wheelchair */
node|z16-[obstacle:wheelchair = yes]::obstacle{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/danger_wheelchair.png"; 
        icon-width: 15;
        icon-opacity: 0.6;
}

 /* Style preset for parking space reserved */
*|z16-[amenity = parking_space][disabled = designated]{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/wheelchair_parking.png";
        icon-width: 12;
}
*|z16-[amenity = parking_space][parking_space = disabled]{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/wheelchair_parking.png";
        icon-width: 12;
}

 /* Style preset for wheelchair accessibility */
node|z16-[wheelchair = yes]::wheelchair, area|z16-[wheelchair = yes]::wheelchair{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_green.png";
        icon-width: 15;
        icon-offset-x: -20;
}
node|z16-[wheelchair = limited]::wheelchair, area|z16-[wheelchair = limited]::wheelchair{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_orange.png";
        icon-width: 15;
        icon-offset-x: -20;
}
node|z16-[wheelchair = half]::wheelchair, area|z16-[wheelchair = half]::wheelchair{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_orange.png";
        icon-width: 15;
        icon-offset-x: -20;
}
node|z16-[wheelchair = no]::wheelchair, area|z16-[wheelchair = no]::wheelchair{
        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_red.png";
        icon-width: 15;
        icon-offset-x: -20;
}

 /* Style preset for sidewalk */
way|z14-[footway = sidewalk]{
        z-index: 10;
        color: darkorange;
        width: 3;
        dashes: 10, 6;
}

 /* Style preset for crossing */
way|z14-[footway = crossing], way|z14-[cycleway = crossing], way|z14-[path = crossing]{
        z-index: 10;
        color: gold;
        width: 6;
        dashes: 4, 4;
}

node|z14-[footway = crossing]{
        icon-image: "presets/transport/way/dedicated_footway.svg";
        icon-width: 15;
}

node|z14-[cycleway = crossing]{
        icon-image: "presets/transport/way/dedicated_cycleway.svg";
        icon-width: 15;
}

node|z14-[path = crossing]{
        icon-image: "presets/transport/way/combined_foot_cycleway.svg";
        icon-width: 15;
}

Styles_MappingAccessibility-style.mapcss, Styles_MappingAccessibility.zip