[OSM-dev] Problem with bulk_import

Arne Goetje arne at linux.org.tw
Sat Oct 13 15:08:04 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher Schmidt wrote:
> On Sat, Oct 13, 2007 at 01:12:28PM +0800, Arne Goetje wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi list,
>>
>> I have some problem with the bulk import script (using 0.5 API):
>> I'm trying to import the coastline for Southern China and Taiwan. Now it
>> seems that the nodes got all created, but when creating the ways, the
>> script throws errors at me:
>>
>> 2007-10-12 01:21:30 UTC Error: 404 Not Found (modify way -143951)
>>
>> Now, this happens for every way in that osm file, so no ways got created
>> as a result.
>>
>> the ways in the OSM file look like this and where generated by JOSM (0.5
>> API):
> 
> Change all the "action='modify'" lines which are actually *creating*
> ways to action='create'.
> 
> At least, that's what I had to do to get it working for the MassGIS
> import -- I had thought this was just the way it was supposed to work.

Oi! If that's the case, then coast_import should be fixed, as it
generates only 'modify' and not 'create'.

Thanks, I will run a sed over it.

Cheers
Arne
- --
Arne Götje (高盛華) <arne at linux.org.tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHENFEbp/QbmhdHowRAms1AKCyaptPPksLpooUGh7xxKzU96Y+YwCdGQo/
TDQEzMMtdrOX3Pp4v1Kkmsg=
=AXjX
-----END PGP SIGNATURE-----




More information about the dev mailing list