[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] NAD conversion problem
From:       "Richard Greenwood" <richard.greenwood () gmail ! com>
Date:       2008-12-19 5:22:00
Message-ID: ae9185aa0812182122k663a1262o11949d4e38c8dd25 () mail ! gmail ! com
[Download RAW message or body]

On Thu, Dec 18, 2008 at 11:20 AM, Bruce Rindahl <rindahl@lrcwe.com> 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
richard.greenwood@gmail.com
www.greenwoodmap.com
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic