logo separator

[mkgmap-dev] mkgmap and bicycle routing

From Thorsten Kukuk kukuk at suse.de on Mon Nov 7 08:50:13 GMT 2011

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)



More information about the mkgmap-dev mailing list