OpenStreetMap標誌 OpenStreetMap

Node or way

於 23 一月 2009 由 Igor ShubovychEnglish發表。

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
電郵圖示 Bluesky圖示 Facebook圖示 LinkedIn圖示 Mastodon圖示 Telegram圖示 X圖示

討論

kaerast2009年1月23日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.

Igor Shubovych2009年1月23日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.

kaerast2009年1月23日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.

RichardB2009年1月23日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.

Circeus2009年1月24日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.

chillly2009年1月24日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.

Mourner2009年4月10日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.

登入以留言