Hi<br><br>I am trying to test the datum shift (using nzgd2kgrid0005.gsb file) for conversions between NZGD2000 and NZGD49(NZMG).<br><br>I have downloaded the proj-datumgrid-1.3.zip file, and extracted everything under the nad directory.
<br><br>configured, make, and make install. However the gsb file does not get copied to /usr/local/share/proj<br><br>I copied it across but postgis does not appear to use it i.e. my transformed coordinates are not correct, as verified by the linz website and other software that uses the grid file.
<br><br>I then tried to use cs2cs to validate it but all attempts at specifying the projections and datums gave me errors.<br><br>I have tried multiple versions of:<br><br>cs2cs +proj=latlong +datum=nzgd2000 +nadgrids=nzgd2kgrid0005 +to +proj=nzmg +datum=nzgd49
<br><br>After setting PROJ_DEBUG I get:<br><br>pj_open_lib(proj_def.dat): call fopen(/usr/local/share/proj/proj_def.dat) - succeeded<br>Using from definition: proj=latlong datum=nzgd2000 nadgrids=nzgd2kgrid0005<br>Rel. 4.4.9
, 29 Oct 2004<br><cs2cs>:<br>projection initialization failure<br>cause: unknown elliptical parameter name<br>program abnormally terminated<br><br>Tried upper and lower case NZGD2000, NZGD49, NZMG, latlong, longlat, without nadgrids???
<br>Do I have to add an ellipsoid to the projection definitions for cs2cs?<br><br>The grid shift file does not appear to mentioned in any of the files in /usr/local/share/proj is that normal?<br><br>Some pointers would be appreciated.
<br><br>Simon<br><br><br>