- Timestamp:
- 2015-03-13T20:34:02+01:00 (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r8125 r8135 1674 1674 <text key="name" text="Name" /> 1675 1675 <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" /> 1676 <check key="intermittent" text="Is the water body intermittent (disappears seasonally)?" disable_off="true" /> 1676 1677 </item> <!-- Drain --> 1677 1678 <item name="Ditch" icon="presets/waterway.png" type="way" preset_name_label="true"> … … 1685 1686 <text key="name" text="Name" /> 1686 1687 <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" /> 1688 <check key="intermittent" text="Is the water body intermittent (disappears seasonally)?" disable_off="true" /> 1687 1689 </item> <!-- Ditch --> 1688 1690 <item name="Stream" icon="presets/waterway.png" type="way" preset_name_label="true"> … … 1701 1703 <text key="name" text="Name" /> 1702 1704 <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" /> 1705 <check key="intermittent" text="Is the water body intermittent (disappears seasonally)?" disable_off="true" /> 1703 1706 </item> <!-- Stream --> 1704 <item name="Wadi" icon="presets/waterway.png" type="way" preset_name_label="true">1705 <link href="http://wiki.openstreetmap.org/wiki/Tag:waterway=wadi" />1706 <space />1707 <key key="waterway" value="wadi" />1708 <text key="name" text="Name" />1709 <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />1710 </item> <!-- Wadi -->1711 1707 <item name="Canal" icon="presets/waterway.png" type="way" preset_name_label="true"> 1712 1708 <link href="http://wiki.openstreetmap.org/wiki/Tag:waterway=canal" … … 1736 1732 <reference ref="name_wikipedia" /> 1737 1733 <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" /> 1734 <check key="intermittent" text="Is the water body intermittent (disappears seasonally)?" disable_off="true" /> 1738 1735 </item> <!-- River --> 1739 1736 <separator/> … … 1894 1891 <key key="waterway" value="riverbank" /> 1895 1892 <text key="name" text="Name" /> 1893 <check key="intermittent" text="Is the water body intermittent (disappears seasonally)?" disable_off="true" /> 1896 1894 </item> <!-- Riverbank --> 1897 1895 <separator/> … … 7204 7202 </optional> 7205 7203 </item> <!-- Volcano --> 7204 <item name="Ridge" icon="presets/ridge.svg" type="way,relation" preset_name_label="true"> 7205 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=ridge" 7206 cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:natural=ridge" 7207 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=ridge" 7208 pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:natural=ridge" 7209 ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:natural=ridge" /> 7210 <label text="A mountain or hill ridge." /> 7211 <space /> 7212 <key key="natural" value="ridge" /> 7213 <reference ref="name_wikipedia" /> 7214 <text key="ele" text="Elevation" /> 7215 </item> <!-- Ridge --> 7216 <item name="Valley" icon="presets/valley.svg" type="way,relation" preset_name_label="true"> 7217 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=valley" /> 7218 <label text="A low area between hills." /> 7219 <space /> 7220 <key key="natural" value="valley" /> 7221 <reference ref="name_wikipedia" /> 7222 </item> <!-- Valley --> 7206 7223 <item name="Cave Entrance" icon="presets/cave_entrance.png" type="node,closedway,relation" preset_name_label="true"> 7207 7224 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=cave_entrance" … … 7240 7257 <reference ref="name_wikipedia" /> 7241 7258 </item> <!-- Islet --> 7242 <item name="Ridge" icon="presets/empty.png" type="way,relation" preset_name_label="true">7243 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=ridge"7244 cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:natural=ridge"7245 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=ridge"7246 pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:natural=ridge"7247 ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:natural=ridge" />7248 <label text="A mountain or hill ridge." />7249 <space />7250 <key key="natural" value="ridge" />7251 <reference ref="name_wikipedia" />7252 <text key="ele" text="Elevation" />7253 </item> <!-- Ridge -->7254 7259 </group> <!-- Geography --> 7255 7260 <group name="Nature" icon="styles/standard/misc/landmark/trees.png"> -
trunk/data/validator/deprecated.mapcss
r8121 r8135 398 398 suggestAlternative: {1.key}; 399 399 } 400 401 /* see #11223 */ 402 *[waterway=wadi] { 403 throwWarning: tr("{0} is deprecated", "{0.tag}"); 404 suggestAlternative: "{0.key}=* + intermittent=yes"; 405 suggestAlternative: "natural=valley"; 406 } -
trunk/data/validator/geometry.mapcss
r8089 r8135 30 30 node[waterway=river], 31 31 node[waterway=canal], 32 node[waterway=wadi],33 32 node[waterway=stream], 34 33 node[waterway=ditch], … … 36 35 node[natural=coastline], 37 36 node[natural=ridge], 37 node[natural=valley], 38 38 node[natural=tree_row] { 39 39 throwWarning: tr("{0} on a node. Should be used on a way.", "{0.tag}"); -
trunk/styles/standard/elemstyles.mapcss
r8134 r8135 3909 3909 color: natural#002f00; 3910 3910 } 3911 way[natural=valley] { 3912 width: 1; 3913 color: natural#002f00; 3914 } 3911 3915 area[natural=scree] { 3912 3916 fill-color: natural#002f00; … … 4020 4024 node[natural=land], 4021 4025 node[natural=bare_rock], 4022 node[natural=ridge] { 4026 node[natural=ridge], 4027 node[natural=valley] { 4023 4028 icon-image: "misc/deprecated.png"; 4024 4029 set icon_z17; … … 4038 4043 color: riverbank#0000cf; 4039 4044 } 4040 way[waterway=canal] , way[waterway=wadi]{4045 way[waterway=canal] { 4041 4046 width: 2; 4042 4047 color: water#0000ff; … … 4094 4099 node[waterway=weir] { 4095 4100 icon-image: "nautical/weir.png"; 4096 set icon_z17;4097 text: auto;4098 }4099 way[waterway=rapids] {4100 width: 2;4101 color: rapids#8080ff;4102 }4103 node[waterway=rapids] {4104 icon-image: "misc/no_icon.png";4105 4101 set icon_z17; 4106 4102 text: auto;
Note:
See TracChangeset
for help on using the changeset viewer.