Changeset 6537 in josm for trunk/data/validator


Ignore:
Timestamp:
2013-12-26T13:35:27+01:00 (11 years ago)
Author:
simon04
Message:

see #9414 - migrate relation and religion tagchecks to MapCSS, add more "X relation without tag X" checks

Location:
trunk/data/validator
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/tagchecker.cfg

    r6532 r6537  
    4646#way  : W : oneway != BOOLEAN_FALSE && /.*:(backward|forward)/ == *    # oneway combined with *:backward/forward
    4747
    48 relation : E : type != *                                       # relation without type
    49 
    5048node : I : amenity == /restaurant|cafe|fast_food/ && name != * # restaurant without name
    5149#way  : I : highway != * && railway != * && waterway != * && name == * # unusual named way type
     
    6260
    6361*    : W : /\d+/ == *                                          # numerical key
    64 
    65 # see #9071
    66 relation : W : type == route_master && route_master != *       # route_master relation without route_master=*
    6762
    6863# power related stuff (incomplete)
     
    177172
    178173
    179 ################################
    180 # Religion / Denomination tests
    181 ################################
    182 
    183 * : I : religion == /christian|jewish|muslim/ && denomination != * # religion without denomination
    184 * : I : religion == christian && denomination == * && denomination != /anglican|apostolic|baptist|catholic|christian_community|christian_scientist|coptic_orthodox|czechoslovak_hussite|dutch_reformed|evangelical|foursquare|greek_catholic|greek_orthodox|jehovahs_witness|kabbalah|karaite|living_waters_church|lutheran|maronite|mennonite|methodist|mormon|new_apostolic|nondenominational|old_catholic|orthodox|pentecostal|presbyterian|protestant|quaker|roman_catholic|russian_orthodox|salvation_army|serbian_orthodox|seventh_day_adventist|united|united_reformed|uniting/  # unknown christian denomination
    185 * : I : religion == muslim && denomination == * && denomination != /alaouite|druze|ibadi|ismaili|nondenominational|shia|sunni/ # unknown muslim denomination
    186 * : I : religion == jewish && denomination == * && denomination != /alternative|ashkenazi|conservative|hasidic|humanistic|liberal|modern_orthodox|neo_orthodox|nondenominational|orthodox|progressive|reconstructionist|reform|renewal|samaritan|ultra_orthodox/ # unknown jewish denomination
    187 
    188174#####################################
    189175# validation for the wikipedia=* tag
Note: See TracChangeset for help on using the changeset viewer.