Changeset 9500 in josm for trunk/data
- Timestamp:
- 2016-01-17T14:24:16+01:00 (9 years ago)
- Location:
- trunk/data
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r9494 r9500 308 308 <combo key="generator:output:vacuum" text="vacuum" values="yes,2 W,3 kW,5 MW,7 GW" /> 309 309 <space /> 310 < combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7,50,60" length="5" />310 <reference ref="voltage_frequency" /> 311 311 </optional> 312 312 </chunk> … … 6162 6162 <combo key="plant:output:vacuum" text="vacuum" values="yes,2 W,3 kW,5 MW,7 GW" /> 6163 6163 <space /> 6164 < combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7,50,60" length="5" />6164 <reference ref="voltage_frequency" /> 6165 6165 </optional> 6166 6166 </item> <!-- Power Plant --> … … 6341 6341 </optional> 6342 6342 </item> <!-- Power Substation --> 6343 <item name="Power Transformer" icon="styles/standard/power/transformer.svg" type="node ,closedway" preset_name_label="true">6343 <item name="Power Transformer" icon="styles/standard/power/transformer.svg" type="node" preset_name_label="true"> 6344 6344 <link href="http://wiki.openstreetmap.org/wiki/Tag:power=transformer" 6345 6345 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:power=transformer" -
trunk/data/validator/combinations.mapcss
r9495 r9500 93 93 94 94 /* {0.key} without {1.tag} */ 95 *[substation ][power!=substation], 96 *[transformer ][!power], 95 97 *[fence_type ][barrier!=fence], 96 98 *[recycling_type ][amenity!=recycling], … … 121 123 /* {0.tag} without {1.key} (info level) */ 122 124 way[power=cable ][!location], 125 node[power=transformer ][!voltage], 126 way[power=line ][!voltage], 127 way[power=minor_line ][!voltage], 128 way[power=cable ][!voltage], 129 *[power=generator ][!voltage][generator:output:electricity], 130 *[power=plant ][!voltage][plant:output:electricity], 131 *[power=substation ][!substation], 132 *[power=transformer ][!transformer], 123 133 *[amenity=parking ][!parking], 124 134 *[amenity=parking_entrance ][!parking] { 125 135 throwOther: tr("{0} without {1}", "{0.tag}", "{1.key}"); 136 assertMatch: "way power=line"; 137 assertNoMatch: "way power=line voltage=1"; 138 assertNoMatch: "way power=switch"; 139 assertMatch: "way power=substation"; 140 assertMatch: "way power=substation transformer=foobar"; 141 assertNoMatch: "way power=substation substation=foobar"; 142 assertMatch: "way power=generator generator:output:electricity=yes"; 143 assertNoMatch: "way power=generator"; 144 assertNoMatch: "way power=generator generator:output:electricity=yes voltage=1"; 126 145 } 127 146 -
trunk/data/validator/geometry.mapcss
r9494 r9500 82 82 way[entrance], 83 83 way[man_made=survey_point], 84 way[power=transformer], 84 85 way[power=pole], 85 86 way[power=tower]!:closed,
Note:
See TracChangeset
for help on using the changeset viewer.