[postgis-users] Question on transform.

Luis Mota luis.mota at iscte.pt
Wed Oct 2 16:15:53 PDT 2002


Hi.

As far as I know, I have proj4 installed... But it was a difficult 
installation, therefore I'm not too sure... I think it is installed, since:
- I have a ' proj4text ' column on the spatial_ref_sys table and
- a query like select transform(geomfromtext('POINT(100000 
150000)',20790),102165) results in POINT(699252.037333454 
-120288.63384568). These are two PROJCS's.

Does this mean it is correctly installed? How can I verify this?

I would anyway like to ask the Proj4 people if this works... But I don't 
know how their SW is being used by PostGIS... Is there a specific 
function that you use? Which one? Or are the Proj4 people familiar to 
PostGIS?

Thanks, bye, Luís

Andy Turk wrote:

>On Wednesday 02 October 2002 03:55 pm, Luis Mota wrote:
>
>>Hi everyone.
>>
>>I've been using the transform function, but I have some surprising
>>results...
>>
>
>
>>ie, exacly the same point... This is obviously wrong, since the two
>>GEOGCS's are different. For instance, the prime meridian is different..
>>
>>Is it possible that I have some instalation problem? Was this a bug
>>corrected in a later version?
>>
>>Thanks for any help.
>>
>>Bye, Luís
>>
>
>I had the same problem. Then I noticed that Proj.4 wasn't installed on that 
>machine. Make sure that you've got Proj.4 installed and that its library is 
>available to postgres.
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>






More information about the postgis-users mailing list