Jump to content

Weekly site maintenance is scheduled Thursday 04:00–06:00 UTC.
Editing will not be possible during this time, and there may be other brief disruptions. (additional info)

User:Lemuria/Useful Overpass queries

From OpenGeofiction
Code What it does How to use it
[out:csv("name";false)];
(area["admin_level"]["ogf:id"="AR004"];)->.bndarea;
way(area.bndarea)[highway][name];
out;
Lists all highway=* ways in an area. Due to Overpass API's handling of areas, only countries are guaranteed to be supported. Replace AR004 with your territory's OGF ID.

Example: Lutang (AR004)