<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Joris, <br>
</p>
<p>since the beginning of building my own maps for my device i
allways added this option to my map building command, at least to
have the correct mapid in the typ-file. Here is one example, how i
do this :</p>
<p>java -Xmx30000m -XX:-UseGCOverheadLimit -ea -jar
-Dlog.config=logging.properties "c:\Program Files
(x86)\KartenTools\mkgmap\mkgmap.jar"
--location-autofill=is_in,nearest --mapname=70030001
--family-id=7003 .\styles\newstyle.txt --series-name="GERMANY
TEST" --family-name="OpenStreetmap" --country-name=GERMANYTEST
--country-abbr=GER --area-name=GER --overview-mapname="overview"
--latin1 --style-file=.\styles --style=newstyle --max-jobs
--keep-going --check-roundabouts --drive-on=detect,right
--output-dir=.\out\MYGERMANY --index --bounds=.\bounds_latest
--route --name-tag-list=name,place_name,loc_name --housenumbers
--split-name-index --add-pois-to-areas --link-pois-to-ways
--process-destination --process-exits --precomp-sea=.\sea_latest
--tdbfile --draw-priority=10 --gmapsupp -c
.\data\MYGERMANY\template.args --description=MYGERMANY
--remove-ovm-work-files=true <br>
</p>
<p>I opened this thread only to get an idea how to get rid of the
TYPviewer error <span class="moz-smiley-s3"><span>;-)</span></span><br>
</p>
<div class="moz-cite-prefix">Am 29.06.2020 um 14:34 schrieb Joris
Bo:<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR04MB57937C4453D2F36D70B09F14AF6E0@AM0PR04MB5793.eurprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Tekst zonder opmaak Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Arial",sans-serif;
mso-fareast-language:EN-US;}
span.TekstzonderopmaakChar
{mso-style-name:"Tekst zonder opmaak Char";
mso-style-priority:99;
mso-style-link:"Tekst zonder opmaak";
font-family:"Arial",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-GB">Hi Manfred,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">I was not aware of
Tickers tip that it was possible to supply a .txt in the
same command line as the map building cmd. But it does make
sense
</span><span style="font-family:"Segoe UI
Emoji",sans-serif" lang="EN-GB">😊</span><span
lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Always thought this
must be a .typ and since the map building scripts only
change when something gets broken.... I first noticed this a
couple of month ago..<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">So I always first
call mkgmap to create the .typ with correct codepage and
family id and immediately after this, a second call to
supply this newly created .typ to the map build call. At
least this works for me.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Kind regards,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Joris<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:NL">-----Oorspronkelijk
bericht-----<br>
Van: mkgmap-dev
<a class="moz-txt-link-rfc2396E" href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk"><mkgmap-dev-bounces@lists.mkgmap.org.uk></a> Namens DD8KQ<br>
Verzonden: maandag 29 juni 2020 13:16<br>
Aan: <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
Onderwerp: Re: [mkgmap-dev] CodePage number set to 0 after
compiled</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi all, i do not compile the typ.txt
file as own process, its integrated in my command line for
building my maps. But every now and then, i just open the
resulting .typ-file with the viewer and since some time i saw
these complaining errors. In my build options to create the
map i'm using the option --latin1, as Joris suggested. But
nevertheless, opening the typ file with TYPviewer i get
allways this error.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Am 29.06.2020 um 12:47 schrieb Ticker
Berkin:<o:p></o:p></p>
<p class="MsoPlainText">> Hi Manfred<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Generally it is better to supply
the TYP .txt file as an argument to
<o:p></o:p></p>
<p class="MsoPlainText">> mkgmap when you build your map,
rather than compiling it as a separate
<o:p></o:p></p>
<p class="MsoPlainText">> process.<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Otherwise, as Joris says.<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Do you have a codePage specified in
the file that is being ignored?<o:p></o:p></p>
<p class="MsoPlainText">> [_id]<o:p></o:p></p>
<p class="MsoPlainText">> ...<o:p></o:p></p>
<p class="MsoPlainText">> CodePage=xxxx<o:p></o:p></p>
<p class="MsoPlainText">> ...<o:p></o:p></p>
<p class="MsoPlainText">> [End]<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Ticker<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> On Mon, 2020-06-29 at 10:39 +0000,
Joris Bo wrote:<o:p></o:p></p>
<p class="MsoPlainText">>> Hi Manfed,<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> I encountered the same, since
xxxx you must always supply the
<o:p></o:p></p>
<p class="MsoPlainText">>> codepage on the commandline<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Like<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> --code-page=65001<o:p></o:p></p>
<p class="MsoPlainText">>> Or<o:p></o:p></p>
<p class="MsoPlainText">>> --code-page=latin1<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Joris<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> -----Oorspronkelijk
bericht-----<o:p></o:p></p>
<p class="MsoPlainText">>> Van: mkgmap-dev <<a
href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mkgmap-dev-bounces@lists.mkgmap.org.uk</span></a>>
Namens
<o:p></o:p></p>
<p class="MsoPlainText">>> Manfred Haiduk<o:p></o:p></p>
<p class="MsoPlainText">>> Verzonden: maandag 29 juni 2020
12:29<o:p></o:p></p>
<p class="MsoPlainText">>> Aan: Development list for
mkgmap <<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>> Onderwerp: [mkgmap-dev]
CodePage number set to 0 after compiled<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Hi all,<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> i don't know, if i had
something forgotten but since some time, if i
<o:p></o:p></p>
<p class="MsoPlainText">>> compile my style.txt with
mkgmap, the resulting typ-file seems to not
<o:p></o:p></p>
<p class="MsoPlainText">>> have any codepage number other
than Zero. Only the TYPviewer
<o:p></o:p></p>
<p class="MsoPlainText">>> complains about this, on my
device (GPSMAP 476cx) or with MapSource i
<o:p></o:p></p>
<p class="MsoPlainText">>> don't see any troubles. This is
the error message the TYPviewer
<o:p></o:p></p>
<p class="MsoPlainText">>> generates :<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>>
*********************************************************************<o:p></o:p></p>
<p class="MsoPlainText">>>
*********************************************************************<o:p></o:p></p>
<p class="MsoPlainText">>> ************<o:p></o:p></p>
<p class="MsoPlainText">>> Errors in the file :
D:\GPS\Maps\MYGERMANY\newstyle.typ<o:p></o:p></p>
<p class="MsoPlainText">>>
*********************************************************************<o:p></o:p></p>
<p class="MsoPlainText">>>
*********************************************************************<o:p></o:p></p>
<p class="MsoPlainText">>> ************<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Unknown CodePage number: 0<o:p></o:p></p>
<p class="MsoPlainText">>> TYPViewer has replaced it with
1252<o:p></o:p></p>
<p class="MsoPlainText">>> If it doesn't fit, select an
another CodePage number in the combobox
<o:p></o:p></p>
<p class="MsoPlainText">>> "CodePage"<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Any ideas what to do ?<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> btw i used mkgmap-r4487 to
compile<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>>
_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">>> mkgmap-dev mailing list<o:p></o:p></p>
<p class="MsoPlainText">>> <a
href="mailto:mkgmap-dev@lists.mkgmap.org.uk"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a><o:p></o:p></p>
<p class="MsoPlainText">>> <a
href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev"
moz-do-not-send="true">
<span style="color:windowtext;text-decoration:none">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</span></a><o:p></o:p></p>
<p class="MsoPlainText">>>
_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">>> mkgmap-dev mailing list<o:p></o:p></p>
<p class="MsoPlainText">>> <a
href="mailto:mkgmap-dev@lists.mkgmap.org.uk"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a><o:p></o:p></p>
<p class="MsoPlainText">>> <a
href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev"
moz-do-not-send="true">
<span style="color:windowtext;text-decoration:none">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</span></a><o:p></o:p></p>
<p class="MsoPlainText">>
_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">> mkgmap-dev mailing list<o:p></o:p></p>
<p class="MsoPlainText">> <a
href="mailto:mkgmap-dev@lists.mkgmap.org.uk"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a><o:p></o:p></p>
<p class="MsoPlainText">> <a
href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev"
moz-do-not-send="true">
<span style="color:windowtext;text-decoration:none">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">#####################################################<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"> Viele Grüße und 73 de Manfred
Haiduk, DD8KQ<o:p></o:p></p>
<p class="MsoPlainText"> e-mail <a
href="mailto:mhaiduk@t-online.de" moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mhaiduk@t-online.de</span></a>
<a href="mailto:dd8kq@gmx.de" moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">dd8kq@gmx.de</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">#####################################################<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">mkgmap-dev mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a
href="mailto:mkgmap-dev@lists.mkgmap.org.uk"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a
href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</span></a><o:p></o:p></p>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
#####################################################
Viele Grüße und 73 de Manfred Haiduk, DD8KQ
e-mail <a class="moz-txt-link-abbreviated" href="mailto:mhaiduk@t-online.de">mhaiduk@t-online.de</a> <a class="moz-txt-link-abbreviated" href="mailto:dd8kq@gmx.de">dd8kq@gmx.de</a>
#####################################################</pre>
</body>
</html>