On Wed, 1 Jul 2009 17:49:48 +0200
Iván Sánchez Ortega <i...@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

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to