Proposed features/sport namespace
|Definition:||To allow multiple sports to be specified.|
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)
A node or a way may be tagged as follows:
and this will be interpreted as equivalent to
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:
Indicates cricket nets are present but there is no cricket pitch.
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.
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)