When sending a GPX track to OSM, OsmAnd says the track was successfully uploaded, but the track is never seen at OSM.
What steps will reproduce the problem? 0. Ensure that you have an OSM login/password inserted 1. Go to Settings/offline data/GPX Data 2. Select a track by pressing long on it 3. Select Send to OSM, and confirm with "Yes" 4: The track is being sent (and it seems data is indeed sent), and a popup confirms that the track was successfully uploaded 5. Go to your OSM account http://www.openstreetmap.org/traces/mine 6: The track is not there. No email from OSM is sent that the track has been successfully imported.
What version of the product are you using? Latest night build as of 2011-12-15 (but it was not working before either).
Comment #1
Posted on Dec 25, 2011 by Swift PandaThat was never working. We are waiting script from 3rd party if it is possible. The data is available here http://download.osmand.net/gpx/.
However we already lost information about password of the user so we can not upload gpx under his account.
Comment #2
Posted on Dec 26, 2011 by Happy ElephantApparently uploading a trace to the OSM server is very similar to adding a POI via the normal API. So hopefully it can sent natively from OsmAnd without a 3rd party script :-)
The reference is here: http://wiki.openstreetmap.org/wiki/API_v0.6#Uploading_Traces
I'd suggest the visibility to be set to "Identifiable" as it's the recommended option by OSM and it can be reduced afterwards by the user via the OSM interface. Tags and description can be left empty, or maybe just "osmand" as a tag.
Comment #3
Posted on Dec 26, 2011 by Swift PandaI actually doubt is that functionality needed at all :) So 2 options : 1) Hide the button 2) Or implement as direct upload to OSM in that case user should specify his osm login/password.
Comment #4
Posted on Dec 27, 2011 by Happy ElephantFor me this would be a very convenient functionality. The current way to share the tracks with OSM is quite long and bulky: connect the phone via USB to my computer, change to USB storage, connect to OSM on the computer, go to OSM GPX trace interface, upload one file per one file (and it's impossible to see the track when selecting the file), unmount the phone...
I'd upload a lot more tracks if it was easier to do :-) Especially from within OsmAnd, it's very easy to see the track before deciding whether to upload it or not. So I highly recommend option 2 (which hopefully is technically quite similar to uploading a POI).
Comment #5
Posted on Jan 18, 2012 by Helpful Bird"implement as direct upload to OSM in that case user should specify his osm login/password" i also vote for this feature if it's possible :)
Comment #6
Posted on Jan 18, 2012 by Helpful BirdComment deleted
Comment #7
Posted on Jan 18, 2012 by Happy RabbitI have a Java class for GPX uploading, but it uses Apache HttpClient. http://hc.apache.org/user-docs.html I think that is unnecessary big for OsmAnd.
I have also a previous implementation with only OutputStream but I had a lot of problems with non-ASCII characters. I may try to improve this class if you want but I can do it only in February.
Comment #8
Posted on Jan 18, 2012 by Swift PandaThat's ok! Apache httpclient. https://github.com/osmandapp/Osmand/blob/master/OsmAnd/src/net/osmand/plus/activities/EditingPOIActivity.java#L408
Something already included in Android.
Comment #9
Posted on Jan 19, 2012 by Happy RabbitOK! I'm not experienced in Android programming, but I will try it when I finished the exams in university
Comment #10
Posted on Jan 26, 2012 by Swift Panda(No comment was entered for this change.)
Comment #11
Posted on Jan 26, 2012 by Swift Panda(No comment was entered for this change.)
Comment #12
Posted on Feb 4, 2012 by Swift Panda(No comment was entered for this change.)
Comment #13
Posted on Apr 20, 2012 by Swift Panda(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Enhancement
Priority-A7
Milestone-Cx-3