logo separator

[mkgmap-dev] Splitter

From Ralf Kleineisel ralf at kleineisel.de on Fri Jan 30 08:44:45 GMT 2009

Steve Ratcliffe wrote:

> Oh... The documentation says --mapid, but in reality it was --mapname.  If
> changed the code in svn to now allow both.

Great!

> The ways and nodes are mixed up in the file.  I guess it was made
> using the -large option to srtm2osm?

Yes, that's right.

> I've just added an option --mixed=yes to deal with that case.
> 
> It is available at: http://www.mkgmap.org.uk/splitter/splitter-r19.jar

This one doesn't work at all for me:

$java -Xmx2048M -jar splitter-r19.jar --mapid=31000001 --max-nodes=100000
srtm_5.8_47.7.osm
key mapid/ val 31000001
key max-nodes/ val 100000
Exception in thread "main" java.lang.NoClassDefFoundError:
uk/me/parabola/mkgmap/general/MapDetails
        at uk.me.parabola.splitter.DivisionParser.<init>(DivisionParser.java:42)
        at uk.me.parabola.splitter.Main.calculateAndSplit(Main.java:144)
        at uk.me.parabola.splitter.Main.split(Main.java:82)
        at uk.me.parabola.splitter.Main.main(Main.java:67)
Caused by: java.lang.ClassNotFoundException:
uk.me.parabola.mkgmap.general.MapDetails
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 4 more



More information about the mkgmap-dev mailing list