開放街圖標誌 OpenStreetMap 開放街圖

Node or way

於 2009年一月23日 由 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
電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

kaerast2009年01月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年01月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年01月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年01月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年01月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年01月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年04月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.

登入 來留下評論