[postgis-users] Problem with transformation (NAD80 to SPCS)

Michael Fuhr mike at fuhr.org
Fri May 26 12:59:19 PDT 2006


On Fri, May 26, 2006 at 02:43:38PM -0500, CYW wrote:
> select AsText(Transform(GeometryFromText('POINT(41.783333 -88.051944)',
> 4269), 99999));
> 
> The response I got, which is wrong, is:
> POINT(1531185.06921148 -46594510.0726977)

Coordinates are (X Y), so use (lon lat) instead of (lat lon).  Does
the following look better?

SELECT AsText(Transform(GeometryFromText('POINT(-88.051944 41.783333)', 4269), 99999));
                  astext                  
------------------------------------------
 POINT(1060994.15260082 1863762.75811359)

-- 
Michael Fuhr



More information about the postgis-users mailing list