Changeset 6719 in josm


Ignore:
Timestamp:
2014-01-17T22:20:54+01:00 (10 years ago)
Author:
simon04
Message:

fix #9522 - New test for nodes inside polygons with the same values
see #9311 - Repair parking inside parking if capacity:disabled is not set

File:
1 edited

Legend:

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

    r6680 r6719  
    3131
    3232/* see ticket #9311 */
     33node[amenity=parking][!"capacity:disabled"] ∈ *[amenity=parking],
    3334node[amenity=parking]["capacity:disabled" !~ /^(yes|[0-9]+)$/] ∈ *[amenity=parking] {
    3435  throwWarning: tr("{0} inside {1}", "amenity=parking", "amenity=parking");
     
    4344  throwWarning: tr("Overlapping Identical Landuses");
    4445}
     46
     47/* see ticket:#9522 */
     48node[tag("amenity") = parent_tag("amenity")] ∈ *[amenity][amenity != parking] {
     49  throwWarning: tr("{0} inside {1}", concat("amenity=", tag("amenity")), concat("amenity=", tag("amenity")));
     50}
     51node[tag("leisure") = parent_tag("leisure")] ∈ *[leisure] {
     52  throwWarning: tr("{0} inside {1}", concat("leisure=", tag("leisure")), concat("leisure=", tag("leisure")));
     53}
     54node[tag("tourism") = parent_tag("tourism")] ∈ *[tourism] {
     55  throwWarning: tr("{0} inside {1}", concat("tourism=", tag("tourism")), concat("tourism=", tag("tourism")));
     56}
     57node[tag("shop") = parent_tag("shop")] ∈ *[shop] {
     58  throwWarning: tr("{0} inside {1}", concat("shop=", tag("shop")), concat("shop=", tag("shop")));
     59}
Note: See TracChangeset for help on using the changeset viewer.