logo separator

[mkgmap-dev] Problem with compiling TYP containing Cyrillic characters (mkgmap r2673)

From keenonkites keenonkites at gmx.net on Wed Oct 9 14:07:02 BST 2013

I did invest some time this morning into the compilation bits.... think 
I got it running.

Therefore here the result of two tests:
1) run with the patched version (not containing everything): compilation 
still fails

    java -Xmx1536M -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=6442 freizeit.txt
    Time started: Wed Oct 09 13:56:45 CEST 2013
    uk.me.parabola.imgfmt.app.typ.TypLabelException
             at
    uk.me.parabola.imgfmt.app.typ.TypElement.makeLabelBlock(TypElement.java:135)
             at
    uk.me.parabola.imgfmt.app.typ.TypElement.writeLabelBlock(TypElement.java:148)
             at
    uk.me.parabola.imgfmt.app.typ.TypPolygon.write(TypPolygon.java:49)
             at
    uk.me.parabola.imgfmt.app.typ.TYPFile.writeSection(TYPFile.java:168)
             at uk.me.parabola.imgfmt.app.typ.TYPFile.write(TYPFile.java:68)
             at
    uk.me.parabola.mkgmap.main.TypCompiler.writeTyp(TypCompiler.java:145)
             at
    uk.me.parabola.mkgmap.main.TypCompiler.makeMap(TypCompiler.java:102)
             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: Wed Oct 09 13:56:45 CEST 2013
    Total time taken: 260ms

2) Test with your precompiled version (containing more fixes than the 
patch): Runs properly and TYP file is usable in both Qlandkarte and Basecamp

    java -Xmx1536M -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=6442 freizeit.txt
    Time started: Wed Oct 09 14:55:56 CEST 2013
    cmd line sort sort cp=1251 order=00010008
    Time finished: Wed Oct 09 14:55:56 CEST 2013
    Total time taken: 410ms


BTW: I get a lot of 'getting null label' messages during the build 
process...

As mentioned in the previous post: codepage line is commented out in the 
source TXT file (TXT version of the TYP file).

Thanks, Patrik

On 09.10.2013 12:49, Steve Ratcliffe wrote:
> Hi
>
>> Could you give accesss to a 'built' version ? I'm not that familiar with
>> the build process. Means it would be easier and for sure much faster and
>> safer if someone else could be the complete package for me to test.
> Here is a pre-built one http://files.mkgmap.org.uk/detail/154
>
> It contains a bit more than the previous patch; the command line
> code-page is used when there is no CodePage present in the file.
> Still more to do on that.
>
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20131009/599abdcc/attachment.html 


More information about the mkgmap-dev mailing list