Modify

Opened 5 years ago

Closed 4 years ago

#17960 closed enhancement (duplicate)

Extend access preset

Reported by: ma-rt-in Owned by: team
Priority: normal Milestone:
Component: Internal preset Version: latest
Keywords: access Cc:

Description

Hello,
I would like to see more subkeys for access or more values implied.

Installation of the following key values combination:
foot=use_sidepath
bus=designated
horse=dismount
bicyle=dismount
*=forestry
trailer=*
bdouble=*
hazmat=*

https://wiki.openstreetmap.org/wiki/DE:Key:access

Attachments (0)

Change History (14)

comment:1 by naoliv, 5 years ago

Isn't use_sidepath related only to bicycle?

"Can only be used in countries with compulsory cycleways and gives access information on parallel roads. See bicycle=use_sidepath." (from the access wiki)

Won't it be strange to allow forestry for everything? bicycle=forestry :-)
The current preset allows forestry for access, vehicle, motor_vehicle, motorcycle, motorcar, goods and hgv.

For the rest maybe this should fix it:

  • data/defaultpresets.xml

    $ svn diff 
     
    858858            <label text="Transport mode restrictions" />
    859859            <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" match="key" values_searchable="true" />
    860860            <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,private,no" match="key" />
    861             <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,private,no" match="key" />
     861            <combo key="horse" text="Horse" values="yes,official,designated,permissive,destination,delivery,dismount,private,no" match="key" />
    862862            <space />
    863863            <label text="Vehicles per type" />
    864864            <combo key="vehicle" text="All vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    865             <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,private,use_sidepath,no" match="key" />
     865            <combo key="bicycle" text="Bicycle" values="yes,official,designated,permissive,destination,delivery,dismount,private,use_sidepath,no" match="key" />
    866866            <combo key="motor_vehicle" text="Motor vehicles" values="yes,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    867867            <combo key="motorcycle" text="Motorcycle" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    868868            <combo key="motorcar" text="Motorcar" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
     869            <combo key="trailer" text="Trailer towed by another vehicle" values="yes,official,designated,destination,delivery,permissive,private,no" match="key" />
    869870            <combo key="goods" text="Light Commercial Vehicles (goods)" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    870871            <combo key="hgv" text="Heavy Goods Vehicles (hgv)" values="yes,official,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
     872            <combo key="bdouble" text="B-train/B-double" values="yes,designated,destination,delivery,permissive,private,agricultural,forestry,no" match="key" />
    871873            <combo key="agricultural" text="Agricultural Vehicles (with restrictions e.g. max. 25 km/h)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    872874            <combo key="4wd_only" text="4WD only" values="yes,recommended,no" match="key" />
    873875            <space />
     
    875877            <combo key="emergency" text="Emergency vehicles" values="yes,official,designated,destination,no" match="keyvalue" />
    876878            <combo key="hov" text="High-occupancy vehicles (hov)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    877879            <combo key="psv" text="Public Service Vehicles (psv)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    878             <combo key="tourist_bus" text="Tourist buses" values="yes,no" match="key" />
     880            <combo key="bus" text="Bus acting as a public service vehicle" values="yes,designated,no" match="key" />
     881            <combo key="tourist_bus" text="Tourist buses" values="yes,designated,no" match="key" />
     882            <combo key="taxi" text="Taxi" values="yes,designated,destination,no" match="key" />
     883            <combo key="hazmat" text="Motor vehicles carrying hazardous materials" values="yes,designated,destination,no" match="key" />
    879884            <space />
    880885            <text key="maxspeed" text="Max. speed (km/h)" />
    881886            <text key="maxspeed:forward" text="Max. speed in way direction" />
     
    10291034                <reference ref="name_layer" />
    10301035                <reference ref="surface_smoothness" />
    10311036                <reference ref="highway_yesno_incline_oneway_lit_width" />
    1032                 <combo key="bicycle" text="Bicycle" values="yes,no,designated" />
     1037                <combo key="bicycle" text="Bicycle" values="yes,no,designated,dismount" />
    10331038            </optional>
    10341039        </item> <!-- Dedicated Footway -->
    10351040        <item name="Steps" icon="presets/transport/way/steps.svg" type="way" preset_name_label="true">

