Logotip de l'OpenStreetMap OpenStreetMap

Multiple sports in one area

Publicat per halfd el 2 Març 2011 en 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!

Ubicació: Nørrevold, Indre By, Copenhagen, Copenhagen Municipality, Capital Region of Denmark, 1363, Denmark
Icona de correu electrònic Icona de Bluesky Facebook Icon Icona de LinkedIn Icona de Mastodon Icona de Telegram Icona de X

Discussió

Comentari de wieland el 2 Març 2011 a les 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.

Comentari de Tordanik el 2 Març 2011 a les 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.

Comentari de wieland el 3 Març 2011 a les 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.

Inicia sessió per a fer un comentari