logo separator

[mkgmap-dev] More method options for is_in function

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Feb 13 09:26:30 GMT 2020

Hi Arndt

you have an include 'inc/access' in styles_base/points and
styles_gravel/points

which gives the error about unsupported options.

The crash is related: because the calls are textually identical, the
optimiser semi-tries to share them between points and lines processing,
it initializes one instance only, but later the correct ones are called
for the 2 contexts. I introduced this assertion error in the last
update to catch strange things like this happening. Before it would
have quietly returned "false"

Ticker


On Thu, 2020-02-13 at 06:37 +0100, Arndt Röhrig wrote:
> Hi Ticker,
> 
> mkgmap tell me:
> 
> 6:33:39,37 - mkgmap .\tools\mkgmap-is-in-r4446 Speiche_Fabrik 
> Error in style: Error: (inc/access:73): Error: Third parameter 'all'
> of function is_in is not supported for this style section, valid are:
> [in, in_or_on, on] 
> Error in style: Error: (inc/access:73): Error: Third parameter 'all'
> of function is_in is not supported for this style section, valid are:
> [in, in_or_on, on] 
> Error in style: Error: (inc/access:73): Error: Third parameter 'all'
> of function is_in is not supported for this style section, valid are:
> [in, in_or_on, on] 
> Error in style: Error: (inc/access:73): Error: Third parameter 'all'
> of function is_in is not supported for this style section, valid are:
> [in, in_or_on, on] 
> Could not open style
> 
> 
> If i move the "is_in" command to the line file, mkgmap say:
> 
> 6:30:43,78 - mkgmap .\tools\mkgmap-is-in-r4446 Speiche_Fabrik 
> java.lang.AssertionError: invoked the non-augmented instance 
> at
> uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(IsInFun
> ction.java:119) 
> at
> uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFu
> nction.java:61) 
> at
> uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:33) 
...



More information about the mkgmap-dev mailing list