[OSM-talk] upload error using bulk_upload.py
Alice Kaerast
kaerast at qvox.org
Wed Jul 1 16:58:50 BST 2009
On Wed, 1 Jul 2009 17:49:48 +0200
Iván Sánchez Ortega <ivan at sanchezortega.es> wrote:
> El Miércoles, 1 de Julio de 2009, maning sambale escribió:
> > I get this error using bulk_upload.py:
> [...]
> > Any advice?
>
> Try the PHP bulk uploader :-D
>
>
The PHP bulk uploader does indeed fine if all you want to do is upload
*new* nodes. It causes duplicates if you try uploading existing data.
The PHP uploader may need modifying slightly to handle curl not liking
the OSM API, ie.
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
needs prepending to the other curl_setopt lines. (For some reason
my svn client has decided it is unable to give diffs any more)
--
Alice
More information about the talk
mailing list