logo separator

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

From Felix Hartmann extremecarver at gmail.com on Thu Nov 12 19:57:45 GMT 2015

Hi Gerd,
No problem - I just wondered why it changed because it used to work til now
without any change in functionality as far as I know.

thanks for your answer.

On 12 November 2015 at 08:45, Gerd Petermann <
GPetermann_muenchen at hotmail.com> wrote:

> Hi Felix,
>
>
> sorry, I have no idea why we should try to change the code so that special
> functions work
>
> without a specific lib which is mandantory for other functions. What
>
> advantage would that offer for the users or the coders?
>
>
> 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:* Mittwoch, 11. November 2015 23:00
>
> *An:* Development list for mkgmap
> *Betreff:* Re: [mkgmap-dev] Gmapsupp Creation broken with current
> mkgmap.jar
>
> Okay - now I got it. With older versions just to create a gmapsupp.img
> there was no need for lib folder with fastutil*.jar - now however if we
> create address search it is mandatory.
> Could this be changed back again - or is there really a need for
> mkgmap.jar to have fastutil available for creating gmapsupp.img files or
> creating a new set of mdr.img/mdx/tdb/mapset.img files.
>
> I am using the most up to date libs to compile mkgmap.jar, and I also use
> the most up to date to create the maps themselves. It's just new that the
> fastutil.jar is also needed for creating gmapsupp with address index.
>
> On 16 October 2015 at 21:13, Felix Hartmann <extremecarver at gmail.com>
> wrote:
>
>> ?? Situation:
>> 1. I use my own (up to date) mkgmap.jar to build the maps - no problems.
>> 2. I try to compile a gmapsupp.img from .img files. For that an old
>> mkgmap.jar version is working. A new one - also the one used to compile the
>> maps originally - is not working.
>>
>> So in Step 1. you think I used a wrong fastutil.jar? Well I just made
>> sure all are up to date there. Will see if this solves the problem.
>>
>> On 16 October 2015 at 20:54, Gerd Petermann <
>> GPetermann_muenchen at hotmail.com> wrote:
>>
>>> 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/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> 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 <
>>>> mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <
>>>> 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
>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Felix Hartman - Openmtbmap.org & VeloMap.org
>>> Floragasse 9/11
>>> 1040 Wien
>>> Austria - Österreich
>>>
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> 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
>>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> _______________________________________________
> mkgmap-dev mailing list
> 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/20151112/e1a02e16/attachment-0001.html>


More information about the mkgmap-dev mailing list