Version mkgmap-r4520 was committed by gerd on Sun, 07 Jun 2020

Implement new style function is_drive_on_left() 
The function can be used in points, lines and polygons.
The function returns "true" or "false". The return code depends on the 
information stored in the LocatorConfig.xml and on the iso code in the tag 
mkgmap:admin_level2. If the latter is not set the function tries the value in 
mkgmap:country. 
If both are not set the function returns false. 
If the iso code is not found in LocatorConfig.xml the function returns false.
If the iso code is found and the driveOnLeft attribute is not set in 
LocatorConfig.xml the function returns false.
If (and only if) the iso code is found and the driveOnLeft attribute is set in 
LocatorConfig.xml the function returns true.


http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4520
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to