[OSM-dev] [OSM-talk] Potlatch and merging ways

Matthias Julius lists at julius-net.net
Wed Jul 4 19:19:02 BST 2007


Richard Fairhurst <richard at systemeD.net> writes:

> 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".

This might all be correct.  However, you missed a minor detail.  This
is about merging ways - not splitting.

Matthias





More information about the dev mailing list