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

Tom Hughes tom at compton.nu
Tue Aug 28 16:29:43 BST 2007


In message <31A3D72F-981D-47D9-B83A-3CEC8D3C351C at planetschmidt.de>
        Daniel Schmidt <Daniel at planetschmidt.de> wrote:

> I was just trying out the Java batch upload tool, but it doesn't  
> work. Can anyone help me?
>
>  > 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)
>
> Second, I'd like to ask why steps (highway=steps) aren't rendered in  
> Mapnik. I think they should be displayed just like footways.

Whatever that tool is, it looks like it is trying to use the old
and rather broken GPX upload API. It needs to be modified to use
a POST request instead of a PUT.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the talk mailing list