Currently uploading GPS traces is too hard, and I've pretty much stopped doing it. D:
I used to have a system that automatically tagged and uploaded everything in a directory based on filename. That was before the 0.6 API, so now it doesn't work. My workflow also no longer lets me rename files so I can't easily tag them in the field.
I would *love* a tool that could calculate an average speed for a GPS file and tag it motorcar/bicycle/foot automatically, although I'm presuming this doesn't exist.
Failing that, what's everybody using to upload their files? I'd love to be able to set a cron job to upload & delete everything in a directory at 4 AM or something. Please advise. :)
討論
由 daveemtb 於 2010年01月 6日 20時18分 發表的評論
Must admit, Ive got lazy with uploading GPX files :( Once in a blue moon I get round to uploading ost of them but I'm sure some drop through the cracks.
由 Richard 於 2010年01月 6日 20時58分 發表的評論
There's a Perl script on the wiki somewhere that'll upload a GPX using the 0.6 API. But I'm jiggered if I can find it.
由 goldfndr 於 2010年01月 7日 07時11分 發表的評論
The wiki article is "Batch Upload". osm.wiki/Batch_Upload
由 Anna_AG 於 2010年01月 8日 22時04分 發表的評論
I admit I am a little lazy - after a week of caching ( if I am on holiday etc ) I will just load all the GPX files from my Garmin Legend HCX into JOSM, Merge them all down, tidy them up using GPXedit plugin ( getting rid of all the stationary lumps of points etc ) and save that single GPX file for uploading to the website.
I am always a little puzzled that my GPX traces seem to have lines that link unrelated points, but I understand you can remove time and date info from the GPX data points - would this remove the lines? I don't know if this is best practice, but when downloading areas in JOSM it is hard sometimes to make out the data from the random junk lines.
Comments anyone?
bri
由 CatastropheAsh 於 2010年01月 9日 01時32分 發表的評論
Yes, JOSM has an interesting habit of connecting up unrelated bits. You can go into the settings and make it so that it won't draw a line between points that are further apart than, say, 50 metres, and that will usually fix that. :)