Adding the ability to upload to OSM.
commit988261dd403c6a4f7c04aa3dbd4b1af1e682878d
authorguyou <guyou@02d69b8e-d120-0410-893f-fe71a3b6e39e>
Wed, 22 Aug 2007 20:33:25 +0000 (22 20:33 +0000)
committerguyou <guyou@02d69b8e-d120-0410-893f-fe71a3b6e39e>
Wed, 22 Aug 2007 20:33:25 +0000 (22 20:33 +0000)
treeaa6d5e3ffcdc073e73cf77d1d962b61e8ef4ce6b
parentd70c578a8f5dbba0e1dd6b23859763b0b69581d5
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)

git-svn-id: https://viking.svn.sourceforge.net/svnroot/viking/trunk@399 02d69b8e-d120-0410-893f-fe71a3b6e39e
src/Makefile.am
src/osm-traces.c [new file with mode: 0644]
src/osm-traces.h [new file with mode: 0644]
src/viktrwlayer.c