<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">That would be best I think.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Pedro Venâncio<br>
<b>Sent:</b> Thursday, March 09, 2017 3:37 AM<br>
<b>To:</b> Jeff McKenna <jmckenna@gatewaygeomatics.com><br>
<b>Cc:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] Mapserver GRID in degrees decimal minutes format<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Jeff,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thank you very much!<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Do you think it would be a good improvement to GRIDs? Should we open a feature request?<o:p></o:p></p>
</div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Pedro<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2017-03-08 22:55 GMT+00:00 Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Hi Pedro,<br>
<br>
Actually I tried yesterday with that same world countries mapfile that was used in the map images for the examples in the documentation, and I was unsuccessful for your exact requirements.  (but I did notice a mistake on that documentation page and fixed it
 yesterday!)  So your question helped improve the documentation, but I am sorry to report that I don't believe it is possible with MapServer.<br>
<br>
<br>
-jeff<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
<br>
<br>
On 2017-03-08 6:42 PM, Pedro Venâncio wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Hi Carlos,<br>
<br>
Using C-style formatting string, I can only use %g, %f, etc., but it is<br>
applied to Degrees component.<br>
<br>
What I need is something like "%gº %3.2f", in whitch %gº is for the<br>
Degrees, and %3.2f for the decimal Minutes.<br>
<br>
Unfortunately, LABELFORMAT "DDMM" gives only the integer part of Degrees<br>
and Minutes.<br>
<br>
Thank you very much.<br>
<br>
Best regards,<br>
Pedro<br>
<br>
<br>
<br>
2017-03-08 2:46 GMT+00:00 Carlos Ruiz <<a href="mailto:boolean10001@yahoo.com" target="_blank">boolean10001@yahoo.com</a><br>
<mailto:<a href="mailto:boolean10001@yahoo.com" target="_blank">boolean10001@yahoo.com</a>>>:<br>
<br>
    Well, current Mapserver documentation guide says the following:<br>
<br>
    LABELFORMAT [DD|DDMM|DDMMSS|C format string]<br>
<br>
        Format of the label. “DD” for degrees, “DDMM” for degrees<br>
        minutes, and “DDMMSS” for degrees, minutes, seconds. *A C-style<br>
        formatting string is also allowed, such as “%g°” to show decimal<br>
        degrees with a degree symbol. The default is decimal display of<br>
        whatever SRS you’re rendering the GRID with.*<br>
<br>
    This sounds like that is what you are looking for.<br>
<br>
    Cheers<br>
<br>
    ------------------------------------------------------------------------<br>
    *From:* Pedro Venâncio <<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a><br>
    <mailto:<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>>><br>
    *To:* <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
    <mailto:<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><br>
    *Sent:* Tuesday, March 7, 2017 11:42 AM<br>
    *Subject:* [mapserver-users] Mapserver GRID in degrees decimal<br>
    minutes format<br>
<br>
    Hi all,<br>
<br>
    I would like to use a GRID [0], but in degrees decimal minutes<br>
    LABELFORMAT. Something like:<br>
    40 46.817 -7 4.327<br>
<br>
    Is this somehow possible in actual Mapserver version?<br>
<br>
    Thank you very much!<br>
<br>
    Best regards,<br>
    Pedro Venâncio<br>
<br>
    [0] <a href="http://mapserver.org/mapfile/grid.html" target="_blank">http://mapserver.org/mapfile/grid.html</a><br>
    <<a href="http://mapserver.org/mapfile/grid.html" target="_blank">http://mapserver.org/mapfile/grid.html</a>><o:p></o:p></p>
</blockquote>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>