On Sun, Nov 06, Marko Mäkelä wrote:

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

Here is the one liner which fixes all of my routing problems
I was aware of. I still think we should apply it, since we
check already for 3 out of 4 cases and handling this in the
style file for all cases is pretty complex if next to impossible.

--- src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java
+++ src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java     2011/11/06 
10:50:45
@@ -1806,7 +1806,8 @@
 
                return (val.equalsIgnoreCase("yes") ||
                        val.equalsIgnoreCase("designated") ||
-                       val.equalsIgnoreCase("permissive"));
+                       val.equalsIgnoreCase("permissive") ||
+                       val.equalsIgnoreCase("official"));
        }
 
        protected boolean accessExplicitlyDenied(String val) {


-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to