OpenStreetMap логотибы OpenStreetMap

Multiple sports in one area

English телендә halfd 2 March 2011 баҫылып сыҡты.

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!

Урын Nørrevold, Indre By, Copenhagen, Copenhagen Municipality, Capital Region of Denmark, 1363, Denmark
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Фекер алышыу

wielandтарафынан 2 March 2011 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.

Tordanikтарафынан 2 March 2011 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.

wielandтарафынан 3 March 2011 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.

Фекер яҙыу өсөн Инеү