OpenStreetMap

GPX Import failure

Posted by Natureshadow on 5 July 2008 in English (English)

My mailbox just showed up a mail reporting that my last (and first ;)) GPX file failed to import. I figured that the reason for this is that the timestamps are missing in the track log points.

However, my Garmin GPSmap 60CS **never** records timestamps - how can I upload a track then ??

Comment from Richard on 5 July 2008 at 22:21

Sounds unlikely - I've never come across a Garmin unit that doesn't record timestamps (unless you "save" the tracks on the unit, which is a bad idea anyway). More likely the software you're using to download the tracks isn't storing the timestamps - what are you using?

Hide this comment

Comment from Natureshadow on 5 July 2008 at 22:39

I'm using QLandkarte on Linux. I think the point is that I saved the tracks - but I can't download every track to my computer immediately and would like to have a "clean" active log sometimes ....

Guys, you don't make supporting this project easy ...

Hide this comment

Comment from Zambelli Limitada on 6 July 2008 at 05:58

I recommend you to download any track from other user and check the differences between the sintaxis of that gpx file and the one that you are trying to upload. That is the way I figured out what was wrong with my gpx files when I started uploading tracks from the Navit log files (I edited them with some OpenOffice spreadsheets adding what was not there by default. Not efficient at all but it worked for me).

Now I am tracking with my BlackBerry (using bbTracker) and a Bluetooth external GPS. Much more efficient than taking my laptop with me :)

Cheers

Hide this comment

Comment from robx on 6 July 2008 at 06:48

The GPX data is stored with time stamps in the database. Two ways I can see around your problem: synthesize timestamps (maybe someone has written a tool to do this?) , or don't upload the tracks and load them directly into JOSM.

Hide this comment

Comment from Biogenesis_ on 6 July 2008 at 11:15

Just to clarify, are you downloading ACTIVE_LOG or saved tracks? Saved tracks have the timestamps stripped, only the active log has them (well, this is the case on my eTrex Legend HCx anyway). So you'd need to download the active track before saving or clearing it.

For future reference I'd recommend getting a GPS that takes an SD card, a 1G SD card can hold ~100 days worth of data at 1 sample/sec and it continues to recored a tracklog even after the active track is full. Oh, and timestamps are included. It's a shame that error estimates aren't though.

If you want to save the tracks on the GPS (ie, to keep the active track clean or to store more data) then robx's suggestion of just using JOSM (main website: http://josm.openstreetmap.de/) is probably the easiest solution.

Hide this comment

Comment from Richard on 6 July 2008 at 18:59

Yeah - don't "save" them on the unit. Ever. It takes 90% of the detail out, not just the timestamps - the tracks are compressed so much that they're unusable for OSM. See the FAQ under "Why didn't my GPX file upload properly?" for more. :)

The reason we insist on timestamps is to filter out well-meaning but misguided people who take copyrighted data sources, convert them to GPX, and upload. Requiring timestamps means that they're more likely to be bona fide tracklogs (of course, the really determined could fake them, but you can never stop the really determined).

Hide this comment

Comment from Natureshadow on 7 July 2008 at 19:33

OK, I tried with the ACTIVE_LOG now - what I didn't know is that if I stop tracking and restart it, I can later download ACTIVE_LOG0 and ACTIVE_LOG1, giving me exactly what I want.

Thanks for the help guys!

Hide this comment

Leave a comment

Parsed with Markdown

  • Headings

    # Heading
    ## Subheading

  • Unordered list

    * First item
    * Second item

  • Ordered list

    1. First item
    2. Second item

  • Link

    [Text](URL)
  • Image

    ![Alt text](URL)

Login to leave a comment