Changeset 16742 in josm


Ignore:
Timestamp:
2020-07-11T14:59:09+02:00 (4 weeks ago)
Author:
Klumbumbus
Message:

see #18698 - add more access tags (patch by skyper, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r16741 r16742  
    154154    </chunk>
    155155    <chunk id="wheelchair">
    156         <combo key="wheelchair" text="Wheelchairs" values="yes,limited,no" />
     156        <combo key="wheelchair" text="Wheelchairs" values="yes,designated,limited,no" values_sort="false" />
    157157    </chunk>
    158158    <chunk id="oh_wheelchair">
     
    223223    <chunk id="sport">
    224224        <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,fitness,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rowing,rugby_league,rugby_union,running,safety_training,shooting,skateboard,ice_skating,roller_skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />
     225    </chunk>
     226    <chunk id="highway_access">
     227        <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" values_sort="false" />
     228    </chunk>
     229    <chunk id="POI_access">
     230        <combo key="access" text="General Access" values="yes,private,customers,permissive,no" values_sort="false" />
     231    </chunk>
     232    <chunk id="path_access_modes">
     233        <combo key="ski" text="Ski" values="yes,official,designated,permissive,private,no" values_sort="false" />
     234        <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     235        <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,private,no" values_sort="false" match="key" />
     236        <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     237        <space />
     238        <label text="Tags which are implied and do not need to be set are `motor_vehicle=no` and `emergency=destination`." />
     239        <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     240        <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
    225241    </chunk>
    226242    <chunk id="fee">
     
    252268        <combo key="lit" text="Lit" 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" values_i18n="false" values_sort="false" />
    253269        <reference ref="oh" />
    254     </chunk>
    255     <chunk id="highway_access">
    256         <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" />
    257     </chunk>
    258     <chunk id="POI_access">
    259         <combo key="access" text="General Access" values="yes,private,customers,permissive,no" />
    260270    </chunk>
    261271    <chunk id="name_wikipedia">
     
    447457    <chunk id="water_access">
    448458        <optional text="Water access rules:">
    449             <combo key="ship" text="Ship" values="yes,designated,destination,delivery,permissive,private,no" />
    450             <combo key="boat" text="Boat" values="yes,designated,destination,delivery,permissive,private,no" />
    451             <combo key="motorboat" text="Motorboat" values="yes,designated,destination,delivery,permissive,private,no" />
    452             <combo key="canoe" text="Canoe" values="yes,designated,destination,delivery,permissive,private,no" />
     459            <combo key="ship" text="Ship" values="yes,designated,destination,delivery,permissive,private,no" values_sort="false" />
     460            <combo key="boat" text="Boat" values="yes,designated,destination,delivery,permissive,private,no" values_sort="false" />
     461            <combo key="motorboat" text="Motorboat" values="yes,designated,destination,delivery,permissive,private,no" values_sort="false" />
     462            <combo key="canoe" text="Canoe" values="yes,designated,destination,delivery,permissive,private,no" values_sort="false" />
    453463        </optional>
    454464    </chunk>
     
    799809            <text key="name" text="Name" />
    800810            <check key="noname" text="Street has no name" disable_off="true" />
    801             <combo key="vehicle" text="Vehicle access" values="yes,no,destination" default="no" />
     811            <combo key="vehicle" text="Vehicle access" values="yes,destination,no" values_sort="false" default="no" />
    802812            <text key="maxspeed" text="Max. speed (km/h)" default="30" />
    803813            <optional>
     
    933943            <space />
    934944            <label text="Transport mode restrictions" />
    935             <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" match="key" values_searchable="true" />
    936             <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,private,use_sidepath,no" match="key" />
    937             <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" match="key" />
     945            <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" values_searchable="true" values_sort="false" match="key" />
     946            <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,private,use_sidepath,no" values_sort="false" match="key" />
     947            <reference ref="wheelchair" />
     948            <combo key="ski" text="Ski" values="yes,official,designated,permissive,private,no" values_sort="false" />
     949            <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,private,no" values_sort="false" match="key" />
     950            <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" match="key" />
    938951            <space />
    939952            <label text="Vehicles per type" />
    940             <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    941             <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,private,use_sidepath,no" match="key" />
    942             <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    943             <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    944             <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    945             <combo key="goods" text="Light Commercial Vehicles (goods)" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    946             <combo key="hgv" text="Heavy Goods Vehicles (hgv)" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    947             <combo key="agricultural" text="Agricultural Vehicles (with restrictions e.g. max. 25 km/h)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    948             <combo key="4wd_only" text="4WD only" values="yes,recommended,no" match="key" />
     953            <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     954            <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,private,use_sidepath,no" values_sort="false" match="key" />
     955            <combo key="carriage" text="Carriage" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     956            <combo key="motor_vehicle" text="Motor vehicles" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     957            <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     958            <combo key="moped" text="Moped" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     959            <combo key="mofa" text="Mofa" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     960            <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     961            <combo key="goods" text="Light Commercial Vehicles (goods)" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     962            <combo key="hgv" text="Heavy Goods Vehicles (hgv)" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     963            <combo key="bdouble" text="B-double road train" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     964            <combo key="agricultural" text="Agricultural Vehicles (with restrictions e.g. max. 25 km/h)" values="yes,official,designated,destination,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     965            <combo key="4wd_only" text="4WD only" values="yes,recommended,no" values_sort="false" match="key" />
     966            <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     967            <combo key="golf_cart" text="Golf cart" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" match="key" />
    949968            <space />
    950969            <label text="Vehicles per use" />
    951             <combo key="emergency" text="Emergency vehicles" values="yes,official,designated,destination,no" match="keyvalue" />
    952             <combo key="hov" text="High-occupancy vehicles (hov)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    953             <combo key="psv" text="Public Service Vehicles (psv)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    954             <combo key="tourist_bus" text="Tourist buses" values="yes,no" match="key" />
     970            <combo key="emergency" text="Emergency vehicles" values="yes,official,designated,destination,no" values_sort="false" match="keyvalue" />
     971            <combo key="disabled" text="Disabled" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
     972            <combo key="hov" text="High-occupancy vehicles (hov)" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
     973            <combo key="psv" text="Public Service Vehicles (psv)" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
     974            <combo key="bus" text="Public Transportation Bus" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
     975            <combo key="taxi" text="Taxi" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
     976            <combo key="tourist_bus" text="Tourist buses" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
     977            <combo key="hazmat" text="Hazmat" values="yes,official,designated,destination,permissive,private,no" values_sort="false" match="key" />
    955978            <space />
    956979            <text key="maxspeed" text="Max. speed (km/h)" />
     
    965988            <text key="maxwidth" text="Max. width (meters)" match="key" />
    966989            <text key="maxlength" text="Max. length (meters)" match="key" />
    967             <combo key="overtaking" text="Overtaking" values="yes,both,forward,backward,no" values_context="overtaking" match="key" />
     990            <combo key="overtaking" text="Overtaking" values="yes,both,forward,backward,no" values_context="overtaking" values_sort="false" match="key" />
    968991        </item> <!-- Road Restrictions -->
    969992        <separator/>
     
    10071030                <combo key="mtb:scale" text="MTB Scale" values="0,1,2,3,4,5" />
    10081031                <reference ref="highway_access" />
    1009                 <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" />
    1010                 <combo key="motor_vehicle" text="Motor vehicles" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" />
    1011                 <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" />
    1012                 <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" />
    1013                 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" />
     1032                <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1033                <combo key="motor_vehicle" text="Motor vehicles" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1034                <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1035                <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1036                <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
    10141037            </optional>
    10151038            <preset_link preset_name="Road Restrictions" />
     
    10321055                <combo key="mtb:scale" text="MTB Scale" values="0,1,2,3,4,5" />
    10331056                <combo key="trail_visibility" text="Visibility" values="excellent,good,intermediate,bad,horrible,no" values_context="trail_visibility" values_sort="false" />
    1034                 <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,private,no" />
    1035                 <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,private,no" />
    1036                 <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" />
    1037                 <combo key="wheelchair" text="Wheelchairs" values="yes,designated,limited,no" />
    1038                 <combo key="ski" text="Ski" values="yes,official,designated,permissive,private,no" />
    1039                 <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,private,no" />
    10401057                <check key="segregated" text="Segregated" />
    1041             </optional>
     1058                <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1059                <reference ref="wheelchair" />
     1060                <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1061                <reference ref="path_access_modes" />
     1062            </optional>
     1063            <preset_link preset_name="Road Restrictions" />
    10421064        </item> <!-- Path -->
    10431065        <separator/>
     
    10501072                <reference ref="surface_smoothness" />
    10511073                <reference ref="highway_yesno_incline_oneway_lit_width" />
    1052             </optional>
     1074                <check key="segregated" text="Segregated" />
     1075                <space />
     1076                <label text="Depending on the country, several access tags are implied and do not need to be set." />
     1077                <label text="Globally, `horse=designated` and `motor_vehicle=no` are implied." />
     1078                <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1079                <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,private,no" values_sort="false" match="key" />
     1080                <combo key="horse" text="Horse" values="yes,permissive,destination,delivery,private,no" values_sort="false" />
     1081                <combo key="foot" text="Foot" values="yes,permissive,destination,delivery,private,no" values_sort="false" />
     1082                <reference ref="wheelchair" />
     1083                <combo key="bicycle" text="Bicycle" values="yes,permissive,destination,delivery,private,no" values_sort="false" />
     1084                <combo key="ski" text="Ski" values="yes,permissive,private,no" values_sort="false" />
     1085                <combo key="snowmobile" text="Snowmobile" values="yes,permissive,destination,delivery,private,no" values_sort="false" />
     1086                <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1087                <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     1088            </optional>
     1089            <preset_link preset_name="Road Restrictions" />
    10531090        </item> <!-- Dedicated Bridleway -->
    10541091        <item name="Cycle Lane/Track" icon="presets/transport/way/cycle_lane_track.svg" type="way,closedway" preset_name_label="true">
     
    10721109                <reference ref="surface_smoothness" />
    10731110                <reference ref="highway_yesno_incline_oneway_lit_width" />
    1074                 <combo key="foot" text="Pedestrians" values="yes,no,designated" />
    10751111                <check key="segregated" text="Segregated" />
    1076             </optional>
     1112                <space />
     1113                <label text="Depending on the country, several access tags are implied and do not need to be set." />
     1114                <label text="Globally, `bicycle=designated` is implied." />
     1115                <combo key="foot" text="Pedestrians" values="yes,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1116                <reference ref="wheelchair" />
     1117                <combo key="ski" text="Ski" values="yes,official,designated,permissive,private,no" values_sort="false" />
     1118                <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1119                <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,private,no" values_sort="false" match="key" />
     1120                <combo key="horse" text="Horse" values="yes,permissive,destination,delivery,private,no" values_sort="false" />
     1121                <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1122                <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     1123            </optional>
     1124            <preset_link preset_name="Road Restrictions" />
    10771125        </item> <!-- Dedicated Cycleway -->
    10781126        <item name="Segregated Foot- and Cycleway" icon="presets/transport/way/segregated_foot_cycleway.svg" type="way,closedway" preset_name_label="true">
     
    10861134                <reference ref="surface_smoothness" />
    10871135                <reference ref="highway_yesno_incline_oneway_lit_width" />
    1088             </optional>
     1136                <space />
     1137                <reference ref="wheelchair" />
     1138                <reference ref="path_access_modes" />
     1139            </optional>
     1140            <preset_link preset_name="Road Restrictions" />
    10891141        </item> <!-- Segregated Foot- and Cycleway -->
    10901142        <item name="Combined Foot- and Cycleway" icon="presets/transport/way/combined_foot_cycleway.svg" type="way,closedway" preset_name_label="true">
     
    10991151                <reference ref="highway_yesno_incline_oneway_lit_width" />
    11001152                <check key="passing_places" text="Passing Places" />
    1101             </optional>
     1153                <space />
     1154                <reference ref="wheelchair" />
     1155                <reference ref="path_access_modes" />
     1156            </optional>
     1157            <preset_link preset_name="Road Restrictions" />
    11021158        </item> <!-- Combined Foot- and Cycleway -->
    11031159        <item name="Dedicated Footway" icon="presets/transport/way/dedicated_footway.svg" type="way,closedway" preset_name_label="true">
     
    11091165                <reference ref="surface_smoothness" />
    11101166                <reference ref="highway_yesno_incline_oneway_lit_width" />
    1111                 <combo key="bicycle" text="Bicycle" values="yes,no,designated" />
    11121167                <check key="segregated" text="Segregated" />
    1113             </optional>
     1168                <reference ref="wheelchair" />
     1169                <space />
     1170                <label text="Depending on the country, several access tags are implied and do not need to be set." />
     1171                <label text="Globally, `foot=designated` is implied." />
     1172                <combo key="bicycle" text="Bicycle" values="yes,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1173                <combo key="ski" text="Ski" values="yes,official,designated,permissive,private,no" values_sort="false" />
     1174                <combo key="snowmobile" text="Snowmobile" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1175                <combo key="dog" text="Dog" values="yes,leashed,unleashed,official,designated,permissive,private,no" values_sort="false" match="key" />
     1176                <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" values_sort="false" />
     1177                <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" />
     1178                <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" values_sort="false" match="key" />
     1179            </optional>
     1180            <preset_link preset_name="Road Restrictions" />
    11141181        </item> <!-- Dedicated Footway -->
    11151182        <item name="Steps" icon="presets/transport/way/steps.svg" type="way" preset_name_label="true">
     
    43194386            <text key="operator" text="Operator" />
    43204387            <combo key="opening_hours" text="Throw in times" delimiter="|" values="24/7|Mo-Fr 06:30-12:30,15:30-20:00; Sa 08:00-12:00; PH off" values_no_i18n="true" />
    4321             <combo key="wheelchair" text="Wheelchairs" values="yes,limited,no" />
     4388            <reference ref="wheelchair" />
    43224389            <space />
    43234390            <checkgroup columns="4">
Note: See TracChangeset for help on using the changeset viewer.