logo separator

[mkgmap-dev] turn restrictions

From Robert Vollmert rvollmert-lists at gmx.net on Fri Feb 13 19:44:53 GMT 2009

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




More information about the mkgmap-dev mailing list