Currently, gosmore encode access rights to a road using one bit per supported
vehicle type, and two additional bits for oneway and roundabout.

I'd like to propose changing this to two bits per vehicle type, one for the
forward direction and one for the reverse (backwards) direction and 
dropping the oneway bit (I'm not sure about what the roundabout bit does).

At the moment, gosmore doesn't seem to support oneway=-1, but that can be
handle with the current encoding scheme by reversing the way internally.
Gosmore 'handles' the various forms of  cycleway=opposite{,_lane,_track} by
simply ignoring oneway for bicycles.

In Amsterdam, many oneway signs have an additional sign to exempts bicycles and
mopeds. Worse are roads that just have a 'no entrence for motorcars' sign on
one side of the street. I'd like to modify gosmore to properly route over
such streets for all vehicle types. 

Changing to this encoding is IMHO the easiest way to move forward. An
alternative would be to use access restrictions.

I'd like to make this change, whenever I have time to actually do it. Unless
somebody thinks that this is a really bad thing to do.



_______________________________________________
Routing mailing list
Routing@openstreetmap.org
http://lists.openstreetmap.org/listinfo/routing

Reply via email to