[OSM-dev] Problem with bulk_import

D Tucny d at tucny.com
Sat Oct 13 15:17:58 BST 2007


On 13/10/2007, Arne Goetje <arne at linux.org.tw> wrote:
>
> -----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.
> >
> > Regards,
>
> Ah... no, I see... because I had to open the OSM file in JOSM and revert
> all ways, because they were in the wrong direction... then the 'Save'
> obviously created 'Modify' lines... :(


I created diffs using osmosis for mine by taking an empty .osm file as the
old and the new .osm file as the new outputting the .osc as input to the
bulk upload tool... This put everything into a 'create' section in the
change file... Actually, I think I stripped the action tags too...

d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20071013/4a1fc4f0/attachment.html>


More information about the dev mailing list