[OSM-dev] Conflict with 0.6 wiki page and JOSM implementation

Shaun McDonald shaun at shaunmcdonald.me.uk
Wed Oct 8 17:24:52 BST 2008


Hi,
It seems that according
to:http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6#Modifications_related_to_the_abovewhen 
  you upload a node, way or relation, the version that was downloaded,  
should be in the xml of the upload too. However JOSM is sending
old_version.

Here is an example of the xml that JOSM is sending to the server:

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
  <relation id='3' timestamp='2008-10-08T15:23:49+01:00' user='Shaun  
McDonald' visible='true' old_version='1' changeset='14'>
    <member type='node' ref='2' role='' />
    <member type='way' ref='2' role='' />
    <member type='way' ref='3' role='' />
    <tag k='23' v='132' />
    <tag k='test' v='route' />
    <tag k='e' v='w' />
    <tag k='ping' v='pong' />
  </relation>
</osm>

I have found that JOSM also doesn't cope as expected when an upload is  
failing and you cancel the upload, as it will not keep the objects  
marked as requiring an upload. It also should attempt to close the  
changeset, or even better reuse the last changeset on the next upload  
after you cancelled it.

Shaun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081008/ce80be8f/attachment.bin>


More information about the dev mailing list