OpenStreetMap logo OpenStreetMap

Node or way

Posted by Igor Shubovych on 23 January 2009 in English.

Several days ago I noticed that many buildings mapped by me, are shown wrong. For example, schools, shops, kindergarten not shown on the mapnik layer.
I review the "Map features" page and found that the most amenities should be mapped as node, not as building.

Previously I added way, mark it with "building=yes", then add something like "amenity=school". Now I put node inside the building and add amenity type. In this way I have to duplicate address information, otherwise amenity is hard to find by address.

Have to review all my commits.

ځای: Darnytskyi district, Kyiv, Ukraine
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

په 23 January 2009 په 18:16 باندې د kaerast تبصره

The wiki shows which amenity tags are valid for areas or nodes or both. Schools and kindergarten should be acceptable as areas. As for shops, they come under the shop key and vary as to whether the tags are valid for areas or separate nodes. So sometimes you will be fine leaving the areas tagged, and not have to make changes.

I'd try and avoid having duplicate data if possible. So where you are adding new nodes because of this restriction, remove the tags from the area.

په 23 January 2009 په 18:38 باندې د Igor Shubovych تبصره

Thanks for comments kaerast.
What if school is more than just building? Normally they have some small stadiums, kindergarten have playgrounds. But address belongs to building.

په 23 January 2009 په 19:58 باندې د kaerast تبصره

There is a preliminary proposal for using relation=site in that situation, but school is also valid for an area so you can add the boundary of the school and have area=yes;amenity=school for the area.

Buildings within that area don't need amenity=school, and would just have building=yes. A playground within the school would probably be area=yes;leisure=playground;access=private.

If the buildings have seperate addresses (as in a large campus) then you would tag the buildings with addr:street=* but if they all have the same address then the area would get the addr:street=* tag.

په 23 January 2009 په 22:10 باندې د RichardB تبصره

If you can map it as a building - then map it as a building. Don't be afraid to go against Map Features.

په 24 January 2009 په 01:58 باندې د Circeus تبصره

You should also note that not every amenity or shop will show on the slippy map (either Mapnik or osmarender) amenity=kindergarten and amenity=town_hall, for example, do not IIRC. Most shops are also not displayed.

په 24 January 2009 په 12:40 باندې د chillly تبصره

In some cases a row of shops might actually be just one building. Add the building as an area tagged building=yes then add a node for each shop. Some (most?) shop types do not render on the Mapnik or Osmarender layers.

په 10 April 2009 په 12:47 باندې د Mourner تبصره

I think that most amenities and shops should be displayed on default OSM Mapnik tiles because their absence discourages users from adding these types of data.

ننوتل to leave a comment