[OSM-dev] Duplicates in planet.osm

Matt Amos zerebubuth at gmail.com
Fri Apr 10 17:13:49 BST 2009


On Fri, Apr 10, 2009 at 4:41 PM, Richard Fairhurst <richard at systemed.net> wrote:
> Thomas Wood wrote:
>
>> Are you sure API0.6 will solve this situation? In this case all the
>> ways share the same two nodes and are exactly the same tagging. 0.6
>> does not aim to solve this issue afaik.
>
> AIUI the versioning will solve it. This looks awfully like the usual
> slow-server situation to me:
>
> 1. Potlatch sends way to server
> 2. Server does it, but freaks out halfway through operation and
> doesn't return success code to Potlatch
> 3. Potlatch eventually puts up "/!\" to say "The connection is
> broken" and offers a retry button
> 4. User clicks retry
> 5. Repeat from step 1 ad infinitum
>
> With 0.6, the version number should be incremented at step 2, so
> there'll be a conflict if the user retries.

if the object is new then the version number won't help - a new object
will be created from the placeholder ID in each time.

cheers,

matt

>
> cheers
> Richard
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>




More information about the dev mailing list