<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Gert,<br><br>I think GPSMapEdit may help for this (File -> Map Properties -> select tab Statistics),<br>but it doesn't load TYP files.<br><br>AFAIK mkgmap doesn't write any stats regarding the number of written types, <br>but it seems easy to do something like the style statistics.<br>I guess you think about something like a table showing 4 columns<br><br><font style="" face="Courier New,sans-serif">Point/Line/Shape Type/Subtype Count Desc from TYP</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">---------------------------------------------------------- </font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">point 0x2806 8 place of worship</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">point 0x2807 0 Megalithic monument</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">line 0x00 1211 cycling route</font><font style="" face="Courier New,sans-serif"><br>line 0x2F 4 ? <br></font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif"><br><br></font>where a count of 0 means the type is defined in the TYP file but was not written<br>and a question mark in Desc means the type is not defined in the TYP file.<br><br>I have no idea how much work it would be to write such a table, because<br>I don't know the mkgmap data structures for the typ file. <br>It should be easy enough when the typ compiler has the needed infos.<br><br>Gerd<br><br><br><br><br><div><hr id="stopSpelling">From: thesurveyor@wolke7.net<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Wed, 1 Apr 2015 16:01:28 +0200<br>Subject: [mkgmap-dev] how to check style files vs. typfile<br><br><div style="font-family:Verdana;font-size:12.0px;"><div>
<div>Hi, just a simple question to the experts.</div>
<div> </div>
<div>How do you check if a used type in the style files (lines, points, ...) is available in the typ-file (e.g. basemap.typ or basemap.txt) ? And maybe in the other direction too?</div>
<div>Many thanks in advance.</div>
<div> </div>
<div>Regards,<br>
Gert</div>
</div>
<div> </div>
<div class="ecxsignature"> </div></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                            </div></body>
</html>