[mkgmap-dev] maxspeed=none
From Thorsten Kukuk kukuk at suse.de on Thu Jan 23 09:59:03 GMT 2014
On Thu, Jan 23, chris66 wrote: > Am 22.01.2014 21:28, schrieb Thorsten Kukuk: > > > When debugging this I found out that there are a lot of > > "maxspeed=none" tags at least in my area, which leads to a > > set mkgmap:road-speed-class = 0, which is of course really slow. > > Are you using the default-style-rules? Not per default, but I use it sometimes to compare the results and inc/roadspeed is from the default mkgmap style: maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 110 { set mkgmap:road-speed-class = 7 } maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 90 { set mkgmap:road-speed-class = 6 } maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 80 { set mkgmap:road-speed-class = 5 } maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 60 { set mkgmap:road-speed-class = 4 } maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 40 { set mkgmap:road-speed-class = 3 } maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 20 { set mkgmap:road-speed-class = 2 } # change class 1 to 10 km/h which is not correct but better handles living_streets with maxspeed=7 maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() > 10 { set mkgmap:road-speed-class = 1 } maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh()=* { set mkgmap:road-speed-class = 0 } And if I understand this correct, everything not numeric will map to mkgmap:road-speed-class = 0. Which is Ok for maxspeed=walk, but not maxspeed=none. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
- Previous message: [mkgmap-dev] maxspeed=none
- Next message: [mkgmap-dev] maxspeed=none
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list