logo separator

[mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

From AnkEric eric_internet at casema.nl on Wed Mar 25 14:38:22 GMT 2020

mapnik.txt (128.746 bytes,	19-03-2020 08:31)

I assume (...) "mapnik.txt" is to be converted into "<nnnnn>.typ".

Using TYPViewer 4.5.50 two Errors during conversion:

********************************************************************
Errors in the file  : mapnik.txt
********************************************************************

Line 1959 : "String=River, Wadi (Intermittent)"

To Resolve, update:
String=River, Wadi (Intermittent)
into:
String1=0x00,River (Intermittent)
String2=0x01,Cours d’eau (intermittent)
etc.

********************************************************************
Errors in the file  : 44010.typ
********************************************************************

Error while reading polygon 0x03d/00 : Error #9   Description: Subscript out
of range
Error while reading polygon 0x03d/00 : Error #9   Description: Subscript out
of range
Error while reading polygon 0x03d/00 : Error #9   Description: Subscript out
of range
Error in the length of the polygon Type=0x03d   SubType=0x00
Problem with the polygon Type=0x03d   SubType=0x00

To Resolve: copy from Type=0x3c

[_polygon]
Type=0x3d
;GRMN_TYPE: Water Areas/LAKE_30MI, LARGE_LAKE/Large lake, typically between
30 and 500 sq mi in area/Non NT
String1=0x00,Bay
String2=0x01,Baie
String3=0x02,Bucht
String4=0x03,Baai
String5=0x15,Zatoka
String6=0x10,Baia
String7=0x05,Baia
ExtendedLabels=Y
FontStyle=SmallFont
CustomColor=Day
DaycustomColor:#4D80B3
Xpm="0 0 1 0"
"1 c #AAD3DF"
[end]

Also be aware:
mapnik.txt is [UTF-8] encoding
I assume (...) Garmin expects [Windows 1252] encoding.
If [Windows 1252] is required, in TYPViewer "Open a TXT (Utf8) file...".
Converted TYP file will have same encoding.



--
Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html


More information about the mkgmap-dev mailing list