Created
February 15, 2019 16:51
-
-
Save johnjohndoe/2a264f6a5bc6b878d3447cd62953d2fe to your computer and use it in GitHub Desktop.
Query for overpass-turbo.eu to filter for restaurants and their wheelchair accessibility status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[out:json][timeout:25][bbox:{{bbox}}]; | |
( | |
node["amenity"="restaurant"]["wheelchair"="yes"]; | |
node["amenity"="restaurant"]["wheelchair"="limited"]; | |
node["amenity"="restaurant"]["wheelchair"="no"]; | |
node["amenity"="restaurant"][!"wheelchair"]; | |
node["amenity"="restaurant"]; | |
); | |
{{style: | |
/* Accessible with a wheelchair */ | |
node[amenity=restaurant][wheelchair=yes] | |
{ color:green; fill-color:lightgreen; } | |
/* Limited wheelchair access */ | |
node[amenity=restaurant][wheelchair=limited] | |
{ color:blueviolet; fill-color:blueviolet; } | |
/* No wheelchair access */ | |
node[amenity=restaurant][wheelchair=no] | |
{ color:red; fill-color:red; } | |
/* No wheelchair information */ | |
node[amenity=restaurant][!wheelchair] | |
{ color:gray; fill-color:gray; } | |
}} | |
out body; | |
>; | |
out skel qt; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment