logo separator

[mkgmap-dev] problem with style

From aighes osm at aighes.de on Fri Sep 28 14:52:28 BST 2012

Am 28.09.2012 15:48, schrieb Steve Ratcliffe:
> On 28/09/12 13:41, aighes wrote:
>> I've got a NPE while testing my style-file (
>> http://www.aighes.de/data/rrk_style.zip ).
>
> That file doesn't exist for me.
Should work now, sorry.

>> Any guesses were the fault could be? Maybe a better errormessage could
>> be generated by mkgmap in this case?
>
> I'm guessing you have something like:
>
>  a=b | c [0x1 ]
>
> In other words you have a bare tag name without any operation.
>
> If you apply the attached patch, it will show you the line number of 
> the problem, if it is due to this.
>
> The message is somewhat cryptic, so will need to do something about that.
>
> Also the similar case:
>
>  a=b & c [0x2 ]
>
> does not give an error (the 'c' bit is always regarded as true I 
> think) but it probably should.
>
> ..Steve
Thanks for that, I found the problematic part.

Henning




More information about the mkgmap-dev mailing list