[OSM-talk] upload error using bulk_upload.py
Steve Singer
ssinger_pg at sympatico.ca
Thu Jul 2 02:30:26 BST 2009
On Thu, 2 Jul 2009, maning sambale wrote:
> Hi,
>
> These are all new nodes and ways (protected area boundaries) converted
> from a shapefile using polyshp2osm.py.
> I did manual modifications using josm but since josm has limits for
> each changeset, I tried th bulk_upload script.
>
> Another weird thing is:
> <node id='-4' action='modify' visible='true' version='0'
> lat='11.1185' lon='119.196' />
I think the problem is that it has "action=modify".
Node id=-4 isn't a real node id so that node isn't yet in OSM.
bulk_upload.py sees the action="modify" and takes that to mean that it
should upload the node as a modification, when it really needs to upload the
node as an add.
If you strip out the "action=modify" I think it will work.
I'm not sure if bulk_upload.py is doing the correct thing on a 'modify' with
a negative node number or if the node id should take precedence over the
action.
More information about the talk
mailing list