logo separator

[mkgmap-dev] [PATCH v2] Advanced restrictions

From Nakor nakor.osm at gmail.com on Fri May 14 12:24:34 BST 2010

On 5/14/2010 6:17 AM, Felix Hartmann wrote:
> I don't really understand/see the need for the patch yet.
> [...]


There is two different thing here.

The first thing (posted Wednesday night) is adding emergency and 
pedestrian turn exceptions. Disabling emergency and/or pedestrian 
systematically is two bits in an existing byte so it will not change the 
size. Disabling other types of vehicle on a systematic manner, would 
increase one byte per restriction. Depending on usage it can be 
interesting: I personally use my car map for short ped routing and would 
love to be able to disable turn restrictions in that case.

The second one (posted Thursday evening) is much more interesting and 
allows via ways in restrictions. Has I said yesterday there are some 
know issues mainly because I did not get the full extent of the NOD file 
encoding. One thing that I forgot yesterday is that the turn 
restrictions are duplicated for now. I guess some sort of logic would 
allow to keep only one version of each of such restrictions.

Regarding your suggestions of toll roads and others depending on vehicle 
type, I do not know if this is possible at this time.



More information about the mkgmap-dev mailing list