<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<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
<br>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]
<br>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]
<br>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]
<br>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]
<br>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
<br>java.lang.AssertionError: invoked the non-augmented instance
<br>at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(IsInFunction.java:119)
<br>at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFunction.java:61)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:33)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.java:123)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule.java:72)
<br>at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:97)
<br>at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:462)
<br>at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:243)
<br>at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:161)
<br>at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
<br>at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
<br>at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
<br>at java.base/java.lang.Thread.run(Thread.java:834)
<br>java.lang.AssertionError: invoked the non-augmented instance
<br>at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(IsInFunction.java:119)
<br>at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFunction.java:61)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:33)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.java:123)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule.java:72)
<br>at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:97)
<br>at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:462)
<br>at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:243)
<br>at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:161)
<br>at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
<br>at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
<br>at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
<br>at java.base/java.lang.Thread.run(Thread.java:834)
<br>java.lang.AssertionError: invoked the non-augmented instance
<br>at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(IsInFunction.java:119)
<br>at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFunction.java:61)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:33)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.java:123)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule.java:72)
<br>at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:97)
<br>at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:462)
<br>at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:243)
<br>at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:161)
<br>at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
<br>at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
<br>at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
<br>at java.base/java.lang.Thread.run(Thread.java:834)
<br>java.lang.AssertionError: invoked the non-augmented instance
<br>at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(IsInFunction.java:119)
<br>at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFunction.java:61)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:33)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.java:123)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
<br>at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule.java:72)
<br>at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:97)
<br>at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:462)
<br>at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:243)
<br>at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:161)
<br>at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
<br>at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
<br>at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
<br>at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
<br>at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
<br>at java.base/java.lang.Thread.run(Thread.java:834)
<br>java.nio.file.NoSuchFileException: F:\Speiche\.\Baustelle\Speiche_Fabrik_mkgmap\Speiche_Fabrik.mdx -> .\Baustelle\Speiche_Fabrik_mkgmap\Speiche_Fabrik.gmap\Speiche_Fabrik.mdx
<br>at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
<br>at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
<br>at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:202)
<br>at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:279)
<br>at java.base/java.nio.file.Files.copy(Files.java:1294)
<br>at uk.me.parabola.mkgmap.combiners.GmapiBuilder.onFinish(GmapiBuilder.java:114)
<br>at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:674)
<br>at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:125)
<br>at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143)
<br>at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Greets
</div>
<div>
<br>
</div>
<div>
Arndt
</div>
<div>
<br>
</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 00:11 geschrieben:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi Arndt
</div>
<div>
<br>
</div>
<div>
Can you try
<a href="http://www.mkgmap.org.uk/download/mkgmap-is-in-r4446.zip" rel="noopener" target="_blank">http://www.mkgmap.org.uk/download/mkgmap-is-in-r4446.zip</a>
</div>
<div>
<br>
</div>
<div>
If the method parameter isn't understood, it lists the acceptable
</div>
<div>
method parameters for the context (points/lines/polygons).
</div>
<div>
<br>
</div>
<div>
I couldn't reproduce the problem with the previous version I had, and I
</div>
<div>
couldn't see how the include should have effected anything.
</div>
<div>
<br>
</div>
<div>
Ticker
</div>
<div>
<br>
</div>
<div>
On Tue, 2020-02-11 at 19:23 +0100, Arndt Röhrig wrote:
</div>
<blockquote type="cite">
<div>
Hi Ticker,
</div>
<div>
<br>
</div>
<div>
i include "access" from lines. It´s one of the first lines.
</div>
<div>
Move the is_in command to the line file, mkgmap runs without errors.
</div>
<div>
But is_in doesn´t work.
</div>
<div>
With r-4428 is the result OK.
</div>
<div>
<br>
</div>
<div>
(highway~'motorway|trunk|primary|secondary|tertiary|unclassified|mino
</div>
<div>
r|residential|living_street|cycleway|steps') {set isin=n}
</div>
<div>
highway=* & rad!=ja & laufen!=ja & tunnel!=* & bridge!=* & isin!=n &
</div>
<div>
is_in(landuse,cemetery,all)=true {set isin=j}
</div>
<div>
...
</div>
<div>
...
</div>
<div>
isin=j {set rad=nein}
</div>
<div>
isin=j {set highway=tobadforbike}
</div>
<div>
<br>
</div>
<div>
Greets
</div>
<div>
Arndt
</div>
<div>
<br>
</div>
<div>
P.S.
</div>
<div>
My complete style is here:
</div>
<div>
<a href="https://speichenkarte.de/" rel="noopener" target="_blank">https://speichenkarte.de/</a> "Steuerdateien"
</div>
<div>
<br>
</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 11. Februar 2020 um
</div>
<div>
16:01 geschrieben:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi Arndt
</div>
<div>
<br>
</div>
<div>
Are you including inc/access from points?
</div>
<div>
<br>
</div>
<div>
Ticker
</div>
<div>
<br>
</div>
<div>
On Tue, 2020-02-11 at 13:54 +0100, Arndt Röhrig wrote:
</div>
<blockquote type="cite">
<div>
Hi Ticker,
</div>
<div>
<br>
</div>
<div>
i get this:
</div>
<div>
<br>
</div>
<div>
13:40:20,54 - mkgmap .\tools\mkgmap-is-in-r4443 Speiche_Fabrik
</div>
<div>
Error in style: Error: (inc/access:73): Error: Third parameter
</div>
<div>
'all'
</div>
<div>
of function is_in is not supported
</div>
<div>
<br>
</div>
<div>
Reason is, the is_in command is in the access-file :)
</div>
<div>
<br>
</div>
<div>
Thank you
</div>
<div>
<br>
</div>
<div>
Arndt
</div>
<div>
<br>
</div>
<div>
<br>
</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 11. Februar 2020
</div>
<div>
um
</div>
<div>
13:02 geschrieben:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi
</div>
<div>
<br>
</div>
<div>
I've started some initial documentation for this that will go
</div>
<div>
into
</div>
<div>
the
</div>
<div>
Style Manual.
</div>
<div>
<br>
</div>
<div>
The attached patch lists the options, but you might find it a
</div>
<div>
bit
</div>
<div>
unreadable.
</div>
<div>
<br>
</div>
<div>
With the next auto-build after this is applied, the updated
</div>
<div>
manual
</div>
<div>
appear in the branches download zip. @gerd: is this how it
</div>
<div>
happens?
</div>
<div>
<br>
</div>
<div>
But the simple answer to your question is, for a rule in
</div>
<div>
"lines" or
</div>
<div>
"polygons", what you have written will still work.
</div>
<div>
<br>
</div>
<div>
Ticker
</div>
<div>
<br>
</div>
<div>
On Tue, 2020-02-11 at 12:32 +0100, Arndt Röhrig wrote:
</div>
<blockquote type="cite">
<div>
Hi Gerd,
</div>
<div>
<br>
</div>
<div>
is_in(landuse,residential,all)=true
</div>
<div>
<br>
</div>
<div>
how do you write that now?
</div>
<div>
<br>
</div>
<div>
Greets
</div>
<div>
Arndt
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
Gerd Petermann <
<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@hotmail.com</a>> hat am
</div>
<div>
10.
</div>
<div>
Februar 2020 um 14:14 geschrieben:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi all,
</div>
<div>
<br>
</div>
<div>
see
</div>
<div>
<a href="http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap" rel="noopener" target="_blank">http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap</a>
</div>
<div>
&rev
</div>
<div>
=4442
</div>
<div>
<br>
</div>
<div>
@Ticker:
</div>
<div>
I assume you are working on an alternative implementation
</div>
<div>
of
</div>
<div>
the
</div>
<div>
methods in IsInUtil?
</div>
<div>
If not I'd like to remove all the code duplication
</div>
<div>
introduced
</div>
<div>
with
</div>
<div>
the last patch.
</div>
<div>
<br>
</div>
<div>
Gerd
</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>
<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>
<div>
____
</div>
<div>
__________________________________
</div>
</blockquote>
<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>
<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>
<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>
<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>
<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>