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.

Location: Darnytskyi district, Kyiv, Ukraine
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Comment from kaerast on 23 January 2009 at 18:16

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.

Comment from Igor Shubovych on 23 January 2009 at 18:38

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.

Comment from kaerast on 23 January 2009 at 19:58

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.

Comment from RichardB on 23 January 2009 at 22:10

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

Comment from Circeus on 24 January 2009 at 01:58

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.

Comment from chillly on 24 January 2009 at 12:40

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.

Comment from Mourner on 10 April 2009 at 12:47

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.

Log in to leave a comment