<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hello Gerd,</div>
<div> </div>
<div>many thanks for your answer.</div>
<div>I think you described a bit more than that what I'm looking for.</div>
<div>As far as I understand your answer, you described a statistic for a map. At this time I'm just looking for the matchings between style files and typ file and not how often a specific type is used in a map. Of course that could be very helpful and it would match my needs.</div>
<div> </div>
<div>But I see that there is no known tool out there which does what I'm looking for. So I have to think about writing my own tool. I agree that it seems not very difficult, at least for the smaller part. May be that becomes my "Learning Java" project :-) because till now C++ is my favourite language.</div>
<div> </div>
<div>And many thanks to you and all the other developers of mkgmap. You're doing a really good job.</div>
<div> </div>
<div>Best regards,</div>
<div>Gert</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 02. April 2015 um 08:00 Uhr<br/>
<b>Von:</b> "Gerd Petermann" <gpetermann_muenchen@hotmail.com><br/>
<b>An:</b> "mkgmap-dev@lists.mkgmap.org.uk" <mkgmap-dev@lists.mkgmap.org.uk><br/>
<b>Betreff:</b> Re: [mkgmap-dev] how to check style files vs. typfile</div>
<div name="quoted-content"><!--*.hmmessage P {        margin: 0.0px;        padding: 0.0px;}body.hmmessage {        font-size: 12.0pt;        font-family: Calibri;}-->
<div class="hmmessage">
<div>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 face="Courier New,sans-serif">Point/Line/Shape Type/Subtype Count Desc from TYP</font><br/>
<font face="Courier New,sans-serif">---------------------------------------------------------- </font><br/>
<font face="Courier New,sans-serif">point 0x2806 8 place of worship</font><br/>
<font face="Courier New,sans-serif">point 0x2807 0 Megalithic monument</font><br/>
<font face="Courier New,sans-serif">line 0x00 1211 cycling route</font><br/>
<font face="Courier New,sans-serif">line 0x2F 4 ? </font><br/>
<br/>
<br/>
<br/>
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/>
<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/>
<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 <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</div>
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</div>
</div>
</div>
</div>
<div> </div>
<div class="signature"> </div></div></body></html>