Changes between Initial Version and Version 1 of Styles/MappingAccessibility


Ignore:
Timestamp:
2020-10-21T11:16:14+02:00 (3 months ago)
Author:
LorenzoStucchi
Comment:

Creation of a new style

Legend:

Unmodified
Added
Removed
Modified
  • Styles/MappingAccessibility

    v1 v1  
     1{{{
     2#!style type="mapcss"
     3meta{
     4    title: "Mapping Accessibility";
     5    description: "Mappatura dell'accessibilità";
     6    version: "1.[[revision]]_[[date]]";
     7    author: "LorenzoStucchi";
     8    link: "https://wiki.openstreetmap.org/wiki/User:LorenzoStucchi/ViaLibera";
     9    icon: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility.png";
     10    watch-modified: true;
     11}
     12
     13 /* Style preset for kerbs */
     14node|z16-[kerb = flush][tactile_paving != yes]{
     15        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_green.png";
     16        icon-width: 15;
     17}
     18node|z16-[kerb = flush][tactile_paving = yes]{
     19        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_lime.png";
     20        icon-width: 15;
     21}
     22node|z16-[kerb = lowered]{
     23        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_orange.png";
     24        icon-width: 15;
     25}
     26node|z16-[kerb = raised]{
     27        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_red.png";
     28        icon-width: 15;
     29}
     30
     31 /* Style preset for barriers obstacle for wheelchair */
     32node|z16-[obstacle:wheelchair = yes]::obstacle{
     33        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/danger_wheelchair.png";
     34        icon-width: 15;
     35        icon-opacity: 0.6;
     36}
     37
     38 /* Style preset for parking space reserved */
     39*|z16-[amenity = parking_space][disabled = designated]{
     40        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/wheelchair_parking.png";
     41        icon-width: 12;
     42}
     43*|z16-[amenity = parking_space][parking_space = disabled]{
     44        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/wheelchair_parking.png";
     45        icon-width: 12;
     46}
     47
     48 /* Style preset for wheelchair accessibility */
     49node|z16-[wheelchair = yes]::wheelchair, area|z16-[wheelchair = yes]::wheelchair{
     50        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_green.png";
     51        icon-width: 15;
     52        icon-offset-x: -20;
     53}
     54node|z16-[wheelchair = limited]::wheelchair, area|z16-[wheelchair = limited]::wheelchair{
     55        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_orange.png";
     56        icon-width: 15;
     57        icon-offset-x: -20;
     58}
     59node|z16-[wheelchair = half]::wheelchair, area|z16-[wheelchair = half]::wheelchair{
     60        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_orange.png";
     61        icon-width: 15;
     62        icon-offset-x: -20;
     63}
     64node|z16-[wheelchair = no]::wheelchair, area|z16-[wheelchair = no]::wheelchair{
     65        icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_red.png";
     66        icon-width: 15;
     67        icon-offset-x: -20;
     68}
     69
     70 /* Style preset for sidewalk */
     71way|z14-[footway = sidewalk]{
     72        z-index: 10;
     73        color: dodgerblue;
     74        width: 3;
     75        dashes: 6, 2;
     76}
     77
     78 /* Style preset for crossing */
     79way|z14-[footway = crossing], way|z14-[cycleway = crossing], way|z14-[path = crossing]{
     80        z-index: 10;
     81        color: darkblue;
     82        width: 3;
     83        dashes: 6, 2;
     84}
     85
     86node|z14-[footway = crossing]{
     87        icon-image: "presets/transport/way/dedicated_footway.svg";
     88        icon-width: 15;
     89}
     90
     91node|z14-[cycleway = crossing]{
     92        icon-image: "presets/transport/way/dedicated_cycleway.svg";
     93        icon-width: 15;
     94}
     95
     96node|z14-[path = crossing]{
     97        icon-image: "presets/transport/way/combined_foot_cycleway.svg";
     98        icon-width: 15;
     99}
     100}}}