NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi there.

What is this format? pastebin.com link

What input and output file format should I use in gpsbabel so I can convert and upload this GPS trace in OpenStreetMap?

Thanks.

asked 18 Jan '14, 16:02

dobri_z's gravatar image

dobri_z
1112
accept rate: 0%

edited 18 Jan '14, 19:07

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


This seems to be already in GPX format, in principle. Does the upload to OSM not work? I guess it may be due to the timestamps not being in ISO 8601 date-time format (they are e.g. "Sat Jan 18 2014 14:01:32 GMT+0200 (EET)"). If possible you should configure your app to record the time stamps in the correct format, tell the app author or use another one.

I do not know how to use gpsbabel to convert the time stamps. However, I see two alternative options:

  1. As an ugly workaround you could replace the timestamps in wrong format by new ones in the correct format. On upload please select the "private" privacy option which hides the time/speed info to other users as it is faked.
    1. You can use gbsbabel to add fake timestamps (see also 1 and 2):
      gpsbabel -i gpx -f gps_logmee.gpx -x track,faketime=f19700101000000+1 -o gpx -F outputfilename.gpx
    2. You could use a regexp-capable text editor and search
      <time>[^<]*</time>
      and replace all by
      <time>1970-01-01T00:00:00Z</time>
  2. Alternatively you could use the gpx file directly (without uploading) in most editors (iD, JOSM, Potlatch2). That works even without correct time stamps. Of course that "no upload method" looses the benefit to other mappers.
permanent link

answered 18 Jan '14, 16:46

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 18 Jan '14, 18:06

2

Thank you for your quick response.
Problem solved.
All three methods work fine.
Have a nice day.

(18 Jan '14, 18:42) dobri_z

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×255
×35
×18
×8
×1

question asked: 18 Jan '14, 16:02

question was seen: 7,646 times

last updated: 18 Jan '14, 19:07

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum