logo separator

[mkgmap-dev] error with overlays stylefile

From Charlie Ferrero charlie at cferrero.net on Mon Jun 21 05:19:51 BST 2010

On 20/06/2010 23:04, aighes wrote:
>
> Hello,
> I have a problem with overlays style file. I want to show an overlay for
> raods with cobblestones.
>
> In lines file I wrote:
> highway=primary&  surface=cobblestone [0x104 road_class=1 road_speed=1
> resolution 16]
> highway=secondary&  surface=cobblestone [0x105 road_class=1 road_speed=1
> resolution 18]
> highway=tertiary&  surface=cobblestone [0x106 road_class=1 road_speed=1
> resolution 18]
> highway=unclassified&  surface=cobblestone [0x107 road_class=2 road_speed=4
> resolution 19]
> highway=minor&  surface=cobblestone [0x107 road_class=2 road_speed=4
> resolution 22]
> highway=residential&  surface=cobblestone [0x108 road_class=2 road_speed=4
> resolution 20]
> highway=living_street&  surface=cobblestone [0x108 road_class=2 road_speed=4
> resolution 22]
>
> and in the overlays file:
> 0x104: 0x04, 0x1A
> 0x105: 0x05, 0x1A
> 0x106: 0x06, 0x1A
> 0x107: 0x07, 0x1A
> 0x108: 0x08, 0x1A
>
> On 0x1A is the symbol, which should be show as an overlay and on 0x04 - 0x08
> are the symbols of the normal roads.
>
> mkgmap throws out the Error: "List of numbers expected" in overlays file.
>
> Could someone tell me what I am doig wrong?

Try adding an empty line to the end of your overlays file (just a 
carriage return should do it).




More information about the mkgmap-dev mailing list