Skip to content

Commit

Permalink
Create style for JOSM
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Stucchi committed Jun 30, 2020
1 parent f76b969 commit 133415e
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 0 deletions.
63 changes: 63 additions & 0 deletions accessibility_style.mapcss
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
meta{
title: "Modified objects";
description: "Highlight modified objects";
version: "0.0.1";
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;
}

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-[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;
}

*|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;
}

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: 20;
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: 15;
}

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: 15;
}
Binary file added symbols/accessibility_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added symbols/accessibility_orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added symbols/accessibility_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added symbols/danger_wheelchair.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions symbols/danger_wheelchair.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 133415e

Please sign in to comment.