<html>
<head>
</head>
<body style="margin-left: 4px; font-variant: normal; line-height: normal; margin-right: 4px; font-size: 10pt; font-family: Dialog; margin-top: 4px; font-weight: normal; font-style: normal; margin-bottom: 1px">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Hi Hamish,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">It's fixed ! Thanks a lot for your help !</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">I have two computers running proj. Mine and a remote one. The remote one doesn't have the </font> </p>
<p style="margin-top: 0; margin-bottom: 0">
nzgd2kgrid0005.gsb<font face="Dialog" size="2"> file, so that's what it was. </font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">My computer does have the file </font> /usr/share/proj/nzgd2kgrid0005.gsb<font face="Dialog" size="2">, but it was giving 0 as a result...</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">$cs2cs +proj=nzmg +datum=nzgd49 +lat_0=-41.0 +lon_0=173.0 +x_0=2510000 +y_0=6023150 +a=6378388 +rf=297 +no_defs +nadgrids=nzgd2kgrid0005.gsb +to_meter=1.0 +to +proj=utm +zone=60 +south +datum=WGS84</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">2864916.8 6160570.9</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"> 0.000</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">So I tried :</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">cs2cs +proj=nzmg +datum=nzgd49 +lat_0=-41.0 +lon_0=173.0 +x_0=2510000 +y_0=6023150 +a=6378388 +rf=297 +no_defs +nadgrids=nzgd2kgrid0005.gsb +to_meter=1.0 +to +proj=utm +zone=60 +south +datum=WGS84 -v</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># ---- From Coordinate System ----</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">#New Zealand Map Grid</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">#fixed Earth</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># +proj=nzmg +datum=nzgd49 +lat_0=-41.0 +lon_0=173.0 +x_0=2510000 +y_0=6023150</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># +a=6378388 +rf=297 +no_defs +nadgrids=nzgd2kgrid0005.gsb +to_meter=1.0</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># +ellps=intl</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">#--- following specified but NOT used</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># +towgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># ---- To Coordinate System ----</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">#Universal Transverse Mercator (UTM)</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">#Cyl, Sph</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">#zone= south</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2"># +proj=utm +zone=60 +south +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
</p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">There was just some wrong path associated with the proj I was using... It's working well now...</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Thanks again.</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Cheers</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Dialog" size="2">Claire</font> </p>
<br>
<BR>
<div>
Please consider the environment before printing this email.<br><br>NIWA
is the trading name of the National Institute of Water & Atmospheric
Research Ltd.
</div>
</BODY></HTML>