logo separator

[mkgmap-dev] location-autofill=nearest breaks compiling

From Carlos Dávila cdavilam at orangecorreo.es on Thu Aug 15 21:51:11 BST 2013

You can get the input file at 
http://mapas.alternativaslibres.es/british-isles.o5m I've been updating 
it for several days and always got the same error.
Used variables: export MAPA=British-Isles pais=british-isles FID=52 
ABR=BRI MAXNODES=1800000 NAMETAG=name DRIVEON=left
splitter:
java -Xmx1500M -jar splitter.jar --max-nodes=$MAXNODES 
--geonames-file=geonames/cities15000_$ABR.zip --mapid=551${FID}001 $pais.o5m
mkgmap:
java -Xmx2000m -ea -Dlog.config=logging.properties -jar mkgmap.jar 
--output-dir=./tmp --bounds=bounds.zip --precomp-sea=sea --max-jobs 
--route --latin1 --code-page=1252 --area-name=$MAPA 
--family-name="OpenStreetMap $MAPA" --family-id=1$FID --product-id=1 
--series-name="OSM-$MAPA" --overview-mapname=$ABR-1${FID} 
--overview-mapnumber=551${FID}000 --name-tag-list=$NAMETAG --index 
--road-name-pois=0x640a --process-destination --process-exits 
--x-housenumbers --ignore-maxspeeds --reduce-point-density=4 
--reduce-point-density-polygon=8 --polygon-size-limits="24:12, 18:10, 
16:0" --add-pois-to-areas --adjust-turn-headings --report-similar-arcs 
--link-pois-to-ways --location-autofill=is_in,nearest 
--drive-on-$DRIVEON --check-roundabouts --check-roundabout-flares 
--license-file=license_ODbL.txt --copyright-message="OpenStreetMap 
contributors, ODbL. See: http://www.openstreetmap.org/copyright" 
--style=mio --check-styles -c $pais.args
args file is splitter generated template.args + typ file added at the 
end. I tried with default style with the same result.

El 15/08/13 22:29, GerdP escribió:
> Hi Carlos,
>
> looks like a special case. Please post a link to the input file and all info
> that is needed to reproduce
> the problem.
>
> Gerd
>
>
> Carlos Dávila-2 wrote
>> Compiling British Isles map with location-autofill=is_in,nearest throws
>> the following error:
>> Exception in thread "main" java.lang.AssertionError: Invalid label
>> offset found 105
>>           at
>> uk.me.parabola.imgfmt.app.lbl.LBLFileReader.fetchLabel(LBLFileReader.java:86)
>>           at
>> uk.me.parabola.imgfmt.app.lbl.LBLFileReader.readPoiInfo(LBLFileReader.java:351)
>>           at
>> uk.me.parabola.imgfmt.app.lbl.LBLFileReader.
>> <init>
>> (LBLFileReader.java:74)
>>           at
>> uk.me.parabola.mkgmap.combiners.FileInfo.lblInfo(FileInfo.java:326)
>>           at
>> uk.me.parabola.mkgmap.combiners.FileInfo.lblInfo(FileInfo.java:313)
>>           at
>> uk.me.parabola.mkgmap.combiners.FileInfo.imgInfo(FileInfo.java:259)
>>           at
>> uk.me.parabola.mkgmap.combiners.FileInfo.getFileInfo(FileInfo.java:152)
>>           at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:545)
>>           at
>> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
>>           at uk.me.parabola.mkgmap.main.Main.main(Main.java:119)
>> Removing the "nearest" part of location-autofill it works fine. All
>> other maps I compile with location-autofill=is_in,nearest also compile
>> without problems. Any idea why this particular map may be going wrong?



More information about the mkgmap-dev mailing list