Proposal:Sport namespace
sport namespace | |
---|---|
Proposal status: | Abandoned (inactive) |
Proposed by: | * |
Tagging: | sport:*=* |
Applies to: | node/way/area |
Definition: | To allow multiple sports to be specified. |
Statistics: |
|
Draft started: | |
Proposed on: | 2008-02-26 |
Introduction
A single location is often used for more than one sport. For example, a sports centre may have swimming, weight lifting, tennis, gymnastics in one location. Occasionally, it would be useful to mark a location has not having a particular sport available.
This proposal is intended to coexist with the sport= tagging but allowing additional detail.
Proposed by: --TimSC 18:18, 26 February 2008 (UTC)
Proposal
A node or a way may be tagged as follows:
sport:athletics=yes
and this will be interpreted as equivalent to
sport=athletics
In addition, multiple sports may be specified:
sport:athletics=yes sport:cricket=yes sport:golf=yes
This would indicate that the location had some connection to all these sports. Typically all the sports are available at the location. Alternatively, this could indicate a shop sold goods for all these sports.
It is also useful to know if a sport is unavailable at a particular location. For example, some scuba dive sites are unstable for snorkeling. For another example:
sport:cricket_nets=yes sport:cricket=no
Indicates cricket nets are present but there is no cricket pitch.
Node/Way/Area
Proposed Rendering
Display of sport:X=yes would be equivalent to the rendering of sport=X.
If multiple sports are defined, rendering may:
- display only one of the sports. The order of precedences is discretionary but alphabetic is easiest. (e.g. athletics would be displayed in preference to zourkhaneh.)
- display a multi sport icon
- specialist maps would have their own order of selection. e.g. maps for cyclists would show sport:cycling=yes icons before any other.
Discussion
I like the proposal. It's much better than using separated values. Althought I'd preffer if multiple tags with the same key were allowed. Proposed way is more specific (for example you can't say sport:cricket=no with multiple sport=* tags) but it's not as straightforward as multiple tags with the same key.
I'm not sure whether this should be extended to all tags. I think it doesn't make much sense for highways tags, but it could be useful for amenity and shop. --Jttt 07:52, 27 May 2008 (UTC)