Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

no api 0.4 call to find ways by segment id #452

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

no api 0.4 call to find ways by segment id #452

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: vmike[at]gmx.net
[Submitted to the original trac issue database at 2.14pm, Sunday, 13th May 2007]

API 0.3 had an API call to find ways (or areas) to which a specific segment belongs to:

/segment/<id>/ways
/segment/<id>/areas

These calls haven't made it to API 0.4. These calls were helpfull in blocking the deletion of segments if those segments are used elsewhere.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 11.48pm, Tuesday, 12th June 2007]

Well the API shouldn't allow you to delete an object that is in use - see ticket #454.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 10.53pm, Thursday, 21st June 2007]

I have implemented the segment//ways and node//segments calls in the 0.4 API as change r3290.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant