wiki:Help/Action/ConvertToDataLayer

Layer > Convert To Data Layer

source:trunk/resources/images/converttoosm.svg

This feature is available for source:trunk/resources/images/layer/gpx_small.svg GPX Layers and source:trunk/resources/images/layer/marker_small.svg Marker Layers and converts gpx data into osm data.

GPX Layers

Creates a new OSM Data Layer comprising a source:trunk/resources/images/data/way.svg way for each track in the GPX data, consisting of a source:trunk/resources/images/data/node.svg node in sequence for each track point. You have the choice to convert all, some or none tags to the track points:

from #16572 from #14103 by StephaneP, cutted

If you want to use this way as a new OpenStreetMap's highway, this is very much only a starting point. You will need to split the ways up, connect them with correct topology, move nodes around, thin them out, remove the unwanted tags, tag them and so on. Never upload raw converted ways !

Advanced preference

The related keys in the advanced preference are:

  • gpx.convert-tags: all, list, *ask, no
  • gpx.convert-tags.last: *all, list, no
  • gpx.convert-tags.list.yes: [list]
  • gpx.convert-tags.list.no: [list]

Marker Layers

When converting a Marker Layer only the following tags of the marker will be converted to osm tags:

marker tag osm tag
name name
desc description
cmt note
src source
sym gpxicon

You can adjust or enhance this list by modifying the key gpx.to-osm-mapping in the advanced preferences. The key gpxicon is intended for custom icon display within JOSM, so make sure to not upload any keys which should not be part of the OSM database. (See also ticket #13717, the implementation of this feature.)


Back to GPX Layer context menu
Back to Layer List
Back to Main Help

Last modified 4 years ago Last modified on 2020-05-03T13:28:14+02:00

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.