NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

As I hike, my gps automatically creates GPX files. Some of the trails I'm hiking don't appear on the map. So I'd like to add them.

However, I can't find a good guide as to how to add the hiking trail to the map, starting with a GPX file. Is there such a guide?

What I'd like to have is a step by step guide starting with the GPX file, importing it to the map, adding any necessary tags for the new trail, and what tags and settings should be used. Basically I'm looking for a combination "how-to" guide and a "best practices" document.

Does any such thing exist?

(I'm looking for the standards in the United States. I understand that standards are different in other counties.)

Thanks in advance for your help.

asked 06 Nov '19, 22:09

FredrikC's gravatar image

FredrikC
118449
accept rate: 0%


First of all, you don't want to import the GPS trace as-is. GPS isn't accurate enough. Consider this set of traces from my hiking: most of the trails are less than a meter wide, yet it's common for multiple traces to disagree with each other by ten to twenty meters. In particular, note the switchbacks in the center of the image: there are five traces there, and not one of them follows the actual route of the trail.

The best way to map a trail from a GPS trace is to use it as a background while drawing the trail. Open the GPX file in the editor (in iD, you do this through the "Custom Map Data" section of the "Map Data" tab; in JOSM, you open the GPX file using "File"->"Open"). Pick the best-aligned imagery in the area (the GPS trace may be helpful for this), and draw the trail on the map using a combination of the imagery, the GPS trace, and your memory of the hike. Then add appropriate tags and upload the result.

permanent link

answered 07 Nov '19, 08:14

Carnildo's gravatar image

Carnildo
831212543
accept rate: 40%

Also note that you can upload the GPX file itself directly to openstreetmap.org. In the top bar there's a link called "GPS Traces", and clicking that will take you to a page where you can upload.

This will NOT add the trace as a trail on the map. (As Carnildo says above, that's a bad idea.) Instead it will make the trace available as an additional background layer that you (or any other OSM user) can use to help draw the trail. It's similar to adding the file as custom map data, but in some ways better -- if you ever need to look at that trace again, it will be there without you having to find and load the file again. And other users will be able to see it too, which might help next time someone else is mapping in the area.

In iD (the default editor) you can toggle on these uploaded traces in the "Background" options box by scrolling down past the background imagery options to "Overlays" and checking the box next to "OpenStreetMap GPS traces." You might also discover that other OSM users have uploaded traces in the same area, which can be useful. (But don't assume that a trace implies a trail! Some people like to go offtrail.)

(21 Jan '20, 16:21) jmapb

Thanks. How long after I add a path until it appears?

(16 Apr '20, 08:49) ZenBiddist
3

Depends on the zoom level. At the closest levels, it should show up in a few minutes, though with the way the servers have been overloaded lately, it may take longer. Zoom levels further out are updated less often.

Maps other than the one on the main site take varying amounts of time, with updates once a month being common.

(16 Apr '20, 10:06) Carnildo
2

If you want to see something rendering things immediately, then have a look at https://switch2osm.org/serving-tiles/ . The "Using a Docker container" link on there is designed for people to get something running quickly without any messing about. If you want more info on "what on earth Docker is" have a look at the links from https://www.openstreetmap.org/user/SomeoneElse/diary/45070 . Based on the data sizes at http://download.geofabrik.de/north-america.html , a fairly normal spec desktop or laptop PC ought to be able to handle a reasonable area of the US.

(16 Apr '20, 10:40) SomeoneElse ♦

I put together a step-by-step video on this topic: Adding trails to OpenStreetMap (OSM) using GPS traces

This brief overview shows how to add trails to OpenStreetMap using a GPX file you have recorded from a hike/bike ride. It uses the in-browser "iD" editor. For more details see LearnOSM.org and in particular the mobile mapping guide.

permanent link

answered 21 Jan '20, 14:45

adamfranco's gravatar image

adamfranco
46114
accept rate: 0%

I am hesitant about providing this answer but will. This is a free app unless you wish to pay extra. Download MapMyFitness on your phone. Walk the trail with that app tracking your route. You can sign in to your account on a laptop or desktop computer as I did. That lets you more easily know where to place the trail. Over a long distance, that will take time.

permanent link

answered 23 Nov '19, 06:09

Dark_Valor's gravatar image

Dark_Valor
36181823
accept rate: 0%

Here's a similar question i asked, i'm sure you will find the answers useful https://help.openstreetmap.org/questions/34347/i-want-to-add-a-new-long-distance-hiking-route-to-the-map the above covers a way marked trail, but for adding an unmapped trail watch some of the utube videos, internet search. "Adding trails to OpenStreetMap (OSM) using GPS ... - YouTube" they can be quite a good way to learn OSM.

permanent link

answered 07 Nov '19, 10:01

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

edited 07 Nov '19, 10:23

My solution is to go to wherever you have your gpx, download it to your computer, open OpenStreetMap with the editor open, and then drag the gpx file into the editor. This will make the trace appear as a pink line in the background that can be traced over to add new trails, also known as "paths" in OpenStreetMap. Good luck!

permanent link

answered 06 Nov '19, 23:53

LeifRasmussen's gravatar image

LeifRasmussen
10613
accept rate: 0%

3

Both answers so far already hint it: best practice is not to convert the GPX track directly into a OSM feature but to only use it as a background to draw a new object in OSM. That way you have the chance to use your track, tracks uploaded by others, background aerial images and already existing OSM objects to approximate the best course of the new path.

(07 Nov '19, 07:58) TZorn

I've been through this, but don't have it down pat.

Basically upload the gpx track and then trace over it. I've lately used the in browser app. I do this about once a year. Like many graphics apps, it's not easy to figure out how to add points or continue a line.

The annotations show up on the left side of the page.

A very incomplete answer, but I know my first inclination was to add the gpx and this method wasn't favored by the community.

permanent link

answered 06 Nov '19, 22:36

MtnBiker's gravatar image

MtnBiker
116227
accept rate: 0%

edited 06 Nov '19, 22:37

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×255
×44
×7

question asked: 06 Nov '19, 22:09

question was seen: 9,077 times

last updated: 16 Apr '20, 10:40

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum