[Routing] Turn restrictions
Philip Homburg
pch-osm-routing at u-1.phicoh.com
Tue Aug 19 10:53:33 BST 2008
In your letter dated Mon, 18 Aug 2008 14:43:03 +0200 you wrote:
>On Mon, Aug 18, 2008 at 2:12 PM, Jens M=FCller <blog at tessarakt.de> wrote:
>> > This default can be added to the gosmore version of elemstyles.xml (as
>> > opposed to the JOSM version). By simply changing the speed of a cyclists
>> > on various highways the program will know that they prefer cycleways to
>> > residential roads to primary roads.
>>
>> They do?
>
>If all 3 are the same length and the decisions are made without other
>information (like height maps, cycling network references etc.), then
>yes.
After playing a bit with gosmore, I noticed two things related to restrictions:
- oneway streets are hardcoded not to apply to bikes. That generates strange
routes for divided highways. I thing that dropping the cycling speed to
walking speed is the way to go.
- In .nl you simply can't walk or bike on motorways or trunks, but I could not
figure out how to edit elemstyles.xml to make this happen. I have to admit
that the trunk route maybe have to been the only connection to the
destination. I have to experiment with that a bit more.
The svn version of gosmore.cpp I was playing with is r9774.
Feature request (I may add it myself when I have time): export computed
routes in GPX (or sometihng that can be converted to GPX).
More information about the Routing
mailing list