Changeset 18230 in josm for trunk/resources/data/validator
- Timestamp:
- 2021-09-27T00:35:48+02:00 (3 years ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r18112 r18230 126 126 } 127 127 128 /* {0.tag} without {1.key} (warning level), #18411, #18246 */ 128 /* {0.key} without {1.tag}, {2.tag}, {3.tag} or {4.tag}, #20530 */ 129 *[pump_mechanism][man_made!=pump][man_made!=windpump][man_made!=water_well][man_made!=petroleum_well] { 130 throwWarning: tr("{0} without {1}, {2}, {3} or {4}", "{0.key}", "{1.tag}", "{2.tag}", "{3.tag}", "{4.tag}"); 131 group: tr("missing tag"); 132 } 133 134 /* {0.tag} without {1.key} (warning level), #18411, #18246, #20530 */ 129 135 way[railway=construction][!construction], 130 136 way[highway=construction][!construction], 131 137 node[traffic_sign=maxspeed][!maxspeed][!/^maxspeed:.+/], 132 node[actuator=manual][!handle], 138 *[actuator=manual][!handle], 139 *[mechanical_driver=manual][!handle], 133 140 node[emergency=fire_hydrant][!fire_hydrant:type], 134 141 way[ boundary=administrative][!admin_level], … … 246 253 } 247 254 248 /* {0.tag} together with {1.key}, see #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888 */255 /* {0.tag} together with {1.key}, see #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888, #20530 */ 249 256 *[power=plant][/^generator:/], 250 257 *[power=generator][/^plant:/], … … 256 263 *[amenity=vending_machine][shop], 257 264 *[noname?][name], 265 *[actuator][handle][actuator !~ /(^|;)manual(;|$)/], 266 *[mechanical_driver][handle][mechanical_driver !~ /(^|;)manual(;|$)/], 258 267 way[oneway=yes][/:backward/][!traffic_sign:backward][bicycle:backward!=use_sidepath][oneway:bicycle!=no][oneway:psv!=no], 259 268 way[oneway=yes][/:forward/ ][!traffic_sign:forward ][bicycle:forward!=use_sidepath ][oneway:bicycle!=no][oneway:psv!=no], -
trunk/resources/data/validator/deprecated.mapcss
r18188 r18230 2278 2278 } 2279 2279 2280 /* #20530 */ 2281 *[man_made=pumping_rig][!pump_mechanism][!mechanical_driver][!mechanical_coupling] { 2282 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2283 suggestAlternative: "man_made=petroleum_well"; 2284 suggestAlternative: "man_made=water_well"; 2285 fixAdd: "pump_mechanism=piston"; 2286 fixAdd: "mechanical_driver=combustion_engine"; 2287 fixAdd: "mechanical_coupling=nodding_donkey"; 2288 group: tr("deprecated tagging"); 2289 set pumping_ring_no_mech; 2290 } 2291 *[man_made=pumping_rig]!.pumping_ring_no_mech { 2292 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2293 suggestAlternative: "man_made=petroleum_well"; 2294 suggestAlternative: "man_made=water_well"; 2295 group: tr("deprecated tagging"); 2296 } 2297 *[pump:type=beam_pump][!pump_mechanism][!mechanical_driver][!mechanical_coupling] { 2298 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2299 suggestAlternative: "pump_mechanism"; 2300 fixRemove: "pump:type"; 2301 fixAdd: "pump_mechanism=piston"; 2302 fixAdd: "mechanical_driver=combustion_engine"; 2303 fixAdd: "mechanical_coupling=nodding_donkey"; 2304 group: tr("deprecated tagging"); 2305 set beam_pump_no_mech 2306 } 2307 *[pump:type]!.beam_pump_no_mech { 2308 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2309 suggestAlternative: "pump_mechanism"; 2310 group: tr("deprecated tagging"); 2311 } 2312 *[substance=heat] { 2313 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2314 suggestAlternative: "substance=hot_water"; 2315 suggestAlternative: "substance=steam"; 2316 group: tr("deprecated tagging"); 2317 } 2318 2280 2319 /* #20959 */ 2281 2320 *[landuse=school] { -
trunk/resources/data/validator/ignoretags.cfg
r18220 r18230 174 174 K:bicycle=dismount 175 175 K:wall=no 176 K:man_made=petroleum_well177 176 K:man_made=yes 178 177 K:man_made=clearcut … … 705 704 E:role 706 705 E:levels 706 K:man_made=pumping_rig 707 E:pump:type 708 K:substance=heat 707 709 ; 708 710 ; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note:
See TracChangeset
for help on using the changeset viewer.