logo separator

[mkgmap-dev] Problem with styles

From Willem Sonke willemsonke at planet.nl on Wed Aug 5 09:06:50 BST 2009

Thank you! This indeed solved the problem.
But the comment rules in the relation file should be changed, I simply
copied this rule from the comment:

# You can have rules for relations.  Usually you will set tags on the
# elements that make up the relation.
#
# eg. type=route route=bus { apply { set route=bus; add rn='${route_no}' ;
}}

Willem1

-----Oorspronkelijk bericht-----
Van: Volker Bosch [mailto:volker.bosch at t-online.de] 
Verzonden: dinsdag 4 augustus 2009 19:54
Aan: mkgmap-dev at lists.mkgmap.org.uk
Onderwerp: Re: [mkgmap-dev] Problem with styles

Hello Willem,

> I get the following exception:
> 
> Error in style: Error: (relations:8): Stack size is 3
                          ^^^^^^^^^^^

I think in your relations files the & operators are missing:

Replace 

  type=route route=bicycle network=rcn { apply { set fietsroutercn=yes; }}

by

  type=route & route=bicycle & network=rcn { apply { set fietsroutercn=yes;
}}


****---*------*------*------*------*------*------*------*------*------*
*\Viele    --     Volker Bosch,  Humboldtstr.21, 70771 Leinf.-Echterdingen
**\ Gruesse  --     Tel:(0711)713967,  E-Mail: volker.bosch at t-online.de 
***\           --       http://www.s-line.de/homepages/bosch






More information about the mkgmap-dev mailing list