
13 Feb
2009
13 Feb
'09
7:44 p.m.
On Feb 13, 2009, at 19:31, Mark Burton wrote:
I don't think anybody has claimed support for turn restrictions in mkgmap. There's code in that should write restriction data, but at the moment neither the polish nor the osm data source make use of it.
OK, I am happy to look into supporting turn restrictions - briefly, what's involved?
All you should have to do is create imgfmt.app.net.RouteRestriction- objects for each turn restriction, and add them to the via-node with RouteNode.addRestriction. However, the code is entirely untested, so there's probably some debugging left to do. Cheers Robert