logo separator

[mkgmap-dev] mkgmap and bicycle routing

From Marko Mäkelä marko.makela at iki.fi on Sun Nov 6 19:26:56 GMT 2011

On Sun, Nov 06, 2011 at 11:52:47AM +0100, Thorsten Kukuk wrote:
>It cannot be the GPS firmware, but I think it is a mkgmap bug:
>
>>From ./src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java:
>        protected boolean accessExplicitlyAllowed(String val) {
>                if (val == null)
>                        return false;
>
>                return (val.equalsIgnoreCase("yes") ||
>                        val.equalsIgnoreCase("designated") ||
>                        val.equalsIgnoreCase("permissive"));
>        }
>
>mkgmap does not know about "official", but as far as I understand 
>http://wiki.openstreetmap.org/wiki/Tag:access%3Dofficial we should 
>handle it in the same way as "yes".

Thank you for the analysis!

>I will try now a patched mkgmap. But as workaround setting 
>bicycle=official to bicycle=yes in the style file should fix the 
>routing problems, too.

I can commit the fix (adding "official" to the above tags), once you 
have verified it.

	Marko



More information about the mkgmap-dev mailing list