logo separator

[mkgmap-dev] road_speed inside cities

From Carlos Dávila cdavilam at jemila.jazztel.es on Tue Apr 28 23:03:15 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]
I'm trying to use your solution, but after including the line below I
get an error:
+highway=primary & maxspeed<=50 [0x02 road_class=3 road_speed=3
resolution 19]
highway=primary [0x02 road_class=3 road_speed=4 resolution 19]

--list-styles output the following error:
java -jar mkgmap.jar --list-styles
The following styles are available:
Error in style: Error: (lines:28): Invalid rule file (expr &)

What am I doing wrong?
Regards
Carlos



More information about the mkgmap-dev mailing list