#13717 closed enhancement (fixed)
[Patch] GPX->OSM: convert additional gpx-tags
Reported by: | Luebeck | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | 16.10 |
Component: | Core | Version: | |
Keywords: | gpx icon tags | Cc: |
Description
when waypoints of gpx-file will be convert into osm a limeted count of tags will be transform.
it would be good if following tags will be transform additional:
desc => description
cmt => note
sym => gpxicon (this is helpfull if the user defines custom-icons. now he is able to define a special mapcss-file for evaluate his data)
Jan
Attachments (2)
Change History (22)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Milestone: | → 16.10 |
---|---|
Owner: | changed from | to
Summary: | GPX->OSM: convert additional gpx-tags → [Patch] GPX->OSM: convert additional gpx-tags |
by , 8 years ago
Attachment: | 13717.patch added |
---|
comment:5 by , 8 years ago
Milestone: | 16.11 → 16.10 |
---|
follow-up: 7 comment:6 by , 8 years ago
How does this work? It seems I need to modify the advanced preference key gpx.to-osm-mapping
, however I don't have this key in my list. I thought that since a change some months ago all available keys are in the list even when not yet used or modified.
comment:7 by , 8 years ago
Replying to Klumbumbus:
I thought that since a change some months ago all available keys are in the list even when not yet used or modified.
Apparently not.
comment:9 by , 8 years ago
OK, confusion was cleared in #12522. I added docu at https://josm.openstreetmap.de/wiki/Help/Action/ConvertToDataLayer?sfp_email=&sfph_mail=&action=diff&version=8&old_version=7
follow-up: 12 comment:11 by , 8 years ago
I don't really understand how to use this feature.
Is it possible to get the timestamp on each node when converting a gpx to a osm layer ?
comment:12 by , 8 years ago
Replying to StephaneP:
I don't really understand how to use this feature.
See the documentation at Help/Action/ConvertToDataLayer
Is it possible to get the timestamp on each node when converting a gpx to a osm layer ?
The timestamp is stored in the gpx file with the keyword "time". So you need to add an additional pair in the gpx.to-osm-mapping key in the advanced preferences, e.g. "time""survey_date".
comment:13 by , 8 years ago
It doesn't work, and the documentation does not help.
the gpx.to-osm-mapping key isn't in the list so I have to create it. Ok, but which type ? Simple, list, list of lists, list of maps ?
Then I just enter time,survey_date as values ?
follow-up: 15 comment:14 by , 8 years ago
You need to use josm version >11089 or better >11334
Do a gpx waypoint to data layer conversion once, then you will have the gpx.to-osm-mapping
key in your advanced preferences. You can modify it then.
comment:15 by , 8 years ago
I was using josm 11223 and now, r11355, and I don't have the gpx.to-osm-mapping
key in the advanced preferences panel after a gpx to data conversion.
comment:16 by , 8 years ago
Do you want to convert a gpx layer or a marker layer (see Help/Dialog/LayerList#Layertypes)?
comment:18 by , 8 years ago
The conversion is currently only available for marker layers. So only for waypoints, not trackpoints.
I don't know if it makes sense to make it available for trackpoints too.
comment:19 by , 8 years ago
For me, it makes sense :-)
x,y,z, time are the basics in a gpx file.
For now, we can edit x,y only.
(see german forum post http://forum.openstreetmap.org/viewtopic.php?id=55553 )