[postgis-users] transform question

Don Drake don at drakeconsult.com
Mon Apr 10 19:28:06 PDT 2006


I have map data that I found out is in Old Hawaiian projection, so I tried
transforming some points from WGS84 to Old Hawaiian.  

 

When looking at these transformed points, they're not in the right place.
Here's the output from an example point:

geo=> select astext(transform((geomfromtext('POINT(-157.472827
21.429078)',4326)),4135));

               astext                

-------------------------------------

 POINT(-157.472827 21.4305360069889)

(1 row)

 

As you can see, the longitude didn't change, just the latitude.     Any
ideas?

 

geo=> select postgis_full_version();

                               postgis_full_version


----------------------------------------------------------------------------
------

 POSTGIS="1.1.0" GEOS="2.2.1-CAPI-1.0.1" PROJ="Rel. 4.4.9, 29 Oct 2004"
USE_STATS

(1 row)

 

-Don

 

Donald Drake

President

Drake Consulting

http://www.drakeconsult.com/

312-560-1574

800-733-2143

 

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


More information about the postgis-users mailing list