OpenStreetMap

GPS Traces

Posted by AshKyd on 6 January 2010 in English.

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. :)

Discussion

Comment from daveemtb on 6 January 2010 at 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.

Comment from Richard on 6 January 2010 at 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.

Comment from goldfndr on 7 January 2010 at 07:11

The wiki article is "Batch Upload". http://wiki.openstreetmap.org/wiki/Batch_Upload

Comment from Anna_AG on 8 January 2010 at 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

Comment from AshKyd on 9 January 2010 at 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. :)

Log in to leave a comment