azzazello / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Bicycle routing on footways / steps #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Christian,

I want to add the "footway" highway type
to the default bicycle speed profile.

Adding a new highway type to a speed profile is easy.
The special case for the "footway" or "steps" highway is
to only allow routing if we have a designated access ("bicycle=X") tag.

If the tag is not present, we should not allow routing there.

Current idea:
Extend the "highway" section in the speed profile with a new bool switch:
highway.X.needsExplicitAccess=true

Default value for needsExplicitAccess is false.

If we don't find the a designated access tag on the way 
("bicycle=yes|no|designated|and-so-on"), we deny access for this way.

If you are ok with this, I can implement it.

Other ideas? If possible I'd like to avoid knowledge
in the code if this is currently a bicycle profile or not ;)

Cheers,
Thomas

Original issue reported on code.google.com by t...@simonv.com on 11 Jun 2013 at 10:27