Ignore:
Timestamp:
2026-07-23T17:54:23+02:00 (4 days ago)
Author:
stoecker
Message:

fix #22748 - patch by francois.lacombe - Extend utility=* to buildings, street cabinets and industrial landuses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r19590 r19591  
    367367node[transformer][voltage],
    368368node[marker][cover],
    369 node[marker][voltage],
    370 node[marker][pressure],
    371 node[marker][diameter],
    372 node[marker][substance],
    373369*[building:part][building],
    374370*[addr:street][addr:place][outside("CZ,DK")] {
     
    11801176  suggestAlternative: "{0.tag} + {1.key}=*";
    11811177}
     1178
     1179/* #24724 */
     1180*[marker][voltage] {
     1181  throwWarning: tr("{0} with {1}", "{0.tag}", "{1.key}");
     1182  group: tr("suspicious tag combination");
     1183  suggestAlternative: "indication:voltage=*";
     1184  fixRemove: "voltage";
     1185  fixAdd: "indication:voltage={1.value}"
     1186}
     1187*[marker][diameter] {
     1188  throwWarning: tr("{0} with {1}", "{0.tag}", "{1.key}");
     1189  group: tr("suspicious tag combination");
     1190  suggestAlternative: "indication:diameter=*";
     1191  fixRemove: "diameter";
     1192  fixAdd: "indication:diameter={1.value}"
     1193}
     1194*[marker][pressure] {
     1195  throwWarning: tr("{0} with {1}", "{0.tag}", "{1.key}");
     1196  group: tr("suspicious tag combination");
     1197  suggestAlternative: "indication:pressure=*";
     1198  fixRemove: "pressure";
     1199  fixAdd: "indication:pressure={1.value}"
     1200}
     1201*[marker][substance] {
     1202  throwWarning: tr("{0} with {1}", "{0.tag}", "{1.key}");
     1203  group: tr("suspicious tag combination");
     1204  suggestAlternative: "indication:substance=*";
     1205  fixRemove: "substance";
     1206  fixAdd: "indication:substance={1.value}"
     1207}
Note: See TracChangeset for help on using the changeset viewer.