Changeset 8057 in josm for trunk


Ignore:
Timestamp:
2015-02-13T17:40:45+01:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #11113 fix #10804 - fix validator for parking, smoothness, intermittent

File:
1 edited

Legend:

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

    r8054 r8057  
    102102*[reservoir_type               ][landuse!=reservoir][water!=reservoir],
    103103*[bridge:movable               ][bridge!=movable],
     104*[parking                      ][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/]
    104105*[bunker_type                  ][military!=bunker] {
    105106  throwWarning: tr("{0} without {1}", "{0.key}", "{1.tag}");
     
    121122
    122123/* {0.key} without {1.key} or {2.tag} */
    123 *[smoothness                   ][!highway][amenity!=parking][amenity!=parking_space][amenity!=parking_entrance][amenity!=motorcycle_parking],
     124*[smoothness                   ][!highway][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/],
    124125*[segregated                   ][!highway][railway!=crossing],
    125 *[boat                         ][!waterway][natural!=water],
    126 *[intermittent                 ][!waterway][natural!=water] {
     126*[boat                         ][!waterway][natural!=water] {
    127127  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.tag}");
    128128}
    129129
    130 /* {0.key} without {1.tag}, {2.tag} or {3.tag} */
    131 *[parking                      ][amenity!=parking][amenity!=parking_entrance][amenity!=motorcycle_parking] {
    132   throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.tag}", "{2.tag}", "{3.tag}");
     130/* {0.key} without {1.key}, {2.tag} or {3.tag} */
     131*[intermittent                 ][!waterway][natural!~/^(water|spring)$/][ford!=yes] {
     132  throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.tag}", "{3.tag}");
    133133}
    134134
Note: See TracChangeset for help on using the changeset viewer.