Hi Gerd, hi Ticker,

now i use is-in-r-4449. Sorry, some mistakes happen without explanation.

4449 report this:

Greets
Arndt

16:24:37,71 - mkgmap .\tools\mkgmap-is-in-r4449 Speiche_Fabrik
java.lang.AssertionError: invoked the non-augmented instance
at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(Is
ction.java:119)
at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(Cac
nction.java:61)
at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:
at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.j
23)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule
:72)
at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(Styled
rter.java:462)
at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSav
va:243)
at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDat
ce.java:163)
at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:1
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Sourc
at java.lang.Thread.run(Unknown Source)
java.lang.AssertionError: invoked the non-augmented instance
at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(Is
ction.java:119)
at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(Cac
nction.java:61)
at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:
at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.j
23)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule
:72)
at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(Styled
rter.java:462)
at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSav
va:243)
at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDat
ce.java:163)
at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:1
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Sourc
at java.lang.Thread.run(Unknown Source)
java.lang.AssertionError: invoked the non-augmented instance
at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(Is
ction.java:119)
at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(Cac
nction.java:61)
at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:
at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.j
23)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule
:72)
at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(Styled
rter.java:462)
at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSav
va:243)
at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDat
ce.java:163)
at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:1
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Sourc
at java.lang.Thread.run(Unknown Source)
java.lang.AssertionError: invoked the non-augmented instance
at uk.me.parabola.mkgmap.osmstyle.function.IsInFunction.calcImpl(Is
ction.java:119)
at uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(Cac
nction.java:61)
at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:
at uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.eval(AbstractOp.j
23)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:45)
at uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule
:72)
at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(Styled
rter.java:462)
at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSav
va:243)
at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDat
ce.java:163)
at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:1
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:54)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:291)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:287)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Sourc
at java.lang.Thread.run(Unknown Source)
java.nio.file.NoSuchFileException: C:\Kartenwerke\Speiche\.\Baustelle\Speic
brik_mkgmap\Speiche_Fabrik.mdx -> .\Baustelle\Speiche_Fabrik_mkgmap\Speiche
ik.gmap\Speiche_Fabrik.mdx
at sun.nio.fs.WindowsException.translateToIOException(Unknown Sourc
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileCopy.copy(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.copy(Unknown Source)
at java.nio.file.Files.copy(Unknown Source)
at uk.me.parabola.mkgmap.combiners.GmapiBuilder.onFinish(GmapiBuild
va:114)
at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:674)
at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsRead
va:125)
at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143)
at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)


Gerd Petermann < gpetermann_muenc...@hotmail.com> hat am 13. Februar 2020 um 15:01 geschrieben:


Hi Arndt,

r4450 is a trunk version, this doesn't know the is_in() style function.

Gerd

________________________________________
Von: mkgmap-dev < mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig < ar...@speichenkarte.de>
Gesendet: Donnerstag, 13. Februar 2020 14:55
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] More method options for is_in function

Hi Ticker,

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.

Now r4450 says

Error in style: Error: (lines:8): Expecting ), instead saw landuse

I don´t understand that. Is that a mistake in my is_in command?

highway=* & rad!=ja & laufen!=ja & tunnel!=* & bridge!=* & istdrin!=n & is_in(landuse,cemetery,all)=true {set istdrin=j}

Greets

Arndt

Ticker Berkin < rwb-mkg...@jagit.co.uk<mailto: rwb-mkg...@jagit.co.uk>> hat am 13. Februar 2020 um 10:26 geschrieben:


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)
...

_______________________________________________
mkgmap-dev mailing list

 
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to