logo separator

[mkgmap-dev] Splitter and .pbf

From Carlos Dávila cdavilam at orangecorreo.es on Wed Mar 30 19:37:33 BST 2011

El 30/03/11 20:23, Marko Mäkelä escribió:
> On Wed, Mar 30, 2011 at 04:44:36PM +0100, Bob Hawkins wrote:
>    
>> I was advised recently that I could use the much smaller .pbf file
>> rather than .bz2 from Geofabrik, but that I had to use a particular
>> splitter, in this case r161-3.
>>      
> There used to be a splitter crosby_integration (sp?) branch r161 that
> did not package all the required .jar files. Steve prepared two or three
> builds of that. The code was later merged to
> http://svn.mkgmap.org.uk/splitter/trunk with all the required library
> .jar files. The current revision is r170, which I am using.
>
> The osm.pbf is not only about file size, but also about processing speed
> and possibly memory usage.
>
> 	Marko
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>    
I've been using the old splitter prepared by Steve till now, because I 
didn't know about that merge. Now, after successfully compiling r170, I 
get the following error attempting to split a pbf file:
Exception in thread "main" java.lang.NoClassDefFoundError: 
crosby/binary/file/BlockReaderAdapter
Caused by: java.lang.ClassNotFoundException: 
crosby.binary.file.BlockReaderAdapter
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: uk.me.parabola.splitter.Main. Program 
will exit.




More information about the mkgmap-dev mailing list