[OSM-dev] uploading GPX via the API

S Knox roxyknox at yahoo.co.uk
Fri May 1 00:01:29 BST 2009


Frederik,

Yes  I thought that when I looked at the code, but when I couldn't see it in the API reference I assumed it had been removed. Anyway it works fine now. 

Thanks

Steve




________________________________
From: Frederik Ramm <frederik at remote.org>
To: S Knox <roxyknox at yahoo.co.uk>
Cc: dev at openstreetmap.org
Sent: Thursday, 30 April, 2009 23:33:43
Subject: Re: [OSM-dev] uploading GPX via the API

Hi, > Has the GPX upload method in the API been disabled in 0.6? Shame if it has 
>There is nothing in the code to suggest that it has. 

Having looked at the specs for 0.5 and 0.6 versions of the API, it seems the POST method for a GPX file has been disabled 
> That must be an omission on the part of the writer(s) of the Wiki documentation then. I have a hunch that the following line of code in the DirectUpload source... private static final String API_VERSION = "0.5"; ... might have been responsible for the malfunction ;-) fixed and rebuilt; try and update your plugins from within JOSM (might take a few minutes until the plugin list catches the new version number) and report whether it works now! Bye
Frederik --

 Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33" 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090430/2d518c29/attachment.html>


More information about the dev mailing list