OpenStreetMap

gpx trace

Posted by Toni Dagher on 19 November 2014 in English.

how to upload a gpx trace to open street map as a road ? i mean without redrawing it to be a road. can i do it ? if yes, how ?

Discussion

Comment from marczoutendijk on 19 November 2014 at 16:53

Is this maybe of help:

http://wiki.openstreetmap.org/wiki/Track2osm

Also try a right mouseclick in JOSM on the gpx layer. I found this: http://forum.openstreetmap.org/viewtopic.php?id=3782

I’m being faced with the same problem but have not yet solved it.

Comment from stanton on 19 November 2014 at 17:07

Off the top of my head, the following should work:

  • Open the GPX track in JOSM.
  • Download existing OSM data for the region.
  • Right-click the GPX layer (in the Layers pane) and choose “Convert to data layer”. This should turn the GPX track into a way.
  • Cut the way into pieces as needed and delete unneeded pieces.
  • Tag the individual pieces as needed.
  • Merge the two data layers (using the Layers pane).

Be aware, however, that this comes with a few pitfalls and it is all too easy to break something if you’re not careful. Keep in mind the following:

  • You might want to run “Simplify way” on each converted GPX track before uploading it to OSM. Else you will end up creating lots of unnecessary points.
  • Make sure the ends of your way are properly connected to existing ways (unless they end in the middle of nowhere). Else routing algorithms won’t be able to work with your newly-created ways.
  • Make sure you’re not adding duplicate ways.
  • Check accuracy of your GPX track (e.g. using aerial imagery or other GPX tracks, if available), and correct if necessary.

That being said, drawing roads by hand is usually the preferred way – unless you are mapping a blank area from scratch.

Comment from aseerel4c26 on 19 November 2014 at 20:37

Also works in the editor Potlatch2: “convert a vector layer object (gps trace or waypoint) into a way or node: click while holding the ctrl and shift keys (Linux) / alt key (Windows)”. See https://wiki.openstreetmap.org/wiki/Potlatch_2/Shortcuts

But as said before, take care. You rarely need this.

Comment from BCNorwich on 20 November 2014 at 07:51

Hello,

Your “test blaibel” changeset 26892428 for way 313588433 did work.

Unfortunately the live OSM database is not the place to conduct such experiments. There is now a somewhat misplaced, untagged way that crosses other ways which is of no use to anyone (except maybe yourself). I think there is a site to do this sort of experiment but cannot recall its name at the moment.

I think it should be realized that drawing ways in this manner is not effective, gpx tracks by the nature that they are made on a GPS are not going to be accurate. You still have to go over the entire way making adjustments, joining crossing ways etc. Also looking at the map in the first place would show that these particular ways are already mapped (in this case by your good self).

Will you now be removing/deleting the above mentioned changeset?

Regards

Comment from andy mackey on 20 November 2014 at 10:50

Although it sounds like a good idea I don’t think it is. Much better to upload your trace and use that together with the other available traces to get the best average to align Bing and use that to draw your road. I my experience traces have lots of small zig zags and other faults that are best left out. Even without Bing then I’d still draw the roads with human input. This is what we did before Ariel became available, it’s hard to imagine now! happy mapping.

Comment from Toni Dagher on 20 November 2014 at 18:03

Thank you guys you help me very well i’m using now josm program to convert gpx tracks to data and upload it to osm, it work very well and so easy thanks for all

Comment from Hjart on 25 November 2014 at 19:17

Toni, converting gpx traces to data and then upload to osm is NOT recommended. What you should do instead is go to your profile on openstreetmap.org and click the link called “my gps-traces”. There you should find yet another link called “Upload gps-trace”. Click that and you should be at a form appropriate for uploading.

Log in to leave a comment