[OSM-talk] upload error using bulk_upload.py
Tom Hughes
tom at compton.nu
Thu Jul 2 00:12:48 BST 2009
On 01/07/09 16:58, Alice Kaerast wrote:
> 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)
That shouldn't be needed anymore - the latest version of lighttpd which
we are now running has an option to stop it returning an error for those
expect headers and it has been turned on for a while now.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the talk
mailing list