Upload Waypoints

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Upload Waypoints
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Baso Minangkabau · bosanski · brezhoneg · català · čeština · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · português do Brasil · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 吴语 · 粵語 · 中文(繁體)‎ · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް

Even though most (iD, JOSM, Potlatch 2) editors do support loading local (non-uploaded) GPX files, you may still find it useful to upload GPX files containing primarily waypoints to OSM (to enable collaborative editing, if for no other reason).

What is a waypoint?

Waypoints are also known as Points of interest (sometimes shortened to "POIs").

They are single points you can log with your GPS device. Waypoints usually mark geographical positions of interesting objects, like:

  • a railway station
  • a restaurant
  • a post box

etc...

How should I label waypoints while mapping?

To distinguish between different waypoints (e.g. between two different restaurants), GPS devices label them with numbers or names. Instead of typing in specific names for every waypoint, we suggest accepting the automatic numbers or names given by the GPS device. While surveying the area, you can write the names of the logged objects on a notepad or dictate them to a voice recorder, as you will have to enter this information in OSM manually later. See Mapping techniques#GPS Waypoints for a more detailed description.

How do I add waypoints I recorded to OSM?

You will need to:

  1. extract the waypoint information from your GPS (e.g. with software like Mapsource)
  2. save the waypoint information as a GPX file
  3. upload the GPX file to OSM as a "trace"
  4. You can then edit your waypoints with Potlatch and permanently add them to the map.

Power users may want to look into JOSM for a one-stop editing and mapping solution.

For the rest of this article, we will focus on #3 and #4. This is not the most elegant of methods, but it's simple and it works.

Preparing to upload the GPX file to OSM

Have you saved your waypoints using your GPS software (e.g. MapSource) in a GPX file?

If so, great! You are one step away from uploading your waypoints to OSM.

The OSM server will reject a GPX file that contains 'waypoints' only. The file must contain at least one 'trackpoint' as well.

Usually, if you've been out surveying with your GPS set, you will have recorded both tracks and waypoints - in which case you can skip the next section. However, if your GPX file includes only waypoints, you need to add a fake trackpoint.

Adding a fake trackpoint

Open the GPX file in a text editor and paste the following text in. The text should go immediately after the line at the start of your GPX file that begins with "<gpx " and ends with a ">".

 <trk>
  <trkseg>
   <trkpt lat="CHANGE_ME" lon="CHANGE ME">
    <time>2009-06-21T15:34:01Z</time>
   </trkpt>
  </trkseg>
 </trk>

Bringing the fake trackpoint close to your waypoints

To make further editing easier, it is a good idea to set the latitude and longitude of the fake trackpoint you just added to be close to your waypoints. To do that, replace the lat="CHANGE_ME" lon="CHANGE ME" of the fake trackpoint with the lat/lon values of one of your waypoints, as shown below:

GPX trkpoint waypoint same lat lon.png

Now save and close the GPX file. You are ready to upload your waypoints to OSM!

Uploading the waypoints file to OSM

After logging in to the OSM website, you can upload the GPX file you prepared.

Editing in Potlatch 2

For general editing using this editor see Potlatch 2/Primer.

Go to your listing of uploaded tracks ("my traces"), and click the 'edit' link (the following description assumes you have Potlatch 2 set as your standard editor) next to the trace as highlighted below:

Edit trace.png

Potlatch will open, showing the waypoints you just uploaded as little red circles:

Trackpoints in potlatch.png

You now need to unlock each waypoint by holding "Alt" on your keyboard and clicking on it once. (or Ctrl-Shift if you're using a system that doesn't allow Alt; see Potlatch 2/Shortcuts).

Your waypoint becomes green: Potlatch activated node.png

Now you will need to tag your waypoint by giving it a category:

Wpt category potlatch.png

...adding any additional information you have captured about your waypoint:

Potlatch waypoint postbox tagging.png

...and finally saving.

Congratulations, you have just added a new Point of Interest in OSM for everyone to use!

Collaborative use

See this question on help.osm.org: How to make survey data and POIs/waypoints available to be used by other mappers.