Re: [mkgmap-dev] More method options for is_in function

2020-02-13 Thread Gerd Petermann
Hi Ticker, ah, yes, did not see the override. There is another caching mechanism in RuleSet.resolveType(int cacheId, Element el, TypeResult result) which might kick in. Not sure if this is relevant but you should be aware of it. Gerd Von: mkgmap-dev im

Re: [mkgmap-dev] More method options for is_in function

2020-02-13 Thread Arndt Röhrig
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

[mkgmap-dev] Commit r4450: Produce better error message when input-file is a directory

2020-02-13 Thread svn commit
Version mkgmap-r4450 was committed by gerd on Thu, 13 Feb 2020 Produce better error message when input-file is a directory This also prevents a possible StringIndexOutOfBoundsException http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4450

Re: [mkgmap-dev] Fwd: Re: AW: More method options for is_in function

2020-02-13 Thread Ticker Berkin
Hi Arndt I can reproduce this - it seem to be something related to the expression structure. Probably it just returned 'false' before, rather than raising the exception. I'll investigate Ticker On Thu, 2020-02-13 at 16:38 +0100, Arndt Röhrig wrote: > > Hi Gerd, hi Ticker, > > > > now i use

Re: [mkgmap-dev] Fwd: Re: AW: More method options for is_in function

2020-02-13 Thread Ticker Berkin
Hi Arndt, Gerd Sorry - this was me mis-reading the code and is simply fixed. The assertion failed when there are no polygons in the tile that match the tag/key. patch attached Ticker On Thu, 2020-02-13 at 16:39 +, Ticker Berkin wrote: > Hi Arndt > > I can reproduce this - it seem to be

[mkgmap-dev] Fwd: Re: AW: More method options for is_in function

2020-02-13 Thread Arndt Röhrig
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

Re: [mkgmap-dev] Minor documentation update

2020-02-13 Thread Gerd Petermann
Hi Mike, sorry for the delay. It seems you did not see my post http://gis.19327.n8.nabble.com/Need-help-with-build-scripts-tt5957298.html where I attached a modified version of the buildoptions program. I've merged your changes with my patch, but omitted the part starting with "Input files

[mkgmap-dev] Commit r4448: fix possible NPE introduced with r4432

2020-02-13 Thread svn commit
Version mkgmap-r4448 was committed by gerd on Thu, 13 Feb 2020 fix possible NPE introduced with r4432 FileNotFoundException was ignored. May result in a NullPointerException when input file is not in the expected format. e.g. with java -jar mkgmap.jar .

Re: [mkgmap-dev] More method options for is_in function

2020-02-13 Thread Ticker Berkin
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

Re: [mkgmap-dev] More method options for is_in function

2020-02-13 Thread Gerd Petermann
Hi Ticker, I think CachedFunction can't be used without changes. It uses getName() which just returns "is_in" (no parameters). Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Donnerstag, 13. Februar 2020 10:26 An: Development list for