On Wed, 2008-02-06 at 01:08 +0200, Timo Lindfors wrote:
> It seems that 
> 
> http://osmxapi.hypercube.telascience.org/api/0.5/way%
> 5bbbox=-0.3275,50.9865,0.0725,51.3865%5d%5bhighway%7crailway%
> 7cwaterway=*%5d
> 
> contains a way
> 
>   <way id='10660210' timestamp='2007-10-31T21:45:41Z'>^M
>     <nd ref='20576167'/>^M
...
>     <nd ref='94154319'/>^M
>     <nd ref='94154321'/>^M
>     <tag k='highway' v='tertiary'/>^M
>     <tag k='name' v='Fairchildes Road'/>^M
>   </way>^M
> 
> that references node 94153236 but that node is not defined in the
> reply. The specification at
> 
> http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5
> 
> howevery says that it'd return
> 
> "any nodes outside the bounding box that the ways may reference."
> 
The node 94153236 has been deleted. According to our data-integrity
rules it should not be possible to delete a node which is referenced in
a way but it has been seen in the past due to bugs in parts of the API. 

If you request the same way from the main /way API you'll see that it
double checks that the nodes have not been deleted before returning the
way response (if they have been deleted then they don't get returned).
They do however get returned if you ask for way/N/history.

        Jon



_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to