Commit: r1419: Added support for "carpool lanes".

Version 1419 was commited by markb on 2009-12-07 15:53:31 +0000 (Mon, 07 Dec 2009) Added support for "carpool lanes". Any way can now be flagged as a "carpool lane" by giving it a carpool tag (e.g. carpool=yes). If the GPS is set to avoid carpool lanes, the way should only be routed through if the vehicle type is emergency or bus. If the GPS is not set to avoid carpool lanes, the way will be used by any vehicle type. Note that the normal access tags (e.g. motorcar=no) cannot be used at the same time as carpool=yes and they will be ignored.

On 07/12/09 15:53, svn commit wrote:
Version 1419 was commited by markb on 2009-12-07 15:53:31 +0000 (Mon, 07 Dec 2009)
Added support for "carpool lanes".
I believe that this change breaks setting access codes in MP files. The ACCESS array in RoadDef is used to decode the RouteParams to the bits required. As carpool is not one of the access bits in RouteParam then I don't think it should be in there. I don't see any place where you can set carpool in the mp format after a quick glance at the manual. ..Steve

On Tue, 08 Dec 2009 23:54:15 +0000 Steve Ratcliffe <steve@parabola.me.uk> wrote:
On 07/12/09 15:53, svn commit wrote:
Version 1419 was commited by markb on 2009-12-07 15:53:31 +0000 (Mon, 07 Dec 2009)
Added support for "carpool lanes".
I believe that this change breaks setting access codes in MP files.
The ACCESS array in RoadDef is used to decode the RouteParams to the bits required. As carpool is not one of the access bits in RouteParam then I don't think it should be in there.
I don't see any place where you can set carpool in the mp format after a quick glance at the manual.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
I guess that the line with 0x0008 should be at the end of the array and the value of NO_CARPOOL changed accordingly (along with the other values that need to be reduced by so that they are their original values. Mark
participants (4)
-
Johann Gail
-
Mark Burton
-
Steve Ratcliffe
-
svn commit