[OSM-dev] OSM Fixer [Sequal]

Stefan de Konink stefan at konink.de
Wed Mar 25 20:34:48 GMT 2009


Dave Stubbs wrote:
> Who needs SQL?
> http://api.openstreetmap.org/api/0.5/node/292984561/ways
> 
> So yes. It is.

Thanks very interesting; I didn't realise this could do the trick.

> The API's Way.to_xml_node method strips out invisible nodes that it reads.
>   http://api.openstreetmap.org/api/0.5/way/4043588 <-- no node
> The OldWay.to_xml_node history calls do not.
>   http://api.openstreetmap.org/api/0.5/way/4043588/history <-- node
> (despite way timestamp saved after node was deleted)

So I collected all the 'problematic' things. I think by what you 
mention, it can be trivially fixed just by fetching all nodes and 
reinserting them again?

> Potlatch also doesn't try to filter
> deleted nodes, so it'll appear in Potlatch too (and be successfully
> resurected if you save the way).

This could be an award winning observation :) Can we test this is in a way?


Stefan




More information about the dev mailing list