[OSM-talk] Java Batch Upload, Steps, Parking

Christof Dallermassl cdaller.hw at gmx.at
Tue Aug 28 17:04:03 BST 2007


Hi!

> I was just trying out the Java batch upload tool, but it doesn't  
> work. Can anyone help me?

It was broken because the api call was changed and I had not had the 
time to fix it.

The problem is that the call was changed from PUT to POST, so the param 
passing changed. If anyone has more time than me, feel free to fix it!

> 
>  > java GpxUpload "Baden-Baden, Germany" "baden-baden germany" / 
> Volumes/HANDY/TRACKS/*.gpx
>  > using username and password from josm preferences
>  > uploading /Volumes/HANDY/TRACKS/track_20070825_1113.gpx to  
> openstreetmap.org
>  > url: http://www.openstreetmap.org/api/0.4/gpx/create/ 
> track_20070825_1113_gpx/Baden-Baden%2C+Germany/baden-baden+germany
>  > Transferring data to server
>  >
>  > return code: 404 Not Found
>  > Exception in thread "main" java.lang.RuntimeException: 404 Not Found
>  >        at GpxUpload.upload(GpxUpload.java:78)
>  >        at GpxUpload.main(GpxUpload.java:141)
> 

regards
christof

-- 
---------------------------------------------------------------------------
Christof Dallermassl
cdaller dot hw at gmx dot at
---------------------------------------------------------------------------




More information about the talk mailing list