logo separator

[mkgmap-dev] Cannot generate map with --index

From Felix Hartmann extremecarver at googlemail.com on Thu Aug 12 20:37:47 BST 2010

  On 12.08.2010 20:55, Dermot McNally wrote:
> Hi,
>
> For a while I've been out of the habit of adding --index to my command
> line because I don't use Mapsource to put maps on my devices. However,
> I wanted to do some experiments and find that I can't make it work
> with the following command line:
>
> java -Xms2g -Xmx2g -Dlog.config=svn/mkgmap/logging.properties -jar
> svn/mkgmap/dist/mkgmap.jar --family-id=333 --mapname=55555555
> --family-name='OSM Ireland' --series-name='OSM Ireland'
> --description='OSM Ireland' --country-name='IRELAND'
> --country-abbr='IRL' --latin1 --gmapsupp  --net --route --tdbfile
> --add-pois-to-areas --remove-short-arcs --check-roundabouts
> --generate-sea=multipolygon --check-roundabout-flares --index
> --adjust-turn-heading ireland.osm dermot.TYP
>
> Dropping --index from he command line fixes things. The error I get is:
>
> Exception in thread "main" java.lang.IllegalAccessError: tried to
> access method uk.me.parabola.imgfmt.app.ImgReader.position()J from
> class uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets
> 	at uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets.<init>(RGNFileReader.java:227)
> 	at uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets.<init>(RGNFileReader.java:201)
> 	at uk.me.parabola.imgfmt.app.trergn.RGNFileReader.getOffsets(RGNFileReader.java:186)
> 	at uk.me.parabola.imgfmt.app.trergn.RGNFileReader.pointsForSubdiv(RGNFileReader.java:71)
> 	at uk.me.parabola.imgfmt.app.map.MapReader.pointsForLevel(MapReader.java:107)
> 	at uk.me.parabola.mkgmap.combiners.MdrBuilder.addPoints(MdrBuilder.java:170)
> 	at uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:113)
> 	at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:374)
> 	at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:124)
> 	at uk.me.parabola.mkgmap.main.Main.main(Main.java:122)
>
> And my data source is the Geofabrik ireland.osm country extract.
>
> Any ideas?
>
> Dermot
>
I think there is some very strange (for mkgmap) data in Ireland. On my 
server (8GB Ram) it does compile with --index but it takes 10min (should 
take no more than 2 minutes compared to other countries with similar size).

Might be good if that data were found...



More information about the mkgmap-dev mailing list