Search code examples
openstreetmapoverpass-api

How to download in overpass turbo a specific path


in overpass turbo how can I download Way number 209583332, I got it from OpenStreetMap site which is a

highway=path

If use highway=path in the wizard it selects all paths from the map window and I only want number 209583332.


Solution

  • You can download it directly from the OSM API: https://www.openstreetmap.org/api/0.6/way/209583332. However don't use this API for bulk downloads, see the API usage policy for more information.

    For downloading a specific element via Overpass API just query for this ID:

    way(209583332);
    out;
    

    Example: http://overpass.osm.rambler.ru/cgi/interpreter?data=way(209583332);out;