<HTML><BODY><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#2c2d2e; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-decoration-thickness:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">Hi</div><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#2c2d2e; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-decoration-thickness:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px"> </div><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#2c2d2e; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-decoration-thickness:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px"><div><div>I did a search for the word "<em>CONTOUR</em>" in the file <em>MPCTypes.txt</em>.</div><div>In addition to the types mentioned above, there are several more:</div><div> </div><div><div><div><strong><em>0x10105</em></strong>=Marine Lines/MARINE_CONTOUR_LINE/Marine contour line/Non NT, NT</div><div><strong><em>0x10301</em></strong>=Isobath Area Outlines/ISOBATH_DEPTH_CONTOUR/Depth contour/Non NT, NT</div></div><div> </div><div><div><strong>0x10900</strong>=Contour Lines/MINOR_CONTOUR(NT)/Minor land-based contour line/NT</div><div><strong>0x10901</strong>=Contour Lines/INT_CONTOUR(NT)/Intermediate contour (should be used for about every 5th contour line)/NT</div><div><strong>0x10902</strong>=Contour Lines/MAJOR_CONTOUR(NT)/Major contour (should be used for about every 10th contour line)/NT</div><div><strong>0x10903</strong>=Contour Lines/MINOR_BATHY_CONTOUR(NT)/Minor bathymetric, or depth, contour/NT</div><div><strong>0x10904</strong>=Contour Lines/INT_BATHY_CONTOUR(NT)/Intermediate bathymetric, or depth, contour (should be used for about every 5th contour line)/NT</div><div><strong>0x10905</strong>=Contour Lines/MAJOR_BATHY_CONTOUR(NT)/Major bathymetric, or depth, contour (should be used for about every 10th contour line)/NT</div><div> </div><div>The first two types (<em>0x10105 and 0x10301</em>) seem to be string types.</div></div></div><div>But the rest of the types (<em>0x10900 … 0x10905</em>) are numeric and affected by the same subject problem :(</div><div> </div></div>PS: I haven't tested the new build yet.</div><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#2c2d2e; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-decoration-thickness:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px"> </div><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;"><div><br>Четверг, 2 марта 2023, 18:01 +03:00 от Gerd Petermann <gpetermann_muenchen@hotmail.com>:<br> <div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_16777692951963975157_BODY">Hi all,<br><br>OK, I see no problems to change this method in GType.java:<br> public static boolean isContourLine(MapLine line) {<br> return line.getType() >= 0x20 && line.getType() <= 0x22 && !(line instanceof MapShape);<br> }<br><br>All I have to do is to change 0x22 to 0x25, right?<br><br>Gerd<br><br>________________________________________<br>Von: mkgmap-dev <<a href="/compose?To=mkgmap%2ddev%2dbounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Vadim Karpov <<a href="/compose?To=bombur@mail.ru">bombur@mail.ru</a>><br>Gesendet: Donnerstag, 2. März 2023 14:38<br>An: <a href="/compose?To=mkgmap%2ddev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>Betreff: Re: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work<br><br>Hi<br><br>Yes.<br><br>Types 0x23.0x24.0x25 are used to create bathymetric maps.<br><br>Information from the MPCTypes.txt file (TypViewer application):<br><br>0x02000=Contour Lines/MINOR_CONTOUR/Minor land-based contour line/Non NT<br>0x02100=Contour Lines/INT_CONTOUR/Intermediate contour (should be used for about every 5th contour line)/Non NT<br>0x02200=Contour Lines/MAJOR_CONTOUR/Major contour (should be used for about every 10th contour line)/Non NT<br><br>0x02300=Contour Lines/MINOR_BATHY_CONTOUR/Minor bathymetric, or depth, contour/Non NT<br>0x02400=Contour Lines/INT_BATHY_CONTOUR/Intermediate bathymetric, or depth, contour (should be used for about every 5th contour line)/Non NT<br>0x02500=Contour Lines/MAJOR_BATHY_CONTOUR/Major bathymetric, or depth, contour (should be used for about every 10th contour line)/Non NT<br><br>Четверг, 2 марта 2023, 12:01 +03:00 от Ticker Berkin <<a href="/compose?To=rwb%2dmkgmap@jagit.co.uk">rwb-mkgmap@jagit.co.uk</a>>:<br><br>Hi<br><br>My understanding of the default Garmin usage is that<br> 0x20..0x22 are land/height contours (Minor to Major)<br> 0x23..0x25 are sea/depth " "<br><br>Ticker<br><br>On Thu, 2023-03-02 at 08:52 +0000, Gerd Petermann wrote:<div class="mail-quote-collapse">> Hi Vadim,<br>><br>> I see code in mkgmap to handle the statement with Elevation=m or<br>> Elevation=M, but it is only used for the line types 0x20 .. 0x22.<br>> Do you have a good reason to use line type 0x25 instead?<br>><br>> Gerd<br>><br>><br>> ________________________________________<br>> Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<<a href="/compose?To=%2fcompose%3fTo%3dmkgmap%252ddev%252dbounces@lists.mkgmap.org.uk">/compose?To=mkgmap%2ddev%2dbounces@lists.mkgmap.org.uk</a>>> im Auftrag<br>> von Vadim Karpov <bombur@mail.ru<<a href="/compose?To=%2fcompose%3fTo%3dbombur@mail.ru">/compose?To=bombur@mail.ru</a>>><br>> Gesendet: Mittwoch, 1. März 2023 13:00<br>> An: mkgmap-dev@lists.mkgmap.org.uk<<a href="/compose?To=%2fcompose%3fTo%3dmkgmap%252ddev@lists.mkgmap.org.uk">/compose?To=mkgmap%2ddev@lists.mkgmap.org.uk</a>><br>> Betreff: [mkgmap-dev] The "Elevation=M" in the header of the polish<br>> .MP files does not work<br>><br>> Good afternoon !<br>><br>> I am using the latest version of MkGMap and trying to create a depth<br>> chart with isolines (types 0x24, 0x25).<br>><br>> The problem is that the compiler interprets the depth specified in<br>> Meters as in Feet.<br>> The result is independent of the presence or value of the<br>> "Elevation=M" parameter.<br>><br>> And I didn't find an alternative command line option. :(<br>><br>> So how can I tell the compiler to treat all numerical depth and<br>> height values in an .MP file as meters and not feet?<br>><br>> Thanks for the advice.<br>><br>> PS: cGpsMapper works fine with "Elevation=M" of course.<br>> PPS: Example of polylyne defs:<br>><br>> [POLYLINE]<br>> Type=0x02500<br>> Label=21<br>> EndLevel=3<br>> Data0=(47.139263517000003,-122.560520313), ...<br>> [END]<br>><br>> [POLYLINE]<br>> Type=0x02500<br>> Label=12<br>> EndLevel=3<br>> Data0=(47.127846400000003,-122.562501059), ...<br>> [END]<br>><br>> --<br>> Vadim Karpov<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<<a href="/compose?To=%2fcompose%3fTo%3dmkgmap%252ddev@lists.mkgmap.org.uk">/compose?To=mkgmap%2ddev@lists.mkgmap.org.uk</a>><br>> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div><br><br>--<br>Vadim Karpov<br>Отправлено из Почты Mail.ru<https://trk.mail.ru/c/zzm979><br> </div></div></div></div></div></blockquote><div> <div>--<br>Vadim Karpov</div><div> </div></div></BODY></HTML>