Changeset 8023 in josm


Ignore:
Timestamp:
2015-02-09T14:35:53+01:00 (10 years ago)
Author:
Klumbumbus
Message:

fix #11070 - remove "unknown" as value in presets, raise validator message to warning level

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8022 r8023  
    934934                <reference ref="surface" />
    935935                <reference ref="highway_yesno_incline_oneway_lit_width" />
    936                 <combo key="foot" text="Pedestrians" values="unknown,yes,no" />
     936                <combo key="foot" text="Pedestrians" values="yes,no" />
    937937            </optional>
    938938        </item> <!-- Dedicated Cycleway -->
     
    10851085            <key key="highway" value="traffic_signals" />
    10861086            <optional text="Optional crossing attributes:">
    1087                 <combo key="crossing" text="Pedestrian crossing type" values="uncontrolled,traffic_signals,island,unmarked,no,unknown" />
     1087                <combo key="crossing" text="Pedestrian crossing type" values="uncontrolled,traffic_signals,island,unmarked,no" />
    10881088                <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" />
    10891089                <check key="button_operated" text="Button operated" />
     
    11391139            <space />
    11401140            <key key="highway" value="crossing" />
    1141             <combo key="crossing" text="Pedestrian crossing type" values="uncontrolled,traffic_signals,island,unmarked,no,unknown" />
     1141            <combo key="crossing" text="Pedestrian crossing type" values="uncontrolled,traffic_signals,island,unmarked,no" />
    11421142            <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" values_searchable="true" />
    11431143            <combo key="supervised" text="Crossing attendant" delimiter="|" values="yes|no|06:00-20:00|Mo-Fr 09:00-18:00,Sa 08:00-14:00|May-Sep 09:30-12:30,14:15-19:30" />
     
    21972197            <key key="railway" value="crossing" />
    21982198            <optional>
    2199                 <combo key="crossing" text="Crossing type" values="uncontrolled,traffic_signals,island,unmarked,no,unknown" />
     2199                <combo key="crossing" text="Crossing type" values="uncontrolled,traffic_signals,island,unmarked,no" />
    22002200                <reference ref="supervised" />
    22012201                <check key="horse" text="Cross on horseback" />
     
    23512351            <reference ref="parking_access_fee_operator_surface" />
    23522352            <text key="capacity" text="Capacity (overall)" />
    2353             <combo key="capacity:disabled" text="Spaces for Disabled" values="yes,no,unknown,1,2,3" />
    2354             <combo key="capacity:women" text="Spaces for Women" values="yes,no,unknown,1,2,3" />
    2355             <combo key="capacity:parent" text="Spaces for Parents" values="yes,no,unknown,1,2,3" />
     2353            <combo key="capacity:disabled" text="Spaces for Disabled" values="yes,no,1,2,3" />
     2354            <combo key="capacity:women" text="Spaces for Women" values="yes,no,1,2,3" />
     2355            <combo key="capacity:parent" text="Spaces for Parents" values="yes,no,1,2,3" />
    23562356            <label text="See the Wiki for other capacity:[types]=*." />
    23572357            <space />
     
    35783578            <key key="leisure" value="sauna" />
    35793579            <reference ref="name_operator_oh_wheelchair" />
    3580             <combo key="access" text="Access" values="yes,permissive,private,unknown" />
     3580            <combo key="access" text="Access" values="yes,permissive,private" />
    35813581            <space />
    35823582            <reference ref="contact" />
     
    44604460            <key key="amenity" value="hunting_stand" />
    44614461            <combo key="height" text="Height" values="low,half,full,5,10,15,20" values_context="height" />
    4462             <combo key="shelter" text="Shelter" values="yes,no,unknown" />
    4463             <combo key="hide" text="Hide" values="yes,no,unknown" />
    4464             <combo key="lock" text="Lock" values="yes,no,unknown" />
     4462            <combo key="shelter" text="Shelter" values="yes,no" />
     4463            <combo key="hide" text="Hide" values="yes,no" />
     4464            <combo key="lock" text="Lock" values="yes,no" />
    44654465        </item> <!-- Hunting Stand -->
    44664466        <separator/>
  • trunk/data/validator/deprecated.mapcss

    r8008 r8023  
    390390*[crossing=unknown],
    391391*[foot=unknown] {
    392   throwOther: tr("Unspecific tag {0}", "{0.tag}");
    393 }
     392  throwWarning: tr("Unspecific tag {0}", "{0.tag}");
     393}
Note: See TracChangeset for help on using the changeset viewer.