[mkgmap-dev] Mkgmap exception while reading "options" file
From paco.tyson at free.fr paco.tyson at free.fr on Wed Feb 26 22:40:15 GMT 2014
Hi all, I'm faced with this error : java -jar ../../../bin/mkgmap-r3057/mkgmap.jar --style-file=src/ --style=style-FR --check-styles Time started: Wed Feb 26 23:20:35 CET 2014 checking style: style-FR Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at uk.me.parabola.mkgmap.general.LevelInfo.createFromString(LevelInfo.java:74) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readRules(StyleImpl.java:275) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:160) at uk.me.parabola.mkgmap.main.Main.readOneStyle(Main.java:382) at uk.me.parabola.mkgmap.main.Main.checkStyles(Main.java:362) at uk.me.parabola.mkgmap.main.Main.processOption(Main.java:264) at uk.me.parabola.mkgmap.CommandArgsReader$CommandOption.processArg(CommandArgsReader.java:303) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:125) at uk.me.parabola.mkgmap.main.Main.main(Main.java:117) When I invoke mkgmap as usual to compile a map, it fails after outputting this exact same exception trace 8 times. No map produced. I've narrowed the issue to the "options" file, pasted here : # # Style options. # # The name tag determines what tag is used as the name of a # feature. Usually this is just 'name' but you might want something # more specific such as name:en or another language variant. # You can specify a list here, the first one that exists will be # used # # Example: # name_tag = name:en, int_name, name # The levels specification for this style levels=0:24,1:23,2:22,3:20,4:18 overview-levels=5:17,6:15,7:14 If I comment out the 2 lines, then mkgmap runs fine (style checking and map compiling). This file was OK before I migrated from OS X Snow Leopard to Mavericks. Before : OS X 10.6.8, java6, mkgmap r2685. Now OS X 10.9.2, java7, mkgmap 3057 (same exception with r2960)
- Previous message: [mkgmap-dev] problem with foot!=
- Next message: [mkgmap-dev] Mkgmap exception while reading "options" file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list