<br><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 3:54 AM, Tyler <span dir="ltr"><<a href="mailto:tyler.ritchie@gmail.com">tyler.ritchie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
change modify to create, unless you're actually modifying a way.</blockquote><div><br></div><div><br></div><div>You're right the osm xml was containing a modify tag in ways' tags.</div><div><br></div><div>But How to revert the part uploaded yet ?</div>
<div><br></div><div>I tried : perl revert.pl 1838453</div><div><br></div><div>But I got a 401 :</div><div>PUT <a href="http://api06.dev.openstreetmap.org/api/0.6/changeset/create.">http://api06.dev.openstreetmap.org/api/0.6/changeset/create.</a>.. 401 Authorization Required (25b)</div>
<div>cannot create changeset: 401 Authorization Required</div><div><br></div><div>Do I need some credentials ? to do it ? </div><div><br></div><div>I have a bunch of changeset to revert : attached file</div><div><br></div>
<div>Thx for your help Tyler </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Wed, Jul 15, 2009 at 4:32 PM, Steven Le Roux <span dir="ltr"><<a href="mailto:steven@le-roux.info" target="_blank">steven@le-roux.info</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><br><br><div class="gmail_quote"><div>On Thu, Jul 16, 2009 at 1:31 AM, Steven Le Roux <span dir="ltr"><<a href="mailto:steven@le-roux.info" target="_blank">steven@le-roux.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<div><br></div><div>I was importing a bunch of data from french cadastre while I got this : </div><div><br></div><div><div>Error uploading changeset:400</div><div>Cannot parse valid way from xml string <way action="modify" changeset="1838461" id="-90202" visible="true"></div>
<div> <nd ref="442235886"/></div><div> <nd ref="442235887"/></div><div> <nd ref="442235884"/></div><div> <nd ref="442235885"/></div><div> <nd ref="442235886"/></div>
<div> <tag k="building" v="yes"/></div><div> <tag k="source" v="cadastre-dgi-fr source : Direction Générale des Impôts – Cadastre ; mise à jour : 20090307 ; importé par : StevenLeRoux"/></div>
<div> </way>. Version is required when updating</div><div><br></div><div><br></div><div>I uploaded all the node before without any problem and w/o this version key.</div><div><br></div><div>I can't read anywhere here : <a href="http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6" target="_blank">http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6</a> neither here : <a href="http://wiki.openstreetmap.org/wiki/OSM_Protocol_Changes_V0.5_to_V0.6#Version_numbers" target="_blank">http://wiki.openstreetmap.org/wiki/OSM_Protocol_Changes_V0.5_to_V0.6#Version_numbers</a> that a version key is needed to create a way.</div>
<div><br></div><div>It's described that every update has to be provided with the most up-to-date version key to not have an error back but I am here creating my way with an negative ID...</div><div><br></div><div>I don't really understand the pb here.</div>
<div><br></div><div><br></div><div>Any clue ?</div><div><br></div><div>I've uploaded the osm source here if needed :</div></div></blockquote><div><br></div><div><br></div></div><div>With the link... </div><div><br></div>
<div>
<span style="font-family:verdana, helvetica, arial, sans-serif;font-size:11px;white-space:pre-wrap"><a href="http://demo.ovh.com/fr/e75a82067a27edd3122f570c5c7f2b89/" target="_blank">http://demo.ovh.com/fr/e75a82067a27edd3122f570c5c7f2b89/</a></span></div>
<div>
<div><br></div><div><br></div><div><span style="font-family:verdana, helvetica, arial, sans-serif;font-size:11px;white-space:pre-wrap"></span> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>I've uploaded with bulk_upload.py</div><div><br></div>So now ? Do I need to revert all the changeset created by the node upload ? (I have a log) Because all nodes are uploaded and useless "as is" without ways to connect them.</div>
<div><br></div><div>Thx</div><div><br></div><font color="#888888"><div><br>-- <br>Steven Le Roux<br>Jabber-ID : <a href="mailto:Steven@jabber.fr" target="_blank">Steven@jabber.fr</a><br>0x39494CCB <<a href="mailto:steven@le-roux.info" target="_blank">steven@le-roux.info</a>><br>
2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB<br>
</div>
</font></blockquote></div></div><div><div></div><div><br><br clear="all"><br>-- <br>Steven Le Roux<br>Jabber-ID : <a href="mailto:Steven@jabber.fr" target="_blank">Steven@jabber.fr</a><br>0x39494CCB <<a href="mailto:steven@le-roux.info" target="_blank">steven@le-roux.info</a>><br>
2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB<br>
</div></div><br></div></div>_______________________________________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org" target="_blank">Imports@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/imports" target="_blank">http://lists.openstreetmap.org/listinfo/imports</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org">Imports@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/imports" target="_blank">http://lists.openstreetmap.org/listinfo/imports</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Steven Le Roux<br>Jabber-ID : <a href="mailto:Steven@jabber.fr">Steven@jabber.fr</a><br>0x39494CCB <<a href="mailto:steven@le-roux.info">steven@le-roux.info</a>><br>
2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB<br>