OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-06-01 18:44:45

EL34
Member
Registered: 2017-06-01
Posts: 6

How to add trails by using gpx files in the ID editor

I am using the ID Editor in chrome to fix some trail and road names in my area.

I also need to add some new biking/hiking trails to the map
But there's no way to do this by manually drawing lines on a blank map area in the woods

I have .gpx tracks of these new trails, but I don't want them added as tracks/traces

I tried uploading a couple of these .gpx trails via tha map data, local file, browse for file function
But they show up as traces, not as an editable map feature

I see other trails on the map that I have edited, so they got there somehow?

So how can I add new editable trails to the map using my .gpx file data?

Offline

#2 2017-06-01 23:36:11

SomeoneElse
Member
Registered: 2010-10-13
Posts: 584

Re: How to add trails by using gpx files in the ID editor

The different OSM editors differ in how you trace from .gpx files.  In iD you can drag and drop the .gpx file on the browser window and then trace over it.  Uploaded traces are visible in iD on the "GPS trace layer" that you can turn on and off.

Offline

#3 2017-06-02 12:46:12

EL34
Member
Registered: 2017-06-01
Posts: 6

Re: How to add trails by using gpx files in the ID editor

SomeoneElse wrote:

The different OSM editors differ in how you trace from .gpx files.  In iD you can drag and drop the .gpx file on the browser window and then trace over it.  Uploaded traces are visible in iD on the "GPS trace layer" that you can turn on and off.

Akkk, that's no good
A gps track of a a trail in the woods is a monstrous squiggly line that can be miles long

Sitting there tracing a line over the top of it would not be a very good solution

So all the exiting roads and trails I see were all traced by hand by someone?
I can't see that happening as they are so precise following complex shapes on the map

Is there any way top submit gpx files and have them added as lines on the map?

Offline

#4 2017-06-02 17:49:37

alester
Member
Registered: 2011-09-21
Posts: 57

Re: How to add trails by using gpx files in the ID editor

EL34 wrote:

A gps track of a a trail in the woods is a monstrous squiggly line that can be miles long

Sitting there tracing a line over the top of it would not be a very good solution

Tracing it manually is by far the best way to do it for the very reason you mentioned: it's a squiggly line. If you just imported the raw track file, it would show every little unwanted deviation where the position accuracy wasn't very good (like a wavy line where you know the trail was dead straight), a little blob of back and forth where you stopped to take a picture, a gap where you turned off your device briefly, etc. By tracing it manually, you can even things out and eliminate these issues. Yes, it's more work, but you end up with a better result. I've seen a few cases where a raw track file was obviously directly imported, and the result is usually very poor with many of the issues I mentioned above. There are ways to do it in some editors, but I wouldn't usually recommend it.

Offline

#5 2017-06-02 18:12:31

EL34
Member
Registered: 2017-06-01
Posts: 6

Re: How to add trails by using gpx files in the ID editor

alester wrote:

Tracing it manually is by far the best way to do it for the very reason you mentioned: it's a squiggly line. If you just imported the raw track file, it would show every little unwanted deviation where the position accuracy wasn't very good (like a wavy line where you know the trail was dead straight), a little blob of back and forth where you stopped to take a picture, a gap where you turned off your device briefly, etc. By tracing it manually, you can even things out and eliminate these issues. Yes, it's more work, but you end up with a better result. I've seen a few cases where a raw track file was obviously directly imported, and the result is usually very poor with many of the issues I mentioned above. There are ways to do it in some editors, but I wouldn't usually recommend it.

I always edit my tracks and remove unwanted side trips, standing too long in one spot areas, start and stop points, etc

I use GPSMapedit to create custom Garmin maps and have for many years
So I have a bunch of experience in creating and editing tracks and waypoints

I have my Garmin create a track point every so many feet and so I get very smooth corners on my tracks

My tracks would contain way more data points and be way smoother looking than anything I could draw by hand on a map

It surprises me that there is not a way to import a track and have a editable map line be drawn on the map

Offline

#6 2017-06-03 10:53:07

Klumbumbus
Member
Registered: 2014-01-12
Posts: 419
Website

Re: How to add trails by using gpx files in the ID editor

EL34 wrote:

It surprises me that there is not a way to import a track and have a editable map line be drawn on the map

In JOSM you can download your area of interest, then import your gpx file, convert your gpx file into a osm data layer and then merge this layer  (or copy paste the way) into your default osm data layer (which contains all the already existing osm data).

https://josm.openstreetmap.de/wiki/Help … /LayerList
https://josm.openstreetmap.de/wiki/Help/Menu/GPXLayer
https://josm.openstreetmap.de/wiki/Help/Menu/OSMLayer
https://josm.openstreetmap.de/wiki/Help … cePosition

Offline

#7 2017-06-03 17:38:19

EL34
Member
Registered: 2017-06-01
Posts: 6

Re: How to add trails by using gpx files in the ID editor

Klumbumbus wrote:
EL34 wrote:

It surprises me that there is not a way to import a track and have a editable map line be drawn on the map

In JOSM you can download your area of interest, then import your gpx file, convert your gpx file into a osm data layer and then merge this layer  (or copy paste the way) into your default osm data layer (which contains all the already existing osm data).

https://josm.openstreetmap.de/wiki/Help … /LayerList
https://josm.openstreetmap.de/wiki/Help/Menu/GPXLayer
https://josm.openstreetmap.de/wiki/Help/Menu/OSMLayer
https://josm.openstreetmap.de/wiki/Help … cePosition

Thanks
I will check it out

Offline

#8 2017-06-28 21:10:41

EL34
Member
Registered: 2017-06-01
Posts: 6

Re: How to add trails by using gpx files in the ID editor

Klumbumbus wrote:

In JOSM you can download your area of interest, then import your gpx file, convert your gpx file into a osm data layer and then merge this layer  (or copy paste the way) into your default osm data layer (which contains all the already existing osm data).

Thanks for the info
I was able to use JOSM and add new trails to the map layer using gpx track files

Last edited by EL34 (2017-06-28 21:11:56)

Offline

#9 2017-06-30 09:02:01

Richard
Member
From: Charlbury, UK
Registered: 2007-04-24
Posts: 295
Website

Re: How to add trails by using gpx files in the ID editor

EL34 wrote:

It surprises me that there is not a way to import a track and have a editable map line be drawn on the map

Open the GPX in Potlatch 2, alt-click to bring it through to the foreground, edit and connect to neighbouring ways as appropriate.

Offline

#10 2017-06-30 13:09:09

EL34
Member
Registered: 2017-06-01
Posts: 6

Re: How to add trails by using gpx files in the ID editor

Richard wrote:
EL34 wrote:

It surprises me that there is not a way to import a track and have a editable map line be drawn on the map

Open the GPX in Potlatch 2, alt-click to bring it through to the foreground, edit and connect to neighbouring ways as appropriate.

Thanks
I already figured it out in JOSM

Offline

#11 2017-07-01 07:16:08

SwiftFast
Member
Registered: 2017-04-10
Posts: 224

Re: How to add trails by using gpx files in the ID editor

Is there any way top submit gpx files and have them added as lines on the map?

It appears there's such a feature in Israel Hiking Map: http://israelhiking.osm.org.il/:

https://www.openstreetmap.org/way/477194933

I still think manual intervention is better. As others said, JOSM works fairly well.

Offline

Board footer

Powered by FluxBB