0

I've identified this OpenStreetMap link which contains OSM's relationship id. I understand that there is download the data as xml with this link, and it returns the ref attributes.

How do I proceed to obtain the coordinates of these ref as a shapefile?

3
  • 1
    The XML file doesn't seem to have any spatial data so difficult to see how you could encode the information as a shapefile
    – nmtoken
    May 6, 2022 at 15:35
  • hi @nmtoken, I know that, but the id refers to something, and what I am asking is what it is referring to, or in other words; how to get to the shapefile based on those ref
    – sutan
    May 9, 2022 at 8:18
  • You will probably have to run an overpass query
    – nmtoken
    May 9, 2022 at 10:07

1 Answer 1

1

append "full" at the end of the link and the XML result contain coordinate tags for instance: https://www.openstreetmap.org/api/0.6/relation/7673622/full

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.