On Mon, Aug 10, 2020 at 03:29:40PM +0200, Florian Lohoff wrote:
>Hi Greg,
>
>On Mon, Aug 10, 2020 at 09:01:26AM -0400, Greg Troxel wrote:
>> Florian Lohoff <
f...@zz.de> writes:
>>
>> > But still using a rail should be an option to select for the routing
>> > profile not just assume that aunt tilly can carry her 30kg ebike up
>> > steep steps on a rail.
>>
>> There's another issue which is that a "30 kg ebike" is not necessarily a
>> "bicycle" depending on where you are. But there's alawys more
>> complexity in routing lurking.
>
>This is why i say steps should be avoided completely and be made
>passable by flag e.g.
>
> "If it has a rail"
> "If less than 5 steps or 2meters"
> "Never"
OSM has tags for both number of steps (step_count tag) and handrails
(handrail:*).
But, usage is slim.
Checking taginfo:
https://taginfo.openstreetmap.org/
There are:
1,086,587 highway=steps tags in OSM (and this is very likely only a
small percentage of the actual physical steps across the world).
But there are only:
95,901 step_count tags (8.83% of the highway=steps tags)
85,737 handrail tags
18,175 handrail:left tags
18,127 handrail:right tags
4,703 handrail:center tags
131 handrail:both tags
Or a total of 126,873 handrail tags (11.68% of highway=steps tags)
So while a selector flag in OsmAnd for "use if rail exists" and/or use
if "number of steps less than X" are indeed useful, there is little
data in OSM yet to allow these flags to function at the moment. So a
first order of business would be to add steps tags to OSM, and to
further add the steps_count and handrail:* tags to provide the
necessary data for the selector flags to operate upon.