Changeset 6157 in josm for trunk/data


Ignore:
Timestamp:
2013-08-19T17:26:02+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8962 - Deprecate fence_type=chain + new validator tests for *_type tags without main tag

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6154 r6157  
    13031303            <key key="barrier" value="fence" />
    13041304            <optional>
    1305 <!--                <combo key="fence_type" text="Type" values="barbed_wire,chain_link,electric,roundpole,split_rail,wood" /> -->
    1306                 <combo key="fence_type" text="Type" values="barbed_wire,chain,electric,hedge,pole,split_rail,wood" />
     1305                <combo key="fence_type" text="Type" values="barbed_wire,chain_link,electric,metal,pole,split_rail,wire,wood" />
    13071306                <text key="height" text="Height (meters)" length="7" />
    13081307            </optional>
  • trunk/data/tagchecker.cfg

    r6141 r6157  
    146146*    : W : width                == * && highway != * && railway != * && waterway != * && aeroway != * && cycleway != * && footway != * && barrier != * && man_made != * # width without physical linear feature
    147147*    : W : maxspeed             == * && highway != * && railway != * && traffic_sign != /(.*;)?maxspeed(;.*)?/ && type != enforcement # maxspeed without highway/railway/traffic_sign
     148*    : W : fence_type           == * && barrier != fence                               # fence_type without barrier=fence
     149*    : W : border_type          == * && boundary != *                                  # border_type without boundary
     150*    : W : recycling_type       == * && amenity != recycling                           # recycling_type without amenity=recycling
     151*    : W : board_type           == * && information != board                           # board_type without information=board
     152*    : W : shelter_type         == * && amenity != shelter                             # shelter_type without amenity=shelter
     153*    : W : lamp_type            == * && highway != street_lamp                         # lamp_type without highway=street_lamp
     154*    : W : building_type        == * && building != *                                  # building_type without building
     155*    : W : map_type             == * && information != map                             # map_type without information=map
     156*    : W : site_type            == * && historic != archaeological_site                # site_type without historic=archaeological_site
     157*    : W : artwork_type         == * && tourism != artwork                             # artwork_type without tourism=artwork
     158*    : W : castle_type          == * && historic != castle                             # castle_type without historic=castle
     159*    : W : reservoir_type       == * && landuse != reservoir && water != reservoir     # reservoir_type without landuse/water=reservoir
     160*    : W : bunker_type          == * && military != bunker                             # bunker_type without military=bunker
    148161
    149162################################
Note: See TracChangeset for help on using the changeset viewer.