Hi Thorsten, r2278 changed only some parts of the generate-sea option. I think the change to r2276 is more suspicious. Which mkgmap release did you use before?
Anyhow please try the following simple patch. WanMil Index: src/uk/me/parabola/mkgmap/build/MapSplitter.java =================================================================== --- src/uk/me/parabola/mkgmap/build/MapSplitter.java (revision 2277) +++ src/uk/me/parabola/mkgmap/build/MapSplitter.java (working copy) @@ -119,7 +119,7 @@ Area bounds = area.getBounds(); int[] sizes = area.getEstimatedSizes(); if(log.isInfoEnabled()) { - String padding = depth + " "; + String padding = depth + " "; log.info(padding.substring(0, (depth + 1) * 2) + bounds.getWidth() + "x" + bounds.getHeight() + ", res = " + res + > > 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 > _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev