logo separator

[mkgmap-dev] road_speed inside cities

From Torsten Leistikow de_muur at gmx.de on Wed Apr 29 16:03:57 BST 2009

Carlos Dávila schrieb:
> 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?

I should have checked my style files before answering your question.

Instead of maxspeed<=50 you can use maxspeed<51. I expected the <=
operator to work as well, but this does not seem to be so.

Gruss
Torsten

PS: Would it be possible, to use for the style files a txt-extension?
Without any extension I have to select an application each time I try to
open/edit a style file.



More information about the mkgmap-dev mailing list