<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</STYLE>
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText9219 dir=ltr>
<DIV dir=ltr><FONT face="Times New Roman" color=#000000 size=2>Fernando,</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman"></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman">Check out my column on Perú in <EM>Photogrammetric Engineering and Remote Sensing</EM> from May of 2006. I have more than one set of parameters listed between PSAD56 and WGS84. (One is from the U.S. Military, and a different one is from the Instituto Geografico Militar in Perú.)</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman"></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman"><A href="http://www.ASPRS.org/resources/grids">www.ASPRS.org/resources/grids</A></FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman"></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman">C. Mugnier</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman">LSU</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> proj-bounces@lists.maptools.org on behalf of Fernando Javier Luyo Zegarra<BR><B>Sent:</B> Wed 01-Apr-09 14:32<BR><B>To:</B> proj@lists.maptools.org<BR><B>Subject:</B> Re: [Proj] Error during the coordinate transformation?<BR></FONT><BR></DIV>
<DIV><BR>Hi<BR>
<DIV id=result_box dir=ltr style="TEXT-ALIGN: left">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 face="Times New Roman" color=#000000 size=2>Dear Fernando:</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman"></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman">What country is this, and what parameters did you use. I suspect you're in Venezuela ... please confirm.</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman"></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman">Estan usted en la Republica de Venezuela? Esta verdad?</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman"></FONT> </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 face=Tahoma size=2><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> 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> X = 264365.2955 Y = 8665287.3660 Z = 0.0000<BR><BR>The result of the transformation is:<BR><BR> 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> 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 Y = 8665287.3660 Z = 0.0000<BR><BR>El resultado de la transformacion es: <BR><BR>X = 264366.1196 Y = 8665292.17 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 Y = 8664919.0231 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< br><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&mkt=en-US&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></DIV></BODY></HTML>