logo separator

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

From Dermot McNally dermotm at gmail.com on Thu Aug 12 19:55:16 BST 2010

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

-- 
--------------------------------------
Iren sind menschlich



More information about the mkgmap-dev mailing list