Hello Philip,
I've changed gosmore drastically since you wrote this. I created a function
Osm2Gosmore() that does most of the rebuild time handling of tags, like
changing the bits you mentioned below.
I haven't dropped the oneway bit, but I gave bicycles their own oneway bit.
It is set for all oneways except when cycleway=opposite*
I also added code for the dismounting code. Basically it says that a cyclist
can go anywhere a pedestrian does except through barriers, like gates.
Barriers are configured with the {foot,bicycle,...}=... tags. There is a
penalty for dismounting, but it may need to be fine tuned. Stairs need some
though because some people will carry their bicycles up stairs if it's
faster.
oneway=-1 are now reversed during rebuild.
I also added penalties for crossing a bit road (e.g. primary) using a small
road (e.g. residential) and turning left (right) in right hand drive
countries (lhd). The constants may need work. It should help to route
vehicles around city centers.
Lambertus, the current cyclenet thing may not work anymore and will become
harder and harder to support. I suggest we drop it. From my little
experience it feels like cyclists who want to use cyclenetworks aren't too
obsessed with finding the fastest and safest route. They have extra
contraints that are hard to quantify, like weather or not they have cycled
there before and in that case a rendered map is better. Fortunately the new
Osm2Gosmore() function will be able to modify parameters when it sees an ncn
/ rcn or lcn tags.
I haven't tested the CGI interface recently. It may need some work.
Regards,
Nic
_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing