logo separator

[mkgmap-dev] Exception with location-autofill option on r3605

From Paco Tyson paco.tyson at free.fr on Thu Jun 4 19:19:20 BST 2015

Hi Gerd,

is_in indeed works OK with r3605 and r3596. Attached is a patch to add a note to the "options" doc.

Cheers,
Paco


Le 4 juin 2015 à 06:37, Gerd Petermann <gpetermann_muenchen at hotmail.com> a écrit :

> Hi Paco,
> 
> you are right, I forgot to mention that I've added a check to
> check the parameters for the location-autofill option.
> Please correct the spelling of is-in, it should be is_in.
> 
> Gerd
> 
> From: paco.tyson at free.fr
> Date: Wed, 3 Jun 2015 23:53:53 +0200
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: [mkgmap-dev] Exception with location-autofill option on r3605
> 
> Hi all,
> 
> I've updated mkgmap from r3596 to r3605 to try the house number improvements. Nothing else in my toolchain changed.
> 
> mkgmap returns the following exception 6 times, I can't explain why they appear as nothing in the change logs is related to this option (location-autofill: is-in,nearest) : 
> 
>      [java] java.lang.IllegalArgumentException: is-in is not a known sub option for option location-autofill: is-in,nearest
>      [java] 	at uk.me.parabola.mkgmap.build.LocatorUtil.parseAutofillOption(LocatorUtil.java:75)
>      [java] 	at uk.me.parabola.mkgmap.build.Locator.<init>(Locator.java:52)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryLocationPreparer.<init>(BoundaryLocationPreparer.java:57)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree.<init>(BoundaryQuadTree.java:107)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadQuadTreeFromStream(BoundaryUtil.java:493)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadQuadTrees(BoundaryUtil.java:176)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid.init(BoundaryGrid.java:103)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid.<init>(BoundaryGrid.java:66)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.LocationHook.end(LocationHook.java:98)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:63)
>      [java] 	at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130)
>      [java] 	at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
>      [java] 	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52)
>      [java] 	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:255)
>      [java] 	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:251)
>      [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>      [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>      [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>      [java] 	at java.lang.Thread.run(Thread.java:744)
> 
> The produced files are corrupt.
> 
> Cheers,
> Paco
> 
> _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150604/348ec0e0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: is-in.patch
Type: application/octet-stream
Size: 658 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150604/348ec0e0/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150604/348ec0e0/attachment-0003.html>


More information about the mkgmap-dev mailing list