logo separator

[mkgmap-dev] road_speed inside cities

From Carlos Dávila cdavilam at jemila.jazztel.es on Tue Apr 28 19:55:17 BST 2009

Torsten Leistikow escribió:
> Carlos Dávila schrieb:
>   
>> Would it be possible to
>> tell mkgmap that highways other than residential but inside a place
>> polygon should have a lower road_speed?
>>     
>
> In my opinion the correct solution would be to incorporate the maxspeed
> tags into the styles. My personal line-style looks like:
>
> highway=primary & maxspeed>=50 [0x03 road_class=3 road_speed=2
> resolution 18]
>
> highway=primary & maxspeed<=70 [0x03 road_class=3 road_speed=3
> resolution 18]
>
> highway=primary [0x03 road_class=3 road_speed=5 resolution 18]
It can be a solution, the only problem is that there is a lot of ways
without maxspeed tag (at least in Spain). That's why I thought parsing
ways inside city polygons could be a good approach.
Regards
Carlos



More information about the mkgmap-dev mailing list