Advertisement
Armandobs14

Administrative with level

Jan 28th, 2015
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. /*
  2. This query looks for nodes, ways and relations
  3. with the given key/value combination.
  4. Choose your region and hit the Run button above!
  5. */
  6. [out:json][timeout:25];
  7. // gather results
  8. (
  9. // query part for: “boundary=administrative”
  10. //node["boundary"="administrative"]({{bbox}});
  11. //way["boundary"="administrative"]({{bbox}});
  12. relation["boundary"="administrative"]["admin_level"="10"]({{bbox}});
  13. );
  14. // print results
  15. out body;
  16. >;
  17. out skel qt;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement