Changeset 7942 in josm for trunk/data
- Timestamp:
- 2015-01-08T21:39:04+01:00 (10 years ago)
- Location:
- trunk/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r7940 r7942 7025 7025 </item> <!-- Ridge --> 7026 7026 </group> <!-- Geography --> 7027 <group name="Nature" icon=" presets/tree.png">7028 <item name="Tree" icon=" presets/tree.png" type="node" preset_name_label="true">7027 <group name="Nature" icon="styles/standard/misc/landmark/trees.png"> 7028 <item name="Tree" icon="styles/standard/misc/landmark/trees.png" type="node" preset_name_label="true"> 7029 7029 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=tree" 7030 7030 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=tree" … … 7050 7050 </optional> 7051 7051 </item> <!-- Tree --> 7052 <item name="Tree Row" icon=" presets/tree.png" type="way" preset_name_label="true">7052 <item name="Tree Row" icon="styles/standard/misc/landmark/tree_row.svg" type="way" preset_name_label="true"> 7053 7053 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=tree_row" 7054 7054 cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:natural=tree_row" … … 7068 7068 </optional> 7069 7069 </item> <!-- Tree Row --> 7070 <item name="Wood" icon="styles/standard/misc/landmark/ trees.png" type="closedway,relation" preset_name_label="true">7070 <item name="Wood" icon="styles/standard/misc/landmark/forest.svg" type="closedway,relation" preset_name_label="true"> 7071 7071 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=wood" 7072 7072 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=wood" … … 7081 7081 <reference ref="leaf" /> 7082 7082 </item> <!-- Wood --> 7083 <item name="Forest" icon="styles/standard/misc/landmark/ trees.png" type="closedway,relation" preset_name_label="true">7083 <item name="Forest" icon="styles/standard/misc/landmark/forest.svg" type="closedway,relation" preset_name_label="true"> 7084 7084 <link href="http://wiki.openstreetmap.org/wiki/Tag:landuse=forest" 7085 7085 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:landuse=forest" … … 7174 7174 <text key="name" text="Name" /> 7175 7175 </item> <!-- Heath --> 7176 <item name="Sand" icon=" presets/empty.png" type="closedway,relation" preset_name_label="true">7176 <item name="Sand" icon="styles/standard/misc/sand.svg" type="closedway,relation" preset_name_label="true"> 7177 7177 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=sand" 7178 7178 pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:natural=sand" -
trunk/data/validator/geometry.mapcss
r7937 r7942 24 24 node[natural=ridge], 25 25 node[natural=tree_row] { 26 throwWarning: tr("{0} on a node. Should be used on a way.", "{0. key}");26 throwWarning: tr("{0} on a node. Should be used on a way.", "{0.tag}"); 27 27 assertMatch: "node oneway=-1"; 28 28 assertNoMatch: "way oneway=-1"; … … 55 55 node[restriction] { 56 56 throwWarning: tr("{0}=* on a node. Should be used in a relation", "{0.key}"); 57 } 58 59 /* {0} on a way, should be a node */ 60 way[natural=peak], 61 way[natural=saddle], 62 way[natural=volcano], 63 way[natural=tree] { 64 throwWarning: tr("{0} on a way. Should be used on a node.", "{0.tag}"); 57 65 } 58 66
Note:
See TracChangeset
for help on using the changeset viewer.