
Yes, that did fix it! (however, giving a stackoverflow really confuses the user I can tell you ;) ) Relative / absolute path does not matter. On Thu, May 17, 2012 at 10:35 PM, Ronny Klier <ronny.klier@s1999.tu-chemnitz.de> wrote:
Hi,
I remember that I got this error some time ago. The resolution was to specify path with --style-file and style separate with --style. In your example:
--style-file=mkgmap/resources/styles/ --style=default
Ronny
Am 17.05.2012 10:50, schrieb maning sambale:
Reported here:
https://github.com/maning/osmphgps/issues/49
I'm trying to use a different style then the built-in one. Running (r2277):
``` java -ea -Xmx4000m -classpath mkgmap/dist -jar mkgmap/dist/mkgmap.jar --style-file=mkgmap/resources/styles/default --list-styles ```
gives:
``` The following styles are available: Exception in thread "main" java.lang.StackOverflowError at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:58) at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:392) at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544) at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240) at java.lang.StringCoding.encode(StringCoding.java:272) at java.lang.String.getBytes(String.java:946) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isDirectory(File.java:754) at uk.me.parabola.mkgmap.osmstyle.DirectoryFileLoader.<init>(DirectoryFileLoader.java:47) at uk.me.parabola.mkgmap.osmstyle.StyleFileLoader.createStyleLoader(StyleFileLoader.java:64) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:132) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518) ... ```
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev