[josm-dev] Deletion conflicts

Shaun McDonald osm at shaunmcdonald.me.uk
Tue Apr 28 08:46:27 BST 2009


On 28 Apr 2009, at 08:17, Dirk Stöcker wrote:

> On Mon, 27 Apr 2009, Frederik Ramm wrote:
>
>> Idea 2: Before re-downloading an area, let JOSM mark all objects that
>> came from the API on the last download as "possibly deleted". On  
>> merging
>> the newly downloaded dataset with the existing data, reset that  
>> flag for
>> every object retrieved from the API. The remaining objects flagged
>> "possibly deleted" have been deleted on the server and should  
>> either be
>> silently removed, or if they have local modifications, a conflict  
>> dialog
>> needs to be shown.
>
> Probably this idea combined with special status request for these  
> nodes
> with that flag are best.
>
> And if the node status request could be done for multiple nodes at  
> once it
> would speed up a lot.
>

It is already possible to do a multiget, thus up to 4 requests would  
be required. Map, then one for each of nodes, ways and relations.
<http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6#Multi_fetch:_GET_.2Fapi.2F0.6.2F.5Bnodes.7Cways.7Crelations.5D 
 >

Shaun





More information about the josm-dev mailing list