Changeset 8383 in josm
- Timestamp:
- 2015-05-17T13:56:37+02:00 (10 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r8381 r8383 5039 5039 <reference ref="name_leisure_pitch" /> 5040 5040 </item> <!-- Croquet --> 5041 <item name="Hockey" icon="presets/Hockey.png" type="node,closedway" preset_name_label="true"> 5042 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=hockey" /> 5043 <space /> 5044 <key key="sport" value="hockey" /> 5041 <item name="Field Hockey" icon="presets/field_hockey.png" type="node,closedway" preset_name_label="true"> 5042 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=field_hockey" /> 5043 <space /> 5044 <key key="sport" value="field_hockey" /> 5045 <text key="name" text="Name" /> 5046 <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" /> 5047 </item> <!-- Field Hockey --> 5048 <item name="Ice Hockey" icon="presets/ice_hockey.png" type="node,closedway" preset_name_label="true"> 5049 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=ice_hockey" /> 5050 <space /> 5051 <key key="sport" value="ice_hockey" /> 5045 5052 <text key="name" text="Name" /> 5046 5053 <combo key="leisure" text="Type" values="ice_rink,pitch,sports_centre,stadium" /> 5047 </item> <!-- Hockey --> 5054 </item> <!-- Ice Hockey --> 5048 5055 <item name="Pelota" icon="presets/pelota.png" type="node,closedway" preset_name_label="true"> 5049 5056 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=pelota" -
trunk/data/validator/combinations.mapcss
r8302 r8383 241 241 242 242 /* see #9593, #11183 */ 243 *[sport][!building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground)$/][natural !~ /^(beach|bare_rock|peak)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"] { 243 *[sport][!building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground|ice_rink)$/][natural !~ /^(beach|bare_rock|peak)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"] { 244 244 throwWarning: tr("sport without physical feature"); 245 245 assertMatch: "node sport=tennis"; -
trunk/data/validator/deprecated.mapcss
r8204 r8383 470 470 fixAdd: "pole=transition"; 471 471 } 472 473 /* see #11439 */ 474 *[sport=hockey] { 475 throwWarning: tr("{0} is inaccurate", "{0.tag}"); 476 suggestAlternative: "sport=field_hockey"; 477 suggestAlternative: "sport=ice_hockey"; 478 } -
trunk/styles/standard/elemstyles.mapcss
r8362 r8383 1632 1632 } 1633 1633 node[leisure=ice_rink] { 1634 icon-image: "sport/hockey.png"; 1634 icon-image: "sport/ice_hockey.png"; 1635 1635 set icon_z17; 1636 1636 text: auto; … … 3661 3661 area[sport=golf], 3662 3662 area[sport=gymnastics], 3663 area[sport=hockey], 3663 area[sport=field_hockey], 3664 area[sport=ice_hockey], 3664 3665 area[sport=horse_racing], 3665 3666 area[sport=karting][highway!=raceway], … … 3698 3699 text: auto; 3699 3700 } 3700 node[sport=hockey] { 3701 icon-image: "sport/hockey.png"; 3701 node[sport=field_hockey] { 3702 icon-image: "sport/field_hockey.png"; 3703 set icon_z17; 3704 text: auto; 3705 } 3706 node[sport=ice_hockey] { 3707 icon-image: "sport/ice_hockey.png"; 3702 3708 set icon_z17; 3703 3709 text: auto;
Note:
See TracChangeset
for help on using the changeset viewer.