Changeset 19467 in josm for trunk/resources/data/validator/combinations.mapcss
- Timestamp:
- 2026-01-16T11:11:30+01:00 (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r19440 r19467 307 307 node[power=transformer][voltage], 308 308 node[transformer=distribution][voltage][power=pole], 309 relation[power=circuit][wires], 310 relation[power=line_section][wires], 309 311 *[amenity=vending_machine][shop], 310 312 *[noname?][name], … … 1138 1140 assertNoMatch: "way highway=primary oneway=yes bicycle:lanes=no|designated|yes cycleway:lanes=|lane|no"; 1139 1141 } 1142 1143 /* Prevent redundancy between relation and members, see #24456, #24457 */ 1144 relation[power=circuit] > way[power=line][frequency], 1145 relation[power=circuit] > way[power=minor_line][frequency], 1146 relation[power=circuit] > way[power=cable][frequency] { 1147 throwWarning: tr("Frequency tag should be on the circuit relation only, not on the power segment"); 1148 group: tr("redundant tagging"); 1149 } 1150 relation[power=circuit] > relation[power=line_section][frequency] { 1151 throwWarning: tr("Frequency tag should be on the circuit relation only, not on the power section"); 1152 group: tr("redundant tagging"); 1153 } 1154 1155 /* Invalid topology with power circuit relation, see #24456 */ 1156 relation[power=circuit][topology][topology!~/^(linear|branched)$/] { 1157 throwError: tr("power=circuit relations should have a topology tag with value linear or branched"); 1158 assertMatch: "relation type=power power=circuit topology=branch"; 1159 assertNoMatch: "relation type=power power=circuit topology=branched";
Note:
See TracChangeset
for help on using the changeset viewer.
