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

relation/xxx/full does not return nd elements in ways #553

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

relation/xxx/full does not return nd elements in ways #553

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: osm[at]randomjunk.co.uk
[Submitted to the original trac issue database at 8.24pm, Friday, 5th October 2007]

When you request the full details for a relation it seems to work well, recursively pulling the ways and nodes as advertised, except that the way elements do not contain the nd elements so you can't actually reconstruct things.

ie:

http://www.openstreetmap.org/api/0.5/relation/2200/full

... nodes ...

<way id="8598042" visible="true" timestamp="2007-10-08T11:00:15+01:00" user="Jiuka">
<tag k="landuse" v="forest"/>
<tag k="created_by" v="JOSM"/>
<tag k="natural" v="wood"/>
</way>

where it should be:

http://www.openstreetmap.org/api/0.5/way/8598042

<way id="8598042" visible="true" timestamp="2007-10-08T11:00:15+01:00" user="Jiuka">
<nd ref="54582019"/>
<nd ref="54581998"/>
<nd ref="54582016"/>
<nd ref="54582014"/>
<nd ref="54581999"/>
<nd ref="54582012"/>
<nd ref="54582011"/>
<nd ref="54582007"/>
<nd ref="54582004"/>
<nd ref="54582001"/>
<nd ref="54582038"/>
<nd ref="54582039"/>
<nd ref="54582042"/>
<nd ref="54582045"/>
<nd ref="54582019"/>
<tag k="landuse" v="forest"/>
<tag k="created_by" v="JOSM"/>
<tag k="natural" v="wood"/>
</way>
@openstreetmap-trac
Copy link
Author

Author: tomhughes
[Added to the original trac issue at 4.54pm, Monday, 8th October 2007]

(In [4891]) Pass a list of visible nodes when generating XML for a way. Closes #553.

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