[Imports] Error while importing
Tyler
tyler.ritchie at gmail.com
Fri Jul 17 19:59:29 BST 2009
yeah, you need to login with your dev server username/password
On Fri, Jul 17, 2009 at 11:38 AM, Steven Le Roux <steven at le-roux.info>wrote:
>
>
> On Thu, Jul 16, 2009 at 3:54 AM, Tyler <tyler.ritchie at gmail.com> wrote:
>
>> change modify to create, unless you're actually modifying a way.
>
>
>
> You're right the osm xml was containing a modify tag in ways' tags.
>
> But How to revert the part uploaded yet ?
>
> I tried : perl revert.pl 1838453
>
> But I got a 401 :
> PUT http://api06.dev.openstreetmap.org/api/0.6/changeset/create... 401
> Authorization Required (25b)
> cannot create changeset: 401 Authorization Required
>
> Do I need some credentials ? to do it ?
>
> I have a bunch of changeset to revert : attached file
>
> Thx for your help Tyler
>
>
>
>>
>>
>> On Wed, Jul 15, 2009 at 4:32 PM, Steven Le Roux <steven at le-roux.info>wrote:
>>
>>>
>>>
>>> On Thu, Jul 16, 2009 at 1:31 AM, Steven Le Roux <steven at le-roux.info>wrote:
>>>
>>>> Hi All,
>>>> I was importing a bunch of data from french cadastre while I got this :
>>>>
>>>> Error uploading changeset:400
>>>> Cannot parse valid way from xml string <way action="modify"
>>>> changeset="1838461" id="-90202" visible="true">
>>>> <nd ref="442235886"/>
>>>> <nd ref="442235887"/>
>>>> <nd ref="442235884"/>
>>>> <nd ref="442235885"/>
>>>> <nd ref="442235886"/>
>>>> <tag k="building" v="yes"/>
>>>> <tag k="source" v="cadastre-dgi-fr source : Direction
>>>> Générale des Impôts – Cadastre ; mise à jour :
>>>> 20090307 ; importé par : StevenLeRoux"/>
>>>> </way>. Version is required when updating
>>>>
>>>>
>>>> I uploaded all the node before without any problem and w/o this version
>>>> key.
>>>>
>>>> I can't read anywhere here :
>>>> http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6 neither
>>>> here :
>>>> http://wiki.openstreetmap.org/wiki/OSM_Protocol_Changes_V0.5_to_V0.6#Version_numbersthat a version key is needed to create a way.
>>>>
>>>> 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...
>>>>
>>>> I don't really understand the pb here.
>>>>
>>>>
>>>> Any clue ?
>>>>
>>>> I've uploaded the osm source here if needed :
>>>>
>>>
>>>
>>> With the link...
>>>
>>> http://demo.ovh.com/fr/e75a82067a27edd3122f570c5c7f2b89/
>>>
>>>
>>>
>>>
>>>> I've uploaded with bulk_upload.py
>>>>
>>>> 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.
>>>>
>>>> Thx
>>>>
>>>>
>>>> --
>>>> Steven Le Roux
>>>> Jabber-ID : Steven at jabber.fr
>>>> 0x39494CCB <steven at le-roux.info>
>>>> 2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB
>>>>
>>>
>>>
>>>
>>> --
>>> Steven Le Roux
>>> Jabber-ID : Steven at jabber.fr
>>> 0x39494CCB <steven at le-roux.info>
>>> 2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB
>>>
>>> _______________________________________________
>>> Imports mailing list
>>> Imports at openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/imports
>>>
>>>
>>
>> _______________________________________________
>> Imports mailing list
>> Imports at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/imports
>>
>>
>
>
> --
> Steven Le Roux
> Jabber-ID : Steven at jabber.fr
> 0x39494CCB <steven at le-roux.info>
> 2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20090717/c3adeb13/attachment.html>
More information about the Imports
mailing list