
On Wed, Aug 26, 2009 at 04:37:37PM +0100, MarkS wrote:
Here is a possible patch for maxspeed.
Around here lots of roads have been tagged with their speed limit (which is 60mph). However, these are unclassified roads and you are unlikely to get above 40mph. At the moment the default behaviour of mkgmap is set overide the style file for these roads and set the road class appropriate to 60mph, which is too fast.
I could turn on ignore-maxspeeds which would fix these roads but in turn that would result in the trunk roads in town getting too high a speed.
The patch attempts to overcome this by offerring an extra option for ignore-maxspeed, so the options become
Wouldnt it make sense to make it possible to apply factors based on road class to the maxspeed setting? e.g unclassified -> maxspeed*0.6 tertiary -> maxspeed*0.8 OTOH this should all be the responsibility of the routing engine and at the moment as i understand we abuse the maxspeed (OSM) to set an "average speed" in the Garmin dataset - not something like a speed limit which is obviously broken anyway and just some idea to make use of the maxspeed ... Flo -- Florian Lohoff flo@rfc822.org "Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat im Internet Zensur- und Überwachungsabsichten zu unterstellen." - - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin