logo separator

[mkgmap-dev] mkgmap: String index out of range: 48

From Thorsten Kukuk kukuk at suse.de on Wed May 23 19:07:57 BST 2012

Hi,

I updated today to mkgmap r2278 and I'm now getting the
following error when build gmapsupp.img:


mkgmap --style-file=style --family-name=TK-DACH-Basemap --country-name=DACH --country-abbr=DACH --area-name=DACH --latin1 --license-file=TK-DACH-Basemap_license.txt '--copyright-message=OpenStreetMap.org contributors, CC BY-SA. See: http://wiki.openstreetmap.org/index.php/Attribution. TK-DACH-Basemap based on data from 2012-05-23.' --series-name=TK-DACH-Basemap --bounds=bounds --location-autofill=bounds,is_in,nearest --add-pois-to-areas --reduce-point-density-polygon=8 --min-size-polygon=8 --make-opposite-cycleways --remove-short-arcs --adjust-turn-headings --route --net --generate-sea=extend-sea-sectors '--pois-to-areas-placement=entrance=main;entrance=yes;building=entrance;barrier=entrance' --index --name-tag-list=name,place_name -c mkgmap.cfg --gmapsupp -c maps.cfg --description=TK-DACH-Basemap TK_DACH.TYP
[...]
java.lang.StringIndexOutOfBoundsException: String index out of range: 48
        at java.lang.String.substring(Unknown Source)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:123) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147) 
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:147)
[...]

I did already regenerate the bounds files with the new
mkgmap version, but this doesn't make any difference.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)



More information about the mkgmap-dev mailing list