Biểu trưng OpenStreetMap OpenStreetMap

Multiple sports in one area

Do halfd đăng vào 02 tháng 03 năm 2011 bằng English.

Hello folks,

I've just been adding a few recreational areas to Copenhagen - several of these places are squares with multiple functions, like soccer/basketball/hockey or skateboarding/basketball etc.

I've read about semi-colon value separation and I get the point about choosing the primary function of a given area, but some of these areas are totally a blend.

So should this be a case to use the semi-colons or are there any better ideas?

Keep on mapping!

Vị trí: Nørrevold, Indre By, Copenhagen, Copenhagen Municipality, Capital Region of Denmark, 1363, Denmark
Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của wieland vào 2 tháng 03 năm 2011 lúc 13:02

I have seen tags like sport=10pin;9pin;tennis;squash
or sport=swimming;gymnastics
but I don't like it.
At first try to separate fields. Afaik you can't play tennis and squash on/in the same court. Same for swimming and gymnastics unless it's underwater gymnastics.
Then focus on main activities. You can play poker on a tennis court, but normally you won't.
If there are many sports possible, use sport=multi.
If you still need multiple sports, tag separate nodes. Maybe the area with sport=soccer and a node with sport=hockey.

Bình luận của Tordanik vào 2 tháng 03 năm 2011 lúc 13:22

You should try to tag individual fields/pitches/tracks etc. to reduce the number of sports values per object. So far, I agree with wieland.

When there is still a small, but > 1 number of "primary" uses, however, then I suggest to prefer semicolons over "multi". After all, the worst case is the same as with sport=multi: An application doesn't know which sports the object is used for. But the best case with semicolons is that an application can evaluate the value list just fine. With sport=multi, even the best case is that you don't know which sports the objects is used for.

Bình luận của wieland vào 3 tháng 03 năm 2011 lúc 21:58

An alternative would be to tag
sport=soccer and sport:basketball=yes and sport:hockey=yes
But I havn't seen this so far in the DB and not in the wiki.
Similar to
fuel:diesel=yes
fuel:octane_91=yes
fuel:octane_95=yes
fuel:octane_98=yes
fuel:lpg=yes
See osm.wiki/Fuel

In osm.wiki/Sport
"several sports ... separated by semicolons"
are allowed.

Đăng nhập để nhận xét