<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 Brett,<br><br>I don't understand the part reg. POI, but img size:<br>yes, several optimizations were implemented, so 10 % size reduction are typical in a routable map.<br><br>Gerd<br><br><div><hr id="stopSpelling">From: brussell237@live.com.au<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Sun, 23 Mar 2014 12:18:16 +1100<br>Subject: Re: [mkgmap-dev] Version r3118 error compared to r2718 0x6508 self        answered<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}
.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass span.ecxapple-tab-span {
}
.ExternalClass span.ecxEmailStyle19 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}
.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}
.ExternalClass div.ecxWordSection1 {
}
--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Hi All</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">I was a bit suspicious of me including a POI in a polygon file, so went looking, and found that in the current default style files it was in the point of interest files. So a quick change and version r3118 is working well. So looks like somewhere on the line the logic in mkgmap was strengthen to pick up what would be a logic error by having POI in polygons. Or at least that is my feelings.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Just for some information. Version r2718 generated an img file of 39,439kb based on contours and an OSM file of 15,909kb. Version r3118 is 35,491kb so either an impressive amount of data compression efficiency has been achieved (something that was mentioned on this mailing list) or data is missing. Anyway, now the on ground testing can start to see what is the case.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Cheers and thanks</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Brett Russell</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";" lang="EN-US"> mkgmap-dev-bounces@lists.mkgmap.org.uk [mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk] <b>On Behalf Of </b>Brett Russell<br><b>Sent:</b> Sunday, 23 March 2014 11:45 AM<br><b>To:</b> Development list for mkgmap<br><b>Subject:</b> [mkgmap-dev] Version r3118 error compared to r2718 0x6508</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Hi All</span></p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I must admit I am an infrequent updater of the version of mkgmap and also use my own style and typ file that is gradually varying from the standard style and typ files. Also while subscribed to this group 99% of the posting are past my level of knowledge.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Anyway, when upgrading from version r2718 to r3118 the following error message appeared with no img file been created.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Error in style: Error: invalid type 0x6508 for POLYGON in style file inc\water_polygons, line 14</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">The type 0x6508 is a type that I added in the style file</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> Waterfall [BER 01.07.2013]</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"># --------------------------</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">natural=waterfall | waterway=waterfall [0x6508 resolution 20]</span></p></div></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Also I modified the typ file "borrowing" on another's work so this appears</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">[_point]</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Type=0x065</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">SubType=0x08</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">String1=0x04,Waterfall</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">ExtendedLabels=Y</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">FontStyle=NormalFont</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">CustomColor=No</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">DayXpm="16 16 8 1" Colormode=16</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"!<span class="ecxapple-tab-span"> </span>c #101010"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"#<span class="ecxapple-tab-span"> </span>c #0065FF"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"%<span class="ecxapple-tab-span"> </span>c #39CAD5"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"?<span class="ecxapple-tab-span"> </span>c #FFFFFF"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"$<span class="ecxapple-tab-span"> </span>c #399541"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"*<span class="ecxapple-tab-span"> </span>c #7BFFD5"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"=<span class="ecxapple-tab-span"> </span>c #7B656A"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">" <span class="ecxapple-tab-span"> </span>c none"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">" "</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"$$?????????$$$$$"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"=!!???????!!!!!!"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"!=!!?????!!=!=!="</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"=!=!!?%%?!=!=!=!"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"!=!=!?%%?=!=!=!="</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"=!=!!?%%?!=!=!=!"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"!=!=!?%%?!!=!=!="</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"=!=!??%*%?=!=!=!"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"!=!??%**%?!=!=!="</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"!!??****%%??=!=!"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"#??******???!!!!"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"##????????######"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"################"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"################"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">"################"</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">;1234567890123456</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">[end]</span></p></div></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I notice that the above is a point of interest (single node) but i have put it in the polygon file.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">With version r2718 everything worked well, but with r3118, or possibly earlier versions something has crept in that is producing the error.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">As always, any help or pointers would be handy.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Cheers</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Brett Russell</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Tasmania - Australia</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div></div></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>