On Thu, Dec 18, 2008 at 11:20 AM, Bruce Rindahl <[email protected]> wrote:
> So if you have a Debian install where do you get the grid shift files and
> where do you copy them?
> Thanks
> Bruce

Being a Ubuntu/Debian knob, I am probably not the best person to
answer this, but one way is to build Proj from source. Building Proj
is very easy as it does not have dependencies.  However, if you just
do a:
   ./configure
   make
   make install
the binary datum grid shift files will be placed in
   /usr/local/share/proj/
The Ubuntu/Debian convention is for the files to go in
   /usr/share/proj
So to follow the Ubuntu/Debian structure, you would install Proj to a
temporary directory, and then copy the binary datum grid shift to
/usr/share/proj

So step by step: From http://trac.osgeo.org/proj/ download and unpack
the source, currently proj-4.6.1.tar.gz or proj-4.6.1.zip and then
download the ASCII datum grid shift files proj-datumgrid-1.4.zip. The
grid shift files must be unpacked into the Proj source  nad/
directory. For example
   proj-4.6.1/nad
Then configure to with a prefix to a temporary location, for example:we
   ./configure --prefix=$HOME/proj
   make
   make install
The binary datum grid shift files are created in the 'make install'
step. These files are platform specific, so do not copy Windows files
to a Linux computer, or vice versa.

Now copy the datum grid shift files to  /usr/share/proj
   sudo cp ~/proj/nad/* /usr/share/proj

-- 
Richard Greenwood
[email protected]
www.greenwoodmap.com
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to