And this dialog is getting big! :-)
https://i.imgur.com/LNM7LhG.png

comment:2 by ma-rt-in, 5 years ago

"use_sidepath" can certainly apply to riders, as well as pedestrians. In Germany, as an example, a pedestrian must use a path that is intended for him.

Concerning. forestry: Ok it does not have to be for cyclists.
But you could then but please enable the key: vehicle for forestry and agricultural

in reply to:  2 comment:3 by naoliv, 5 years ago

Replying to ma-rt-in:

But you could then but please enable the key: vehicle for forestry and agricultural

Do you mean to be able to select vehicle=forestry/vehicle=agricultural (this is already possible) or to select forestry=*/agricultural=*? (agricultural=* is also present in the current preset)

Last edited 5 years ago by naoliv (previous) (diff)

comment:4 by ma-rt-in, 5 years ago

I mean vehicle=forestry / vehicle=agricultural

comment:5 by naoliv, 5 years ago

Right.
The All vehicles option is the one that will set vehicle (from PresetsHighwaysStreetsRoad restrictions)

https://i.imgur.com/oXqObST.png

Or you are using another preset?

comment:6 by ma-rt-in, 5 years ago

Yes, that works too. But what I've tested again is that forestry = yes is not recognized. That should be but in my opinion, because thus in Germany at least traffic signs 1026-37 can be displayed. This already works for agricultural = yes.

comment:7 by Klumbumbus, 5 years ago

Summary: Update accessExtend access preset

comment:8 by skyper, 5 years ago

psv=* is missing, too.

in reply to:  6 comment:9 by skyper, 4 years ago

Replying to ma-rt-in:

Yes, that works too. But what I've tested again is that forestry = yes is not recognized. That should be but in my opinion, because thus in Germany at least traffic signs 1026-37 can be displayed. This already works for agricultural = yes.

agricultural=* is a vehicle type with special conditions, like low maxspeed but is allowed to create trains with more than one trailer. Do not confuse it with *=agricultural/forestry.
In you example, above, it is just wrong and you need agricultural as value not as key.

in reply to:  1 ; comment:10 by skyper, 4 years ago

Replying to naoliv:


Won't it be strange to allow forestry for everything? bicycle=forestry :-)
The current preset allows forestry for access, vehicle, motor_vehicle, motorcycle, motorcar, goods and hgv.

Why is foot=forestry or horse=agricultural not a possible access tag? bicycle=forestry is probably the least common case as access or vehicle is enough but it is possible in reality, so why not offering it.

Most of the issues should be covered in #18698 and I could include the missing *=forestry/agricultural.

in reply to:  10 comment:11 by skyper, 4 years ago

Replying to skyper:

Replying to naoliv:


Won't it be strange to allow forestry for everything? bicycle=forestry :-)
The current preset allows forestry for access, vehicle, motor_vehicle, motorcycle, motorcar, goods and hgv.

Why is foot=forestry or horse=agricultural not a possible access tag? bicycle=forestry is probably the least common case as access or vehicle is enough but it is possible in reality, so why not offering it.

Most of the issues should be covered in #18698 and I could include the missing *=forestry/agricultural.

Should we add the missing access values for foot horse and bicycle or leave it as it is?

comment:12 by Klumbumbus, 4 years ago

I wouldn't add them there are only a handful so far and from these there are much likely a lot / most (?) tagged wrong.

in reply to:  12 comment:13 by skyper, 4 years ago

Replying to Klumbumbus:

I wouldn't add them there are only a handful so far and from these there are much likely a lot / most (?) tagged wrong.

Then this was fixed with #18698.

comment:14 by Klumbumbus, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #18698.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.