<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
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
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-US" link="blue" vlink="purple">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Assuming you're sending the request in pixels, along with a map extent, MapServer will convert
 the point based on the SRS of the extent you passed. I'm thinking that won't get you what you want and I'm not sure of a way to do so. The various extent tags have projection capabilities built in but the point ones don't.<br>
<br>
Steve<br>
</span><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF876424"><font color="#000000" face="Tahoma" size="2"><b>From:</b> mapserver-users-bounces@lists.osgeo.org [mapserver-users-bounces@lists.osgeo.org] on behalf of Fawcett, David (MPCA) [David.Fawcett@state.mn.us]<br>
<b>Sent:</b> Friday, September 07, 2012 8:36 AM<br>
<b>To:</b> Andrea Peri; mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] retrieve map coordinates with different EPSG<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I looked at the documentation because I haven’t used in a while.  The docs aren’t clear, but seem to imply that MAPXY should return coordinates in the same
 spatial reference system as the layer that you are querying. </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I kind of think that they should be in the spatial reference system of the map.  Either way, try setting the map projection to the SRS that you want to get
 the coordinates back in.  You will also have to change the extent values.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">David.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">http://mapserver.org/cgi/controls.html</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Andrea Peri<br>
<b>Sent:</b> Friday, September 07, 2012 4:18 AM<br>
<b>To:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> [mapserver-users] retrieve map coordinates with different EPSG</span></p>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
Usign the templating capabilities of mapserver.<br>
I need the parameters [mapx] and [mapy] will return the coordinate of a clicked point.<br>
<br>
I possible in the templates set semothing to have this coordinates [mapx], [mapy] in a different
<br>
SRS ?<br>
I see there is the [maplon] and [maplat] parameter.<br>
But I need have the coords in another projected EPSG system rather than geographic 4326.<br>
<br>
Thx<br>
<br>
-- <br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . . <br>
qwerty àèìòù<br>
-----------------</p>
</div>
</div>
</div>
</div>
</body>
</html>