[postgis-users] NAD conversion problem
Richard Greenwood
richard.greenwood at gmail.com
Thu Dec 18 21:22:00 PST 2008
On Thu, Dec 18, 2008 at 11:20 AM, Bruce Rindahl <rindahl at 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 at gmail.com
www.greenwoodmap.com
More information about the postgis-users
mailing list