[postgis-users] I can't make sense of this.

Ronald Phillips rphillips at summitengineer.net
Thu May 20 09:38:16 PDT 2010


SELECT   

            ST_AsText(

                        ST_GeomFromText('POINT(-81.064544 40.28787)',
3857)

                        ) 

AS goog, 

            ST_AsText(

                        ST_Transform(

                                    ST_GeomFromText('POINT(-81.064544
40.28787)', 3857)

                        , 4326)

            ) 

AS gcs

 

3857 is "Google's" SRID, and 4326 is a fairly standard GPS SRID. I'm
getting this:

 

Goog: "POINT(-81.064544 40.28787)";

Gcs: "POINT(-0.000728215188753794 0.000361912093851508)"

 

What am I doing wrong, that they're so different?

 

Ronald Phillips, B.S., M.S.

Programmer/Analyst

 

Summit County Engineer

538 E. South St.

Akron OH 44311

330.643.8061

http://www.linkedin.com/in/rwphillips

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100520/38b14306/attachment.html>


More information about the postgis-users mailing list