Changeset 17448 in josm for trunk


Ignore:
Timestamp:
2021-01-08T18:45:56+01:00 (3 years ago)
Author:
Klumbumbus
Message:

Avoid some false positive combination warnings with place=plot, see https://github.com/osm-fr/osmose-backend/issues/1088

File:
1 edited

Legend:

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

    r17441 r17448  
    4444*[border_type                  ][!boundary],
    4545*[piste:difficulty             ][!piste:type],
    46 *[place                        ][!name][place!=islet][noname!=yes],
     46*[place                        ][!name][place!=islet][place!=plot][noname!=yes],
    4747*[transformer                  ][!power],
    4848*[source:date                  ][!source],
     
    375375
    376376/* #9811, #11491, #12865, #14310 */
    377 *[place][place!=farm][/^(addr:housenumber|addr:housename|addr:flats|addr:conscriptionnumber|addr:street|addr:place|addr:city|addr:country|addr:full|addr:hamlet|addr:suburb|addr:subdistrict|addr:district|addr:province|addr:state|addr:interpolation|addr:interpolation|addr:inclusion)$/],
     377*[place][place!=farm][place!=plot][/^(addr:housenumber|addr:housename|addr:flats|addr:conscriptionnumber|addr:street|addr:place|addr:city|addr:country|addr:full|addr:hamlet|addr:suburb|addr:subdistrict|addr:district|addr:province|addr:state|addr:interpolation|addr:interpolation|addr:inclusion)$/],
    378378/* addr:postcode is used together with place in some countries */
    379379*[boundary][/^addr:/],
     
    624624  set part_of_building_MP;
    625625}
    626 way["addr:housenumber"][!building][!"building:part"][!"demolished:building"][!note][!amenity][!leisure][!landuse][!man_made][!tourism][!barrier]!.part_of_building_MP {
     626way["addr:housenumber"][!building][!"building:part"][!"demolished:building"][!note][!amenity][!leisure][!landuse][!man_made][!tourism][!barrier][place!=plot]!.part_of_building_MP {
    627627  /* don't exclude shop because a lot of real missing bulding tag cases have a shop tag. */
    628628  throwOther: tr("possibly missing {0} tag", "{1.key}");
Note: See TracChangeset for help on using the changeset viewer.