Changeset 14798 in josm


Ignore:
Timestamp:
2019-02-22T23:02:35+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #17371 - add combination checks based off KeepRight and Osmose (patch by abalosc1, modified)

File:
1 edited

Legend:

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

    r14735 r14798  
    4242*[border_type                  ][!boundary],
    4343*[piste:difficulty             ][!piste:type],
     44*[place                        ][!name],
    4445*[source:date                  ][!source],
    4546*[source:name                  ][!name],
     
    118119/* {0.tag} without {1.key} (warning level) */
    119120node[emergency=fire_hydrant][!fire_hydrant:type],
    120 way[boundary=administrative][!admin_level],
     121way     [boundary=administrative][!admin_level],
    121122relation[boundary=administrative][!admin_level],
    122 relation[route=bicycle][!network][type=route],
    123 relation[route=hiking][!network][type=route],
    124 relation[route=foot][!network][type=route],
    125 relation[route=horse][!network][type=route],
     123relation[route=bicycle ][!network][type=route],
     124relation[route=hiking  ][!network][type=route],
     125relation[route=foot    ][!network][type=route],
     126relation[route=horse   ][!network][type=route],
    126127relation[route=piste][!piste:type][type=route],
    127 relation[route=ski][!piste:type][type=route],
     128relation[route=ski  ][!piste:type][type=route],
    128129*[tourism=information][!information],
    129130*[leisure=pitch][!sport],
    130131*[aeroway=terminal][!building],
    131132*[power=generator][!generator:source],
     133*[amenity=bank     ][!operator],
     134*[amenity=cafe     ][!operator],
     135*[amenity=cinema   ][!operator],
     136*[amenity=fast_food][!operator],
     137*[amenity=fuel     ][!operator],
     138*[amenity=pharmacy ][!operator],
     139*[mountain_pass=yes][!ele],
     140*[natural=peak     ][!ele],
    132141*[amenity=social_facility][!social_facility],
     142*[amenity=place_of_worship][!denomination],
    133143*[amenity=place_of_worship][!religion] {
    134144  throwWarning: tr("{0} without {1}", "{0.tag}", "{1.key}");
     
    352362}
    353363
    354 node[amenity][amenity =~ /^(restaurant|cafe|fast_food)$/][!name][noname!=yes] {
     364*[amenity][amenity =~ /^(restaurant|cafe|fast_food|pub|place_of_worship|school|university|hospital|library|theatre|courthouse|bank|cinema|pharmacy|fuel)$/][!name][noname!=yes] {
    355365  throwOther: tr("{0} without {1}", "{0.tag}", "{2.key}");
    356366  group: tr("missing tag");
Note: See TracChangeset for help on using the changeset viewer.