Modify

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#14103 closed enhancement (fixed)

GPX→OSM: convert additional tags for trackpoints

Reported by: simon04 Owned by: team
Priority: normal Milestone: 18.07
Component: Core Version:
Keywords: gpx trackpoint convert Cc: StephaneP, Klumbumbus

Description

Follow-up of #13717.

When converting a GPX layer to an OSM data layer, also tags for trackpoints should be converted.

Attachments (2)

14103_timestamp.png (14.6 KB) - added by Don-vip 5 years ago.
gpx_track_point.PNG (52.6 KB) - added by StephaneP 5 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 Changed 7 years ago by simon04

A (small) test GPX file containing trackpoints with useful data would be welcome.

comment:2 Changed 7 years ago by StephaneP

I think that there is a misunderstanting. For me, the trackpoints are simply all the points in the gpx/nmea file.
Currently when you convert a gpx layer to a data layer, Josm takes lat/lon to place the nodes but that's all.
I'd like to see/edit the other informations like the timestamp and the elevation.

(A few months ago, I had to geolocalize a lot of indoor pictures. I was drawing the way in josm, converting it to a gpx, editing the timestamp in another tool, then reopening it in josm to geolocalize the pictures.
Editing the timestamp directly in Josm would have save me some time.

comment:3 in reply to:  2 ; Changed 7 years ago by Klumbumbus

Replying to StephaneP:

geolocalize a lot of pictures.

For this task there is the PhotoAdjust Plugin to place the photos at their position and direction and then the Photo_Geotagging Plugin to save this in the EXIF information of the photos.

comment:4 in reply to:  3 Changed 7 years ago by StephaneP

Replying to Klumbumbus:

For this task there is the PhotoAdjust Plugin to place the photos at their position and direction and then the Photo_Geotagging Plugin to save this in the EXIF information of the photos.

I know these useful plugins, but I said "a LOT of pictures" (more than 10 000).
You can read more here (in french) : http://www.stemani.fr/index.php?post/2016/09/16/Construire-son-V4MPod-pour-prendre-des-photos-%C3%A0-360%C2%B0-Partie-2

Changed 5 years ago by Don-vip

Attachment: 14103_timestamp.png added

comment:5 Changed 5 years ago by Don-vip

The time information is not lost, it's just not modifiable right now as we keep it in the node timestamp:


You can view it through advanced object info.

comment:6 Changed 5 years ago by StephaneP

Interesting advice, but I don't see the sub-second value :-)

comment:7 Changed 5 years ago by Don-vip

In 14051/josm:

see #14103 - add ele tag during GPX->OSM conversion

comment:8 Changed 5 years ago by Don-vip

Milestone: 18.07

comment:9 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 14055/josm:

fix #14103 - GPX → OSM: convert additional tags

Changed 5 years ago by StephaneP

Attachment: gpx_track_point.PNG added

comment:10 Changed 5 years ago by StephaneP

Hooooo yeaaaah !!!


Thank you Don-vip !

comment:11 Changed 5 years ago by Klumbumbus

Needs to be documented at wiki:/Help/Action/ConvertToDataLayer ?

comment:12 Changed 5 years ago by Don-vip

Yes, we could add a small sentence and Stéphane's picture to state that all GPX tags are copied to OSM nodes.

comment:13 Changed 5 years ago by StephaneP

I've added some informations in the wiki.

BTW : Perhaps it could be a good idea to convert the *DOP values too.

comment:14 Changed 5 years ago by zero@…

I have a BIG issue with this new feature : I rework my GPS tracks with JOSM before sending them to "My Tracks" in my OSM account.
Then :

  • open a raw GPX file
  • use "convert to data layer" (now with version 14066 I have blue squares with "time" and "ele" tags)
  • remove some useless points
  • save to GPX
  • upload to "my tracks"

=> Now I receive an email telling that
"Hi,

It looks like your GPX file

xxx

with the description

xxx

and no tags.

failed to import. Here's the error:

Generic XML parse error
XML parser at line 1 column 2

More information about GPX import failures and how to avoid
them can be found at: http://wiki.openstreetmap.org/index.php/GPX_Import_Failures"

Please add an option somewhere to have the same behaviour as before.
(or keep time information when exporting to GPX file)

comment:15 Changed 5 years ago by Don-vip

comment:16 in reply to:  15 Changed 5 years ago by John Polter <zero@…>

Replying to Don-vip:

See ticket:16550#comment:10

OK, thanks !

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.