[OSM-talk] Potlatch and merging ways

Richard Fairhurst richard at systemeD.net
Wed Jul 4 14:14:54 BST 2007


Matthias Julius wrote:

> As we found out the way and the segments are correct but the nodes are
> deleted.  While this shouldn't be possible why is Potlatch deleting
> those nodes?

Thinking aloud:

When you split a way, Potlatch (obviously) makes two ways out of it:  
one way has the old id, the other has a new id. Ok so far.

When you upload a way, Potlatch deletes any nodes that were in the  
previous version of the way, but aren't in this new version or any  
other way.

So maybe, maybe, Potlatch is uploading the "way with old id" first -  
thereby deleting the nodes that will form the new way. The fix, I  
guess, is just to make sure Potlatch uploads the "way with new id"  
before the "way with old id".

(Follow-ups to dev, I think?)

cheers
Richard





More information about the talk mailing list