logo separator

[mkgmap-dev] Gmapsupp Creation broken with current mkgmap.jar

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Oct 16 19:54:13 BST 2015

Maybe the wrong combination of mkgmap.jar and fastutil*.jar ?


Gerd




________________________________
Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Freitag, 16. Oktober 2015 20:44
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Gmapsupp Creation broken with current mkgmap.jar

Nope - did not forget ant clean - also happens if I download the jar from official download site here:
http://www.mkgmap.org.uk/download/mkgmap.html
[http://www.mkgmap.org.uk/static/img/logo.png]<http://www.mkgmap.org.uk/download/mkgmap.html>

mkgmap download page
Branch builds. These jar files are latest builds of recent development branches. They are useful if you want to quickly test a branch without having obtain and build it.
Weitere Informationen...<http://www.mkgmap.org.uk/download/mkgmap.html>




Strange thing is that with old versions (e.g. the one that the batch - create_gmapsupp_with_mkgmap_velomap.bat downloads which I compiled on 1. July) it works

Felix

On 16 October 2015 at 19:39, Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>> wrote:

Hi Felix,


looks as if you have compiled without doing an ant clean first.


Gerd


________________________________
Von: mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk> <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>>
Gesendet: Freitag, 16. Oktober 2015 19:32
An: Development list for mkgmap
Betreff: [mkgmap-dev] Gmapsupp Creation broken with current mkgmap.jar

I just noticed that my maps don't compile into a gmasupp.img anymore using the newest mkgmap versions.
e.g. ftp://ftp5.gwdg.de/pub/misc/openstreetmap/openmtbmap/odbl/velomap/velogermany.exe
(you could just unpack if you don't want to install).

does not compile into a gmapsupp.img anymore if address search is enabled. Without address search it works. With older mkgmap.jar it works too (even though the map itself is compiled with up to date mkgmap.jar).

Error message is:
Exception in thread "main" java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/ints/IntArrayList
        at uk.me.parabola.imgfmt.app.net.NETFileReader.getRoads(NETFileReader.java:116)
        at uk.me.parabola.imgfmt.app.map.MapReader.getRoads(MapReader.java:205)
        at uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:307)
        at uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:180)
        at uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onMapEnd(GmapsuppBuilder.java:149)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:567)
        at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
        at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:105)
Caused by: java.lang.ClassNotFoundException: it.unimi.dsi.fastutil.ints.IntArrayList
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 9 more


With an mkgmap.jar version (trunk) of 1.7.2015 it still works...



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20151016/4a9c21e4/attachment-0001.html>


More information about the mkgmap-dev mailing list