<div dir="ltr"><div><div><div>Hi Carlos,<br><br>Using C-style formatting string, I can only use %g, %f, etc., but it is applied to Degrees component.<br><br>What I need is something like "%gº %3.2f", in whitch %gº is for the Degrees, and %3.2f for the decimal Minutes.<br><br>Unfortunately, LABELFORMAT "DDMM" gives only the integer part of Degrees and Minutes.<br><br></div>Thank you very much.<br><br></div>Best regards,<br></div>Pedro<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-08 2:46 GMT+00:00 Carlos Ruiz <span dir="ltr"><<a href="mailto:boolean10001@yahoo.com" target="_blank">boolean10001@yahoo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4381"><span>Well, current Mapserver documentation guide says the following:</span></div><div><br></div><div>LABELFORMAT [DD|DDMM|DDMMSS|C format string]</div><dl id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4527"><dd id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4529">Format of the label. “DD” for degrees, “DDMM” for degrees minutes, and
“DDMMSS” for degrees, minutes, seconds. <b id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4556">A C-style formatting string is
also allowed, such as “%g°” to show decimal degrees with a degree symbol.
The default is decimal display of whatever SRS you’re rendering the GRID
with.</b></dd></dl><div id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4382"><div>This sounds like that is what you are looking for.</div><div><br></div><div id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4574">Cheers<br> </div></div><div class="m_-9091210831875691142qtdSeparateBR" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4530"><br></div><div class="m_-9091210831875691142yahoo_quoted" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4534" style="display:block">  <div style="font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4533"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4532"> <div dir="ltr" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4531"> <font id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4548" size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold">From:</span></b> Pedro Venâncio <<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<wbr>org</a> <br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, March 7, 2017 11:42 AM<br> <b><span style="font-weight:bold">Subject:</span></b> [mapserver-users] Mapserver GRID in degrees decimal minutes format<br> </font> </div> <div class="m_-9091210831875691142y_msg_container" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4537"><div><div class="h5"><br><div id="m_-9091210831875691142yiv3830922348"><div dir="ltr" id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4536"><div id="m_-9091210831875691142yui_3_16_0_ym19_1_1488940829447_4535">Hi all,<br><br>I would like to use a GRID [0], but in degrees decimal minutes LABELFORMAT. Something like:<br>40 46.817 -7 4.327<br><br></div>Is this somehow possible in actual Mapserver version?<br><div><br>Thank you very much!<br><br></div><div>Best regards,<br></div><div>Pedro Venâncio<br></div><div><br>[0] <a rel="nofollow" href="http://mapserver.org/mapfile/grid.html" target="_blank">http://mapserver.org/mapfile/<wbr>grid.html</a><br></div></div></div><br></div></div>______________________________<wbr>_________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<wbr>org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/mapserver-<wbr>users</a><br><br></div> </div> </div>  </div></div></div></blockquote></div><br></div>