[Proj] New Zealand Map grid projection

Claire Castellazzi c.castellazzi at niwa.co.nz
Mon Mar 28 17:33:54 PDT 2011


Hi Hamish, 

It's fixed ! Thanks a lot for your help ! 

I have two computers running proj. Mine and a remote one. The remote one doesn't have the  
nzgd2kgrid0005.gsb file, so that's what it was.  

My computer does have the file  /usr/share/proj/nzgd2kgrid0005.gsb, but it was giving 0 as a result... 

$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 
2864916.8 6160570.9 
 0.000 

So I tried : 

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 
# ---- From Coordinate System ---- 
#New Zealand Map Grid 
#fixed Earth 
# +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 
# +ellps=intl 
#--- following specified but NOT used 
# +towgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993 
# ---- To Coordinate System ---- 
#Universal Transverse Mercator (UTM) 
#Cyl, Sph 
#zone= south 
# +proj=utm +zone=60 +south +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0 



There was just some wrong path associated with the proj I was using... It's working well now... 
Thanks again. 
Cheers 
Claire 

Please consider the environment before printing this email.

NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20110329/2369f37f/attachment.html>


More information about the Proj mailing list