Thanks Bernhard

Gerd - I've attached a modified patch that disables maxspeed:practical
and adds a comment about unlimitied

Ticker


Index: resources/styles/default/inc/roadspeed
===================================================================
--- resources/styles/default/inc/roadspeed	(revision 4562)
+++ resources/styles/default/inc/roadspeed	(working copy)
@@ -14,6 +14,11 @@
 #  0         |  3 mph /   5 km/h
 #
 
+maxspeed:advisory=* {set maxspeed='${maxspeed:advisory}'}
+#maxspeed:practial=* {set maxspeed='${maxspeed:practial}'}
+# maxspeed:practial is disabled here in the default style because verifiability of it is disputed.
+# see: https://wiki.openstreetmap.org/wiki/Key:maxspeed:practical
+
 maxspeed=walk                   { set maxspeed=10 }
 maxspeed~'.*:living_street'     { set maxspeed=10 }
 
@@ -40,3 +45,9 @@
 maxspeed=* & mkgmap:road-speed-max!=* & maxspeedkmh() <= 120 { set mkgmap:road-speed-max = 6 }
 # mkgmap:road-speed-max = 7 has no effect 
 #maxspeed=* & mkgmap:road-speed-max!=* { set mkgmap:road-speed-max = 7 }
+
+# Experiments with Garmin devices have deduced 7/unlimited speed to be device dependent; values of 112 &
+# 132 km/h (70, 82 mph) seen: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2014q3/021620.html
+# The following rule limits it for all countries except Germany. A few other roads elsewhere are unlimited
+# and they would be expected to have a maxspeed:* tag that will override this.
+highway=motorway & maxspeed!=* & mkgmap:road-speed-max!=* & mkgmap:country!=DEU {set mkgmap:road-speed-max=6}
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to