Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save astojilj/600a5e0ad24c6edba1dbd3973915e1ab to your computer and use it in GitHub Desktop.
Save astojilj/600a5e0ad24c6edba1dbd3973915e1ab to your computer and use it in GitHub Desktop.
/*
This query looks for nodes, ways and relations
with the given key.
Choose your region and hit the Run button above!
*/
[out:json][timeout:25];
// gather results
(
// query part for: “"building:part"=*”
node["building:part"]({{bbox}});
way["building:part"]({{bbox}});
relation["building:part"]({{bbox}});
node["building"]({{bbox}});
way["building"]({{bbox}});
relation["building"]({{bbox}});
);
// print results
out body;
>;
out skel qt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment