Just a name difference currently. St_transform name was put in place to be more in line with OGC naming. Moving forward there might be a difference as transform is deprecated and may not be improved on and will eventually be removed.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Runesson Magnus Sent: Thursday, December 13, 2007 8:45 AM To: PostGIS Users Discussion Subject: SV: [postgis-users] Change projection in select? Thanks! What is the difference between st_transform and transform? I notice that both are wotking for me. Regards, /Magnus, SMHI -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Obe, Regina Skickat: den 13 december 2007 14:29 Till: PostGIS Users Discussion Ämne: RE: [postgis-users] Change projection in select? SELECT AsText(ST_Transform(geom, 3021)) FROM mytable If you are using a pre-1.2 install of PostGIS you may need to use transform(geom,3021) instead of st_transform(geom,3021) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Runesson Magnus Sent: Thursday, December 13, 2007 8:22 AM To: [email protected] Subject: [postgis-users] Change projection in select? I have a table where my geometries are saved in SRID 4326. To get my result in text I do: SELECT asText(geom) FROM myTable; Sometimes I want to get my results from the select in 3021 instead. Can I do that? How do I do that? Regards, /Magnus, SMHI _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users ----------------------------------------- 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. _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
