OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

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

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

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: 973

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: 14

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: 177

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: 14

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: 541
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: 14

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: 14

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: 348
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: 14

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: 446
Website

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

#12 2018-07-17 19:15:12

mrdrew
Member
Registered: 2018-07-16
Posts: 6

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

Wanted to add in my $0.02 here. It may be that the iD editor has changed, but here's what you do, as of 7/2018. The "iD editor" is where you log into openstreetmap, hit the Edit drop down, and select the first editor option "Edit with in-browser editor, iD Editor." Then, on the far right of that screen, you'll see some gray buttons. Hit the layer looking button, which will slide out options from the right. Scroll down to Overlays, and check "Openstreetmap GPS Traces." Before doing that, you will have needed to upload your GPX to openstreetmaps gpx traces. You'll see your GPX route overlay, and you can trace it for a new trail.
3OhGMwgl.png

Offline

#13 2018-09-05 17:10:18

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

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

It's way easy to add .gpx file using the JOSM editor
No hand tracing anything

Download the map section you need to edit in the JOSM editor
Import your .gpx file via File/open
Convert the gpx file into a OSM data layer
Merge the gpx layer into the main layer
Upload the data

Offline

#14 2018-09-05 18:00:01

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

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

EL34 wrote:

It's way easy to add .gpx file using the JOSM editor
No hand tracing anything

Download the map section you need to edit in the JOSM editor
Import your .gpx file via File/open
Convert the gpx file into a OSM data layer
Merge the gpx layer into the main layer
Upload the data

You generally wouldn't want to convert and upload a raw GPX file. Raw GPX tracks often have sections where it deviated more than others, jagged or wavy sections where the reality is more straight, and knots where you might have stopped moving. Tracing over top allows you to smooth out and remove these quirks.

Offline

#15 2018-09-05 20:30:13

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

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

I edit all my gpx tracks to follow the real trail in another piece of software that shows the real trails in detail
No one hand drew the trails in my other mapping software, so they are very accurate
You can double check them by looking at them in google earth when the leaves are not on the trees

I only add gpx trails to OSM where there was nothing before
Just a blank forest map

These trails are Pisgah National Forest where I live
Sometimes OSM has the trails listed and sometimes they don't

Last edited by EL34 (2018-09-05 20:43:51)

Offline

#16 2018-09-05 21:34:14

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

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

EL34 wrote:

I edit all my gpx tracks to follow the real trail in another piece of software that shows the real trails in detail
No one hand drew the trails in my other mapping software, so they are very accurate
You can double check them by looking at them in google earth when the leaves are not on the trees

Is this other source compatible with the OSM license? If not, you shouldn't be using it for your mapping. Definitely not Google Earth.

Offline

#17 2018-09-05 22:23:55

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

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

What other source?
The .gpx files are mine that I created by walking or mtn biking the trails

Offline

#18 2018-09-05 23:24:09

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

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

EL34 wrote:

What other source?
The .gpx files are mine that I created by walking or mtn biking the trails

This sentence implies that you're using some other source:

I edit all my gpx tracks to follow the real trail in another piece of software that shows the real trails in detail

Offline

#19 2018-09-05 23:46:26

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

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

I edit my .gpx tracks means, they are mine
Does not matter what software I use to edit out stray data.
I usually use Ozi Explorer or GPSMapedit to edit tracks and make my custom Garmin maps

If I stray off the trail to look at something or whatever, I always zoom in on my tracks and take out that section

Last edited by EL34 (2018-09-06 12:58:36)

Offline

Board footer

Powered by FluxBB