<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Hi Ticker,
</div>
<div>
<br>
</div>
<div>
thank you for help and sorry, i don´t remember that points include the access file. I move the is_in command to the line file.
</div>
<div>
<br>
</div>
<div>
Now r4450 says
</div>
<div>
<br>
</div>
<div>
Error in style: Error: (lines:8): Expecting ), instead saw landuse
</div>
<div>
<br>
</div>
<div>
I don´t understand that. Is that a mistake in my is_in command?
</div>
<div>
<br>
</div>
<div>
highway=* & rad!=ja & laufen!=ja & tunnel!=* & bridge!=* & istdrin!=n & is_in(landuse,cemetery,all)=true {set istdrin=j}
</div>
<div>
<br>
</div>
<div>
Greets
</div>
<div>
<br>
</div>
<div>
Arndt
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
Ticker Berkin <
<a href="mailto:rwb-mkgmap@jagit.co.uk">rwb-mkgmap@jagit.co.uk</a>> hat am 13. Februar 2020 um 10:26 geschrieben:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi Arndt
</div>
<div>
<br>
</div>
<div>
you have an include 'inc/access' in styles_base/points and
</div>
<div>
styles_gravel/points
</div>
<div>
<br>
</div>
<div>
which gives the error about unsupported options.
</div>
<div>
<br>
</div>
<div>
The crash is related: because the calls are textually identical, the
</div>
<div>
optimiser semi-tries to share them between points and lines processing,
</div>
<div>
it initializes one instance only, but later the correct ones are called
</div>
<div>
for the 2 contexts. I introduced this assertion error in the last
</div>
<div>
update to catch strange things like this happening. Before it would
</div>
<div>
have quietly returned "false"
</div>
<div>
<br>
</div>
<div>
Ticker
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On Thu, 2020-02-13 at 06:37 +0100, Arndt Röhrig wrote:
</div>
<blockquote type="cite">
<div>
Hi Ticker,
</div>
<div>
<br>
</div>
<div>
mkgmap tell me:
</div>
<div>
<br>
</div>
<div>
6:33:39,37 - mkgmap .\tools\mkgmap-is-in-r4446 Speiche_Fabrik
</div>
<div>
Error in style: Error: (inc/access:73): Error: Third parameter 'all'
</div>
<div>
of function is_in is not supported for this style section, valid are:
</div>
<div>
[in, in_or_on, on]
</div>
<div>
Error in style: Error: (inc/access:73): Error: Third parameter 'all'
</div>
<div>
of function is_in is not supported for this style section, valid are:
</div>
<div>
[in, in_or_on, on]
</div>
<div>
Error in style: Error: (inc/access:73): Error: Third parameter 'all'
</div>
<div>
of function is_in is not supported for this style section, valid are:
</div>
<div>
[in, in_or_on, on]
</div>
<div>
Error in style: Error: (inc/access:73): Error: Third parameter 'all'
</div>
<div>
of function is_in is not supported for this style section, valid are:
</div>
<div>
[in, in_or_on, on]
</div>
<div>
Could not open style
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
If i move the "is_in" command to the line file, mkgmap say:
</div>
<div>
<br>
</div>
<div>
6:30:43,78 - mkgmap .\tools\mkgmap-is-in-r4446 Speiche_Fabrik
</div>
<div>
java.lang.AssertionError: invoked the non-augmented instance
</div>
<div>
at
</div>
<div>
uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(IsInFun
</div>
<div>
ction.java:119)
</div>
<div>
at
</div>
<div>
uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFu
</div>
<div>
nction.java:61)
</div>
<div>
at
</div>
<div>
uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:33)
</div>
</blockquote>
<div>
...
</div>
<div>
<br>
</div>
<div>
_______________________________________________
</div>
<div>
mkgmap-dev mailing list
</div>
<div>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
</div>
<div>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noopener" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</div>
</blockquote>
</body>
</html>