Changeset 10272 in josm


Ignore:
Timestamp:
2016-05-24T18:33:29+02:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #12865 - don't warn about highway=services|rest_area + addr:postcode; fix #12868 - don't warn about leisure=slipway connected to highways; warn about leisure=yes

Location:
trunk/data/validator
Files:
3 edited

Legend:

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

    r10146 r10272  
    231231}
    232232
    233 /* see #9811, #11491 */
     233/* see #9811, #11491, #12865 */
    234234*[place][place!=farm][/^addr:/],
    235235*[boundary][/^addr:/],
     
    250250  throwWarning: tr("{0} together with {1} and conflicting values", "{1.key}", "{2.key}");
    251251}
    252 way[highway][!postal_code]["addr:postcode"] {
     252way[highway][highway!=services][highway!=rest_area][!postal_code]["addr:postcode"] {
    253253  throwWarning: tr("{0} together with {1}", "{0.key}", "{2.key}");
    254254  suggestAlternative: "postal_code";
  • trunk/data/validator/deprecated.mapcss

    r10249 r10272  
    382382*[aerialway=yes][!public_transport],
    383383*[amenity=yes],
     384*[leisure=yes],
    384385*[shop="*"],
    385386*[craft=yes],
  • trunk/data/validator/geometry.mapcss

    r10251 r10272  
    229229way[highway] > node[amenity][!entrance][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking|bicycle_parking|bus_station|car_wash)$/],
    230230way[highway] > node[building][!entrance],
    231 way[highway] > node[leisure][!entrance],
     231way[highway] > node[leisure][!entrance][leisure!=slipway],
    232232way[highway] > node[office][!entrance],
    233233way[highway] > node[shop][!entrance],
Note: See TracChangeset for help on using the changeset viewer.