openstreetmap-ng icon indicating copy to clipboard operation
openstreetmap-ng copied to clipboard

Get all parent elements in API v0.7

Open zbycz opened this issue 8 months ago • 2 comments

The GET item endpoint should have an option to fetch all parent relations (and for nodes also all parent ways).

It scarcely make sense to edit some element without the knowledge of its parents. It would be very helpful for editors and other usage. And currently in v0.6 it is only possible with an additional request for /node/123/ways or node/123/relations.

via https://github.com/Zaczero/openstreetmap-ng/blob/4ae2d74/ANNOUNCEMENT.md#new-api-07

btw, is there some issue to track v0.7 progress or discussion? I would be glad to subscribe :)

zbycz avatar Jul 01 '24 13:07 zbycz