Opened 11 years ago

Closed 11 years ago

#553 closed defect (fixed)

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

Reported by: osm@… Owned by: Tom Hughes
Priority: major Milestone:
Component: api Version:
Keywords: Cc:

Description

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>

Change History (1)

comment:1 Changed 11 years ago by tomhughes

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.