開放街圖標誌 OpenStreetMap 開放街圖

Learning the OSM Way

於 2016年八月14日 由 mtcEnglish發表。

Today, I searched for a school in OSMAnd+, with a POI search. I was surprised to see so few in the area, so I jumped onto JOSM to investigate.

I saw some schools with building=school tags, while other schools had amenity=school tags. What is going on here? On to the OSM Wiki to learn more. wiki image Ah, ha! The schools are supposed to have a border defined which uses the amenity=school tag, for the perimeter of the school grounds. The amenity tag, not the building tag, should carry the name of the school complex. I assume the building’s name= tag is used to define the name of the building, instead. Clever.

There are some non-obvious ways of doing things in OSM, but the more that I learn, the more other OSM methods become more intuitive. Are there other boundaries that are better defined by the amenity= tag?

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

Sanderd172016年08月14日 15時56分 發表的評論

Amenity=* tags should go on what they define. Around here, most schools have multiple buildings, and the playground is clearly part of the school. So the amenity=* tag defines the perimeter and not the building.

The same holds for other big features like industrial sites. If you can accurately define a feature with a single building (like pubs and restaurants in most cases), it’s fine or even preferred to put the tag on the building.

Warin612016年08月14日 22時57分 發表的評論

Adding detail? The leisure=pitch could also have a sport=x tag .. where x is the sport played there …. if more than one sport then use, for example, sport=tennis;basketball

The building could have a few floors too. And some ‘school buildings’ are for sport, meeting hall etc. I’d not tag those as building =school as they don’t have class rooms.

BushmanK2016年08月15日 02時35分 發表的評論

Based on my experience of answering tagging-related questions, I’d say, that if you thing that something in OSM is obvious/intuitive without reading tag documentation, you most likely have wrong idea about it. OSM uses natural language for keys and values, and especially if you are native English speaker, you can feel like you got everything from meaning of this word. But concepts of OSM often have a bit different or stricter meaning than words you know. So, it’s better to check documentation first.

Good examples are masts/towers and bridges/tunnels.

Carnildo2016年08月16日 01時47分 發表的評論

The mast/tower problem stems from trying to group three things (roughly: European radio towers, American super-tall antennas, and cell phone antennas) into two categories.

登入 來留下評論