
Hi Steffen, the problem is caused by missing files which are included as base-styles. See default/info. I had the same problem and did not find out how to use them, so I commented the lines in info (I wanted to create a minimum style). I'll check tomorrow why this situation gives no useful error message. Gerd Steffen Breitbach wrote
Hi everyone!
I wanted to start a new map from scratch - using the default style from mkgmap. So I copied the $mkgmap/examples/style/default/ folder to my working direktory. If I try to compile a map, mkgmap (r2504) crashes with a stack overflow:
java.lang.StackOverflowError at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242) at java.io.File.isDirectory(File.java:799) at uk.me.parabola.mkgmap.osmstyle.StyleFileLoader.createStyleLoader(StyleFileLoader.java:56) at uk.me.parabola.mkgmap.osmstyle.StyleImpl. <init> (StyleImpl.java:133) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:515) at uk.me.parabola.mkgmap.osmstyle.StyleImpl. <init> (StyleImpl.java:141)
The last two lines repeat a few hundred times.
After exchanging the style with a style-set that works, the no errors occur and the map is generated as expected.
Is there something wrong with the default style provided with the package (.tar.gz) or am I doing something wrong?
Regards Steffen _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Default-style-example-invalid-tp5751086p57510... Sent from the Mkgmap Development mailing list archive at Nabble.com.