Potlatch 1/Primer

From OpenStreetMap Wiki
Jump to: navigation, search
Help
Available languages
English Magyar

Potlatch is an online editor for OpenStreetMap. You can use it to add new roads, railways, rivers or other features to the map; and to change existing ones. Online means that you do not have to download or install anything.

Contents

How to run Potlatch

  1. Open your (Flash-enabled/Gnash/SWF-enabled) browser , and go to http://www.openstreetmap.org/ .
  2. Login .
  3. Zoom into the area you want to edit.
  4. Click the "Edit" tab. Potlatch is launched within the browser.

'Edit with save' or 'Edit live'?

When you open Potlatch, you can choose one of two options.

(Remember, you won't see your changes on the slippy map until it updates, which can be any time between a few minutes to a week.)

Click the appropriate button, and if the map hasn't finished loading (look at the animated message at the top right), wait until it does before editing. There's a Help button at the bottom left - use it!

Moving around

Zoom icons.jpg

Drawing a new way

OpenStreetMap's map is made up of "ways". A way is a line that you draw on the map: it might be a road, a railway, a river, even a fence or a power line. Each way is a series of joined 'points' (or nodes).

Because OpenStreetMap exists to create open maps, not copyrighted ones, you can't just copy from someone else's map. Instead, you should draw the ways using your own knowledge; using tracklogs of journeys you have made with a GPS receiver; or by tracing from the satellite photo background (Yahoo! Aerial Imagery).

Drawing a way:

Action icons.jpg

Tracing from a background:

If you make a mistake:

Editing an existing way

Selecting.jpg

Firstly, click on a way to select it.

To move an existing node:

To insert a new node on a way:

To insert a new single node:

To remove a node:

To extend a way:

To delete an entire way or segment of a way:

To move an entire way:

Click elsewhere on the map to deselect the way. At that point, your way will be entered into the OpenStreetMap database.

Splitting ways, merging ways, and junctions

To split a way

Joining.jpg

To make a junction between a new way and an existing way:

To make a junction between two existing ways:

To merge two ways into one:

To start a new way from a point on an existing way:

To disconnect a junction:

To reverse the direction of a way:

To create a way running parallel (for dual carriageways, footpaths etc.):

Points of Interest

As well as editing and creating roads (ways), you can also edit points that aren't part of any way - shops, town centres, phone boxes and the like.

Creating a point:

Editing a point

Editing tags

So that the map doesn't just look like a lot of identical lines, you can add information about what each way represents: whether it's a road, a railway, a river, or whatever. This information is known as 'tags', or sometimes 'properties' or 'attributes'.

Each tag is made up of a 'key' and a 'value'. For an important road, you might have a key of 'highway' (to say it's a road) and a value of 'trunk' (to say what sort of road it is). For a canal, the key would be 'waterway' and the value 'canal'. You can have as many tags as you like for each way or point.

To save the effort of typing, you can choose common types of road, railway, path or waterway from a pop-up menu. To find out what tags other OpenStreetMap users use, see the Map Features page.

Potlatch 10f.gif

1: Type of the selected object,
2: Object ID in OSM database,
3: Split tool,
4: direction chooser,
5: Undo,
6: Show GPS traces,
7: Open options dialog,

8: Template chooser: a) class, b) types,
9: Relations (here 3) which the selected object is member of (a) and the member role if applicable (b),
10: Object tags (here 4): a) keys, b) values,
11: Delete tag (w/o confirmation prompt!),
12: Copy tag of previously selected object,
13: Open relation editor,
14: Add a tag

Firstly, select a way or point.

Using preset tags:

Editing tags manually:

Property icons.jpg

Repeating tags on many ways or points:

Working with GPS tracks

You can upload tracklogs from your GPS receiver, using the 'GPS traces' tab on the site. Once you've done this, you can trace along them to draw your ways, or even automatically turn them into ways - though, in that case, you'll need to clean them up a bit, as raw traces can be untidy and inaccurate.

Seeing all GPS tracks in the current area:

Working with one continuous track:

Working with background images

You can choose a background layer to help with your editing. The default choice is Yahoo!'s aerial imagery, but several others are available.

Choosing a background layer:

Realigning a background layer:

You can also use a custom background layer if you have tiles in '900913' (spherical Mercator) format. Do not use copyrighted maps or satellite imagery - only those for which you have express permission. Please ask on the mailing lists or forum if you are not sure.

To use a custom background layer:

Undoing mistakes

If you make a mistake while editing, you can change it before it is saved to the server, or cancel it entirely with the Esc key. But if you've saved it and realise you've made a mistake, you can also "revert" to the earlier version.

To undo a mistake immediately:

To go back ("revert") to an earlier version of a way:

To restore an accidentally deleted way:

To restore an accidentally deleted relation:

Resolving conflicts

(this section to be written)

Keyboard shortcuts

Potlatch/Keyboard_shortcuts


Advanced Topics

Custom Map Backgrounds

Custom map background URLs can be entered into the Options Panel. URLs are of the form http://server.org/path/to/pics/_string_!_string_!_string_!_string. Exclamation marks are substituted in order by the Z,X, and Y coordinates in a GoogleMaps compatible tile-coordinate-system (not Tile map Service compatible). GeoTIFFs rendered as 256x256 tiles in the EPSG:4326 projection seem to match perfectly (verified in Central Europe).

http://www.nearmap.com/maps/nml=Vert&zxy=!,!,!&nmd=20091031
http://localhost/mymap/z=!&y=!&x=!
http://localhost/mymap/!-!-!.png

If you would like to link to a map with this background URL filled in, simply add a 'tileurl' parameter to the URL of the edit page, e.g.

http://www.openstreetmap.org/edit?lat=54.14&lon=-4.47&zoom=16&tileurl=http://dan.dev.openstreetmap.org/tiles/2001/!/!/!.jpg
Personal tools
Namespaces
Variants
Actions
site
Toolbox