[OSM-talk] gpx batch upload in java
tom at compton.nu
Thu Aug 9 23:12:30 BST 2007
In message <8b65902a0708091447n2ca77b0cv2118af2d68830829 at mail.gmail.com>
"Guilhem Bonnefille" <guilhem.bonnefille at gmail.com> wrote:
> I'm trying to add GPX upload feature in a C application. The
> application uses CURL.
> Anyone already did such thing?
> I read http://svn.openstreetmap.org/applications/utils/gps-tracks/jgpxupload/
> and http://svn.openstreetmap.org/applications/utils/gps-tracks/gpx-batch-upload/gpx-batch-upload.pl
> that use different way to manage authentification.
> The former uses "Basic", while the later uses cookie (but the form
> params seems out-dated).
As you have identified, one is using the API (which needs HTTP
authentication) and one is screen scraping the form (which requires
you to go through the login page first and get a cookie).
I would use the API.
Tom Hughes (tom at compton.nu)
More information about the talk