[postgis-users] transformation discrepancy with postgis v. cs2cs

Bryan Keith bryan at ideotrope.org
Fri Mar 26 07:09:15 PDT 2010


> On 25 March 2010 14:28, Bryan Keith <bryan at ideotrope.org> wrote:
>> Hmmm, for my original post I did the cs2cs check on a different machine.
>> When I run the cs2cs transformation on the machine that's running
>> postgis,
>> then I get the same result that postgis returns.  Does this mean that
>> cs2cs isn't finding the grid shift files either?  Or does it mean that
>> it's using the wrong grid shift files?  Or?
>>
>> Bryan
>
> Something is definitely strange with the PROJ.4 installation on that
> one system. If I had to guess, you compiled PROJ.4 yourself, but
> didn't unzip the gridshift files in the nad folder before ./configure
> ? It should be apparent that the grid shift files are installed with
> the make install command.

Mike,

Thanks for the reply.

I certainly don't think I compiled anything myself.  I'm on Ubuntu/Debian
and installed postgres, postgis, gdal, and the gdal/ogr Python bindings
with apt-get.  I don't know that I ever explicitly installed proj.4, but I
figured it was installed because I have the cs2cs executable.  I've
installed some other GIS-type stuff like Quantum.

>
> Try reinstalling the PROJ.4 library with the gridshift files intact,
> and it should affect both PostGIS and cs2cs (since they use the same
> system library).

Should I just try:

sudo apt-get install proj

?

Bryan

>
> -Mike
> _______________________________________________
> 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