Most of the places (cafés, restaurants and the like) I am working with on OpenStreetMap are nodes (like this one).

However I've recently seen cafés (like this one) being mapped as closed ways - more specifically as areas.

Areas seem to make sense: a café or restaurant is never a single point in space but a certain geographical area.

However, the OpenStreetMap default browser editor recommends:

  • a point (node) to "add restaurants, monuments, postboxes or other points to the map"
  • a line (way) to "add roads, streets, ways, canals or other lines to the map"

When I contribute new places to OSM, should I add a node or a way?

This is key when using the Overpass API, where nodes and ways are treated very differently.

asked 27 Sep '18, 05:46

robinmetral's gravatar image

robinmetral
1865618
accept rate: 0%

edited 27 Sep '18, 13:14

SimonPoole's gravatar image

SimonPoole ♦
38.0k13284605

1

I've changed the title to be less confusing, the term "place" is typically used for populated places and other localities, not for shops and other facilities.

(27 Sep '18, 13:15) SimonPoole ♦

It's really up to you. If you can discern the building's outline from the satellite imagery and you are willing to draw it as a closed way, feel free to use that method.

The only time this isn't a good idea is if the building contains other shops or cafes. Then the node approach is better because you can add nodes for the other POIs inside the building. As long as you're communicating the existence of the POI, be it a monument, bar, supermarket, whether one uses a node or way to show it isn't crucially important.

Some objects, like the postbox example you gave, are probably always better mapped as nodes as most of them occupy such a small space they cannot be drawn as ways.

Cheers,

Dave

permanent link

answered 27 Sep '18, 06:39

AlaskaDave's gravatar image

AlaskaDave
3.9k7093140
accept rate: 12%

Thanks for your reply! I'll mostly stick to nodes then :)

How about a building where there might be several shops, with each occupying a certain space (in a mall for instance). If there is a way to know approximately what the limits of each shop are, would it make sense to create new closed ways within building areas?

(27 Sep '18, 07:12) robinmetral
1

This is possible with Indoor Mapping and Simple Indoor Tagging. You can create individual rooms inside a building (don't use the building key for this!). However this approach is still rather uncommon and only required for very specific use cases.

(27 Sep '18, 07:46) scai ♦
Your answer
toggle preview

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:

×164
×153
×139
×40
×6

question asked: 27 Sep '18, 05:46

question was seen: 429 times

last updated: 27 Sep '18, 13:15

powered by OSQA