Changeset 18535 in josm
- Timestamp:
- 2022-08-13T18:39:30+02:00 (2 years ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r18527 r18535 11 11 12 12 /* {0.key} without {1.key} (warning level) */ 13 node[voltage:primary ][!transformer], 14 node[voltage:secondary ][!transformer], 15 node[voltage:tertiary ][!transformer], 13 16 way[junction ][!highway][junction!=yes][!area:highway], 14 17 way[living_street ][!highway], … … 346 349 } 347 350 348 /* {0.key} together with {1.key}, #18267, #17630, #17604 */ 351 /* {0.key} together with {1.key}, #18267, #17630, #17604, #21836 */ 352 node[transformer][voltage], 349 353 node[marker][cover], 350 354 node[marker][voltage], … … 1061 1065 assertNoMatch: "relation piste:type=nordic piste:grooming=classic"; 1062 1066 } 1067 1068 /* #21836 */ 1069 *[voltage:primary][voltage:secondary][transformer=generator][tag("voltage:secondary")<tag("voltage:primary")] { 1070 throwWarning: tr("{0} is lower than {1} on {2}.", "{1.key}", "{0.key}", "{2.tag}"); 1071 group: tr("suspicious tag combination"); 1072 } -
trunk/resources/data/validator/deprecated.mapcss
r18524 r18535 2382 2382 } 2383 2383 2384 /* #21836 */ 2385 *[voltage-high], 2386 *[voltage-low] { 2387 throwWarning: tr("{0} is deprecated", "{0.key}"); 2388 suggestAlternative: "voltage:primary"; 2389 suggestAlternative: "voltage:secondary"; 2390 group: tr("deprecated tagging"); 2391 } 2392 2384 2393 /* When tags are deprecated they should be added to ignoretags.cfg too. */ -
trunk/resources/data/validator/geometry.mapcss
r18459 r18535 96 96 97 97 /* {0} on a way, should be a node */ 98 way[voltage:primary], 99 way[voltage:secondary], 100 way[voltage:tertiary], 98 101 way[line_attachment], 99 102 way[line_management], -
trunk/resources/data/validator/ignoretags.cfg
r18524 r18535 136 136 E:distance 137 137 E:voltage 138 E:voltage:primary 139 E:voltage:secondary 140 E:voltage:tertiary 138 141 E:amperage 139 142 E:generator:output:electricity … … 727 730 K:surface=decoturf 728 731 K:school=entrance 732 E:voltage-high 733 E:voltage-low 729 734 ; 730 735 ; Tags not yet decided (to remove from this section when added or moved up when deprecated) -
trunk/resources/data/validator/numeric.mapcss
r18385 r18535 373 373 } 374 374 375 way[voltage][voltage =~ /(.*[A-Za-z].*)|.*,.*|.*( ).*/] { 375 way[voltage][voltage =~ /(.*[A-Za-z].*)|.*,.*|.*( ).*/], 376 way[voltage:primary][voltage:primary =~ /(.*[A-Za-z].*)|.*,.*|.*( ).*/], 377 way[voltage:secondary][voltage:secondary =~ /(.*[A-Za-z].*)|.*,.*|.*( ).*/], 378 way[voltage:tertiary][voltage:tertiary =~ /(.*[A-Za-z].*)|.*,.*|.*( ).*/] { 376 379 throwWarning: tr("voltage should be in volts with no units/delimiter/spaces"); 377 380 assertMatch: "way voltage=medium";
Note:
See TracChangeset
for help on using the changeset viewer.