logo separator

[mkgmap-dev] mkgmap and aster data

From Jaromír Mikeš mira.mikes at seznam.cz on Wed Nov 2 02:58:01 GMT 2011

> Od: Apollinaris Schoell <aschoell at gmail.com>

> I recommend the older version for performance reasons. the newer version has
> some improvements for polygons which are useless for contours and slow down the
> conversion a lot.
> https://github.com/iandees/shp-to-osm

I am trying shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar , no older seems be available.

But having some weird problem here:
Caused by: java.lang.ClassNotFoundException: Main
	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:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: Main.  Program will exit.

Same with newer version :(

Tried things like:
$ java -cp .  shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar
$ java -classpath . ../shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar
$ java -classpath . /media/MIRES/Aster/shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar 

Seems to be java classpath problem (google).
Any idea how fix this?

regards

mira



More information about the mkgmap-dev mailing list