<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [postgis-users] Coordinates transform</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Yes. Use ST_Transform.<BR>
<BR>
<BR>
Basic approach is<BR>
1) bring your data in with right SRID<BR>
2) Use AddGeometrycolumn to add a new column<BR>
<A HREF="http://postgis.refractions.net/documentation/manual-svn/AddGeometryColumn.html">http://postgis.refractions.net/documentation/manual-svn/AddGeometryColumn.html</A> to add a new column with new srid you want to use<BR>
<BR>
3) Update the new column with<BR>
UPDATE new_column SET new_column = ST_Trasform(old_column, old_srid, new_srid);<BR>
<BR>
<A HREF="http://postgis.refractions.net/documentation/manual-svn/ST_Transform.html">http://postgis.refractions.net/documentation/manual-svn/ST_Transform.html</A><BR>
<BR>
<BR>
4)Drop the old column with DropGeometryColumn<BR>
<A HREF="http://postgis.refractions.net/documentation/manual-svn/DropGeometryColumn.html">http://postgis.refractions.net/documentation/manual-svn/DropGeometryColumn.html</A><BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: postgis-users-bounces@postgis.refractions.net on behalf of Lonelu Lukas<BR>
Sent: Tue 11/11/2008 9:06 AM<BR>
To: postgis-users@postgis.refractions.net<BR>
Subject: [postgis-users] Coordinates transform<BR>
<BR>
Hi All,<BR>
<BR>
I have a list of longitude / latitude records in TM65 projection which<BR>
needs to be transformed into Google Map standard (UTM). Is Postgis proper<BR>
tool for that kind of transformations ? I mean .. can I import the data and<BR>
then use sql function to transform the data ? If yes could you point me<BR>
somewhere I could start ?<BR>
<BR>
<BR>
Regards,<BR>
<BR>
Luk<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>
<HTML><BODY><P><hr size=1></P>
<P><STRONG>
The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer.
</STRONG></P></BODY></HTML>
<P><hr size=1></P>
<P><STRONG><font size="2" color="339900"> Help make the earth a greener place. If at all possible resist printing this email and join us in saving paper. </p> <p> </font></STRONG></P>