Opened 16 years ago

Last modified 19 months ago

#4142 closed defect

JOSM does not query API for referring relations when downloading primitives — at Version 7

Reported by: Nakor Owned by: team
Priority: critical Milestone: 24.05
Component: Core Version: latest
Keywords: Cc:

Description (last modified by simon04)

Download data using the following bounding box: http://www.openstreetmap.org/?lat=42.65924&lon=-83.3199&zoom=17

Download all members from the relation

Search for way 43418202. It is shown only as a member of relation 308,352 but if it is also member of another relation (see http://www.openstreetmap.org/browse/way/43418202).

This would cause inconsistencies if the way is split.

Change History (7)

comment:1 by mjulius, 16 years ago

Summary: Incomplete data when downloading all memebers of a relationJOSM does not query API for referring relations when downloading primitives

When downloading primitives from the API (with multi get) the API does not return relations the primitive is member of. There is a special API call for that:

GET /api/0.6/[node|way|relation]/#id/relations

(see http://wiki.openstreetmap.org/wiki/API_v0.6#Relations_for_Element:_GET_.2Fapi.2F0.6.2F.5Bnode.7Cway.7Crelation.5D.2F.23id.2Frelations)

JOSM needs to iterate over all downloaded primitives and check whether they are members of any relation.

Better would be if the API provided a call like

GET /api/0.6/[nodes|ways|relations]/#ids/complete

that returns the same kind of data like the map call.

comment:2 by bastiK, 16 years ago

Ticket #4405 has been marked as a duplicate of this ticket.

comment:4 by Nakor, 16 years ago

Ticket #4734 has been marked as a duplicate of this ticket.

comment:5 by stoecker, 16 years ago

Ticket #5086 has been marked as a duplicate of this ticket.

comment:6 by stoecker, 16 years ago

Priority: majorcritical

comment:7 by simon04, 14 years ago

Description: modified (diff)

Any update on this critically prioritized ticket?

Note: See TracTickets for help on using tickets.