Hi list,<br><br>I have got the following code:<br><br>$pointObj=ms_newPointObj();<br>$pointObj-&gt;setXY($x,$y);<br>$pointObj-&gt;project(ms_newProjectionObj(&quot;init=&quot;.$srsIn), ms_newProjectionObj(&quot;init=&quot;.$srsOut));<br>
<br>$xout=$pointObj-&gt;x;<br>$yout=$pointObj-&gt;y;<br><br><br>$srsIn is epsg:32612 and $srsOut is epsg:4326. The issue is that the point modified has the correct value for the Y coordinate already converted in the X field, and viceversa. So that I get a point with the X and Y coordinates interchanged. <br>
<br>The input coordinates are: <br>$x = 642138<br>$y = 2983678<br><br>And the result:<br>$pointObj-&gt;x = -109.5678723348<br>$pointObj-&gt;y = 26.967831676085<br><br>I think this is not the expected result. I have checked it with mapscript from  Mapserver 4.10 and 5.6.3. I have looked for a bug or something similar that could cause that. Anyone with the same problem?<br>
<br>Cheers,<br>Juan Manuel Moreno Rivera.<br>