<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Hi Ticker,
</div>
<div>
<br>
</div>
<div>
"and then doesn't
<div>
like various strings that can't be represented in that code page."
</div>
</div>
<div>
<br>
</div>
<div>
That brings me to the idea to look at "ä ö ü" in my typ file. When i kill this, it works better :)
</div>
<div>
<br>
</div>
<div>
Now, TYPViewer says only this:
</div>
<div>
Unbekannte CodePage-Nummer: 0
<br>TYPViewer ersetzte die CodePage mit 1252
<br>
<br>
</div>
<div>
When i set the option --latin1 in mkgmap this message is gone. It seems, that mkgmap ignore the codepage line in the typ-file?
</div>
<div>
<br>
</div>
<div>
No matter, i know now, what to do, even tough i don´t understand why :)
</div>
<div>
<br>
</div>
<div>
Thank you for helping me!
</div>
<div>
<br>
</div>
<div>
Greets
</div>
<div>
Arndt
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
Ticker Berkin <
<a href="mailto:rwb-mkgmap@jagit.co.uk">rwb-mkgmap@jagit.co.uk</a>> hat am 15. Februar 2020 um 12:00 geschrieben:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi
</div>
<div>
<br>
</div>
<div>
Is this using something based on resources/typ-files/mapnik.txt
</div>
<div>
<br>
</div>
<div>
My guessing of a translation of the error messages you are getting is
</div>
<div>
that TYPviewer defaults the output code-page to 1252 and then doesn't
</div>
<div>
like various strings that can't be represented in that code page.
</div>
<div>
Try uncommenting the line: CodePage=65001
</div>
<div>
<br>
</div>
<div>
Having this line will cause harmless warnings from mkgmap when you
</div>
<div>
generate a non-unicode map
</div>
<div>
<br>
</div>
<div>
Ticker
</div>
<div>
<br>
</div>
<div>
On Sat, 2020-02-15 at 08:44 +0100, Arndt Röhrig wrote:
</div>
<blockquote type="cite">
<div>
Good morning,
</div>
<div>
<br>
</div>
<div>
i use TYPViewer for my typ files. This program reports some errors,
</div>
<div>
when i open a type file.
</div>
<div>
<br>
</div>
<div>
My typs are .txt files. So far they are ok. In a first step i use
</div>
<div>
mkgmap to create .typ files. It runs without error messages. The map
</div>
<div>
seems to be OK. But when i open a typ file with TYPViewer the error
</div>
<div>
messages appear. When i edit an element, TYPViewer pop up an error
</div>
<div>
message and close.
</div>
<div>
<br>
</div>
<div>
i guess the changes in r-4437 do that? Is there something wrong in my
</div>
<div>
typs?
</div>
<div>
For example the polygone 0x0e:
</div>
<div>
<br>
</div>
<div>
[_polygon]
</div>
<div>
Type=0x0e
</div>
<div>
;GRMN_TYPE: Large Manmade Areas/AIRPORT_RUNWAYS/Airport runway
</div>
<div>
area/Non NT
</div>
<div>
String1=0x02,Bürogewerbe
</div>
<div>
ExtendedLabels=Y
</div>
<div>
FontStyle=NoLabel (invisible)
</div>
<div>
CustomColor=No
</div>
<div>
Xpm="0 0 1 0"
</div>
<div>
"1 c #F2D9D8"
</div>
<div>
[end]
</div>
<div>
<br>
</div>
<div>
Greets
</div>
<div>
<br>
</div>
<div>
Arndt
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
P.S. The error message from TYPViewer:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
*********************************************************************
</div>
<div>
*********************************************************************
</div>
<div>
************
</div>
<div>
Fehler in der Datei :
</div>
<div>
C:\ProgramData\GARMIN\Maps\Speiche_Fabrik_Gravel.gmap\Speiche.typ
</div>
<div>
*********************************************************************
</div>
<div>
*********************************************************************
</div>
<div>
************
</div>
<div>
<br>
</div>
<div>
Unbekannte CodePage-Nummer: 0
</div>
<div>
TYPViewer ersetzte die CodePage mit 1252
</div>
<div>
Wenn dies nicht paßt, wähle eine andere CodePage-Nummer in der
</div>
<div>
Auswahlbox "CodePage"
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x004 SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x00e SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x010 SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x014 SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x01c SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x04e SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des Polygons Type=0x054 SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings der Polylinie Type=0x015 SubTypes =
</div>
<div>
0x00
</div>
<div>
Problem beim Lesen der Strings des POI Type=0x001 SubTypes = 0x00
</div>
<div>
<br>
</div>
<div>
_______________________________________________
</div>
<div>
mkgmap-dev mailing list
</div>
<div>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
</div>
<div>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noopener" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</div>
</blockquote>
<div>
_______________________________________________
</div>
<div>
mkgmap-dev mailing list
</div>
<div>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
</div>
<div>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noopener" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</div>
</blockquote>
</body>
</html>