Skip to content

Instantly share code, notes, and snippets.

@johnjohndoe
Created February 15, 2019 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnjohndoe/2a264f6a5bc6b878d3447cd62953d2fe to your computer and use it in GitHub Desktop.
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
[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