]> git.street.me.uk Git - andy/viking.git/commit
Adding the ability to upload to OSM.
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Wed, 22 Aug 2007 20:33:25 +0000 (20:33 +0000)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Wed, 22 Aug 2007 20:33:25 +0000 (20:33 +0000)
commit3e7553ae64929a14dfa21a61149d27f9e858230a
treeaa6d5e3ffcdc073e73cf77d1d962b61e8ef4ce6b
parent34278722b9a9b35a200a1930ce1ae47749dbdba8
Adding the ability to upload to OSM.

A new menu entry allows to upload the data of a TrwLayer to OpenStreetMap
as a GPX data file.

Technics:
The button opens a dialog to request the needed parameters:
- authentification informations (email and password)
- a filename (initially built with the name of the TrwLayer)
- the descriptios, tags and visibility of the trace
Then, a background thread is activated.

TODO:
- Check the parameter (not empty, syntactically correct tags)
- Error handling: as the upload is threaded, the error is not displayed
- Allow to upload a simple track (not a whole TrwLayer)
src/Makefile.am
src/osm-traces.c [new file with mode: 0644]
src/osm-traces.h [new file with mode: 0644]
src/viktrwlayer.c