0

There's this Multipolygon that exists and I want to get the land area it covers so I can calculate surface area.

https://www.openstreetmap.org/relation/12620768#map=18/42.34277/-71.12306

I have my query https://overpass-turbo.eu/s/1zEV for getting all surface parking nearby, but it won't include this multipolygon and I can't seem to find a way to output this the same way I can get ways. Is this even possible?

2
  • Not exactly sure what you mean by "as a way". Both the OSM API and Overpass API can return something like api.openstreetmap.org/api/0.6/relation/12620768/full - is this what you expected? Please clarify what exactly you're looking for.
    – mmd
    Aug 31, 2023 at 21:53
  • I had a general misunderstanding of how relations and ways worked. What I was really asking was how to get the relation alongside the ways in the resulting response, so I could calculate surface area of these parking lots. I'll edit my question to better clarify this Aug 31, 2023 at 22:19

1 Answer 1

0

Discovered I was able to handle this by changing way to wr to get ways and relations, which suffices to calculate land area.

https://overpass-turbo.eu/s/1zFe

Your Answer

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

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