[Rebuild] Coordinates of deleted nodes

Richard Fairhurst richard at systemeD.net
Sun Jul 8 17:50:07 BST 2012


On 06/07/2012 21:06, Andy Allan wrote:
> I see three options
> A) Modify rails_port so that deleting a node updates the lat/lon
> B) Modify rails_port so that lat/lon of a deleted node is not visible
> on the website or via any api calls
> C) Modify the bot so that any node deletions are preceeded with a
> separate modify, i.e. modify(lat,lon), then delete
>
> Which is best?

I'd go for B. It's inconsistent that we currently show 'content' (lat, 
lon, tags) for deleted nodes:
	http://www.openstreetmap.org/browse/node/102291199

but we don't do so for ways:
	http://www.openstreetmap.org/browse/way/14944497

nor relations:
	http://www.openstreetmap.org/browse/relation/2171573

Making the node behaviour consistent with that of ways and relations 
would be a (very modest) improvement to the existing API.

I also struggle conceptually with the idea that a deleted node can 
_have_ a lat or lon. By definition, if it's deleted, it doesn't exist 
any more. The lat and lon was a property of whatever it used to be, and 
that remains accessible via the object history.

cheers
Richard




More information about the Rebuild mailing list