
Steve, Was able to steal some time and do some tests.... but bad luck, not sure what I'm doing wrong. I've taken r2744 and replaced mkgmap.jar with the downloaded version from the link below..... but it doesn't work. I've also taken r2744 from svn, applied the patch and recompiled mkgmap.jar. Both do not compile, getting the following Exception: java -Xmx3000M -jar P:/Freizeitkarte/develop/fzk-mde-garmin.git/Freizeitkarte-Entwicklung/tools/mkgmap/mkgmap.jar --max-jobs=2 --code-page=1251 --product-id=1 --family-id=9010 freizeit.txt Time started: Thu Oct 10 14:44:31 CEST 2013 cmd line sort sort cp=1251 order=00010008 java.lang.NullPointerException at uk.me.parabola.imgfmt.app.typ.TypData.setSort(TypData.java:49) at uk.me.parabola.mkgmap.main.TypCompiler.compile(TypCompiler.java:132) at uk.me.parabola.mkgmap.main.TypCompiler.makeMap(TypCompiler.java:71) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:243) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:239) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exiting - if you want to carry on regardless, use the --keep-going option Time finished: Thu Oct 10 14:44:31 CEST 2013 Total time taken: 160ms Am I doing something wrong ? Here's a link to 'freizeit.txt' failing above: https://dl.dropboxusercontent.com/u/40846569/freizeit-20131010.zip .... do you need some additional files ? just let me know. Patrik On 09.10.2013 22:15, Steve Ratcliffe wrote:
Hi Patrik
Here is the latest version of the patch.
It should now work like this:
1. If command line --code-page not given, then one in the file is used. 2. If command line --code-page is given then it is used, ignoring any the file. 3. If there is a mis-match between command line and CodePage in file, a warning is printed. 4. If the output file cannot be written in the selected code page an error message is printed instead of a stack trace.
Pre-built at: http://files.mkgmap.org.uk/detail/155
I am going to add some documentation giving advice on the preferred format for a typ txt file.
..Steve
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev