Re: [mkgmap-dev] Splitter and .pbf

2011-03-31 Thread Bob Hawkins
I thank you all for your helpful responses.  Last year, I created a log of 
my procedure to obtain Great Britain data from Geofabrik, split it, and make 
a gmapsupp.img for transfer to my Garmin Legend (my comprehension of how all 
of this works is close to zero!).  Then, it seems, I could copy the 
splitter.jar and mkgmap.jar files from their original folders and place them 
in a new folder with everything else that was required, and the process ran 
perfectly.  I do not update my data very often, and I had to be advised 
recently, as Steve writes, that the splitter.jar cannot be used alone.  Am I 
right in thinking this must have been a change that took place in the 
intervening period?  If so, and further to what Henning wrote, it might be 
useful for users like me to have such fundamental changes documented and 
highlighted, if that is possible.  I do recognise and appreciate, however, 
the time that must already be spent.

Bob 

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Henning Scholland
I think it's not the first time, that this question was ask. Maybe it 
would be better to have a short note in the download-file or at splitter 
downloadpage.

Henning

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Carlos Dávila
El 30/03/11 22:47, Steve Ratcliffe escribió:
> Hi
>
>
>> 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)
>>  
> I would guess that you moved the splitter.jar file somewhere else and
> used it alone. You need to keep the whole distribution together, or at
> least copy the lib directory and its contents as well as the splitter.jar.
You were right, fixed.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Steve Ratcliffe
Hi

> 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)

I would guess that you moved the splitter.jar file somewhere else and 
used it alone. You need to keep the whole distribution together, or at 
least copy the lib directory and its contents as well as the splitter.jar.


..Steve
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Carlos Dávila
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@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.

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Marko Mäkelä
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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Henning Scholland
You also could use r170 and also all other version > 161

Henning

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Bartosz Fabianowski
The advice should probably have been to use 161 or newer. Once pbf 
support was added, I do not see why it would disappear again in a later 
version. I am using 170 and it has parsed any pbf I have thrown at it so 
far.

- Bartosz
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Splitter and .pbf

2011-03-30 Thread Bob Hawkins
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.  This, I did.  I wonder, though, how it is known what particular 
splitter version to use with, say, the next .pbf file I choose to use.  I note, 
too, that the current splitter page displays r-170 only.  I am sure it 
displayed more when I used it recenty, such as r161-3, for example, which I now 
find at http://89.16.174.14/detail/8.___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev