<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Hi<br><div style="text-align: left;" id="result_box" dir="ltr">The code corresponds to Perú<br>Fernando<br></div><br><br><br><br><br><hr id="stopSpelling">Date: Tue, 31 Mar 2009 16:17:29 -0500<br>From: cjmce@lsu.edu<br>To: proj@lists.maptools.org; proj@lists.maptools.org<br>Subject: Re: [Proj] Error during the coordinate transformation?<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>



<div id="EC_idOWAReplyText2608" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Times New Roman">Dear Fernando:</font></div>
<div dir="ltr"><font face="Times New Roman"></font>&nbsp;</div>
<div dir="ltr"><font face="Times New Roman">What country is this, and what parameters did you use.&nbsp; I suspect you're in Venezuela ... please confirm.</font></div>
<div dir="ltr"><font face="Times New Roman"></font>&nbsp;</div>
<div dir="ltr"><font face="Times New Roman">Estan usted en la Republica de Venezuela?&nbsp; Esta verdad?</font></div>
<div dir="ltr"><font face="Times New Roman"></font>&nbsp;</div>
<div dir="ltr"><font face="Times New Roman">C. Mugnier</font></div>
<div dir="ltr"><font face="Times New Roman">Louisiana State University</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> proj-bounces@lists.maptools.org on behalf of Fernando Javier Luyo Zegarra<br><b>Sent:</b> Tue 31-Mar-09 16:11<br><b>To:</b> proj@lists.maptools.org<br><b>Subject:</b> [Proj] Error during the coordinate transformation‏<br></font><br></div>
<div>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<br>Hello,<br><br>I'm developed a routine for transforming coordinates of points which are in PSAD56 Zone 18S (srid = 24878) to Wgs84 Zone 18s (srid = 32718)<br><br>The items are stored in the fields "geom" the table "MyTable" (srid = 24878).<br><br>To perform the operation using the following syntax:<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select Transform (geom, 32718) from MyTable<br><br><br>Reviewing the results found that there is an error:<br><br><br>Example:<br><br>Point in Psad56 Zn 18s<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X = 264365.2955 Y = 8665287.3660 Z = 0.0000<br><br>The result of the transformation is:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X = 264366.1196 Y = 8665292.17 Z = 0.0000<br><br>However, the same point in cartografia WGS84 Zone 18S has the following coordinates:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X = 264143.0640 Y = 8664919.0231 Z = 0.0000<br><br>Apparently the SRID of the parameters are not properly used or applied incorrectly the function Transform ()<br><br>While waiting for your help<br><br><br>Fernando Luyo<br>pd: Sorry for my bad English<b><br>**************************************************<br><br>Hola<br><br>Estoy elaborando una rutina para transformar coordenadas de puntos que estan en PSAD56 Zona 18S (srid=24878) a Wgs84 Zona 18s (srid=32718)<br><br>Los puntos estan almacenados en el campo "geom" de la tabla "MyTable" (srid=24878).<br><br><br>Para realizar la operacion estoy usando la siguiente sintaxis:<br><br><br>select Transform(geom,32718) from MyTable<br><br>Al revisar los resultados encontre que hay un error :<br><br>Ejemplo : <br><br>Punto en Psad56 Zn 18s<br><br>X = 264365.2955&nbsp;&nbsp;&nbsp;&nbsp; Y = 8665287.3660&nbsp;&nbsp;&nbsp;&nbsp; Z = 0.0000<br><br>El resultado de la transformacion es: <br><br>X = 264366.1196&nbsp;&nbsp;&nbsp;&nbsp; Y = 8665292.17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Z = 0.0000<br><br>Sin embargo, el mismo punto en cartografia en WGS84 Zona 18S tiene las siguientes coordenadas:<br><br>X = 264143.0640&nbsp;&nbsp;&nbsp;&nbsp; Y = 8664919.0231&nbsp;&nbsp;&nbsp;&nbsp; Z = 0.0000<br><br>Al parecer los parametros de los SRID usado no estan correctos o estoy aplicando mal la funcion Transform()<br><br>A la espera de su ayuda&lt; br&gt;<br>saludos<br><br>Fernando Luyo<br><br>**************************************************<br><br><br><br>
<hr>
Discover the new Windows Vista <a href="http://search.msn.com/results.aspx?q=windows+vista&amp;mkt=en-US&amp;form=QBRE">Learn more!</a> </b></div><br /><hr />Connect to the next generation of MSN Messenger   <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline' target='_new'>Get it now! </a></body>
</html>