logo separator

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

From GerdP gpetermann_muenchen at hotmail.com on Thu Jun 4 22:49:12 BST 2015

Hi Paco,
 
reg. your patch:
please note that r3596 and before acepted any value, but only is_in and 
nearest (and 1,2,3) had an effect. I don't think that the hint in the docu
is
needed.

Gerd


Paco Tyson wrote
> 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@

> > 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@

>> Date: Wed, 3 Jun 2015 23:53:53 +0200
>> To: 

> mkgmap-dev at .org

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

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

> mkgmap-dev at .org

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

> mkgmap-dev at .org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> is-in.patch (673 bytes)
> &lt;http://gis.19327.n5.nabble.com/attachment/5847128/0/is-in.patch&gt;





--
View this message in context: http://gis.19327.n5.nabble.com/Exception-with-location-autofill-option-on-r3605-tp5847000p5847143.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list