Ignore:
Timestamp:
2020-04-11T14:31:06+02:00 (22 months ago)
Author:
Klumbumbus
Message:

fix #19066 - Improve some validator messages

File:
1 edited

Legend:

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

    r15771 r16255  
    1111relation[type=route][!route],
    1212relation[type=route_master][!route_master],
    13 relation[type=restriction][!/^restriction/], /* see #11586 */
    1413relation[type=boundary][!boundary][!disused:boundary],
    1514relation[type=public_transport][!public_transport],
     
    2221  assertMatch: "relation type=route_master";
    2322  assertNoMatch: "relation type=route_master route_master=train";
    24   assertMatch: "relation type=restriction";
    25   assertNoMatch: "relation type=restriction restriction=no_left_turn";
    2623  assertMatch: "relation type=boundary";
    2724  assertNoMatch: "relation type=boundary boundary=administrative";
     
    3532}
    3633
     34/* #11586 */
     35relation[type=restriction][!/^restriction/]{
     36  throwWarning: tr("{0} relation without {0} tag", "restriction");
     37  group: tr("missing tag");
     38  assertMatch: "relation type=restriction";
     39  assertNoMatch: "relation type=restriction restriction=no_left_turn";
     40  assertNoMatch: "relation type=restriction restriction:hgv=no_left_turn";
     41}
     42
    3743/* #15208, #16242 */
    3844relation[type=route][route=mtb    ] > way[bicycle=no],
Note: See TracChangeset for help on using the changeset viewer.