<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Silly me.</DIV>
<DIV> </DIV>
<DIV>Disregard my last email. I found the issue on my side!</DIV>
<DIV> </DIV>
<DIV>Cheers</DIV>
<DIV>Jeremy<BR><BR>>>> Jeremy Palmer 13/04/2007 12:04 >>><BR></DIV>
<DIV style="FONT: 10pt Tahoma; COLOR: #000000">
<DIV>Hi Frank,</DIV>
<DIV> </DIV>
<DIV>Thanks for the quick reply again!</DIV>
<DIV> </DIV>
<DIV>I tried using:</DIV>
<DIV> </DIV>
<DIV>"+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 ellps=intl </DIV>
<DIV>+datum=nzgd49 +units=m +nadgrids=nzgd2kgrid0005.gsb +wktext"</DIV>
<DIV> </DIV>
<DIV>but its creating a DATUM = "unknown" in the WKT which the mitab driver relies on for setting the correct datum. Is there someway I can set the coordinate system datum for the WKT?</DIV>
<DIV> </DIV>
<DIV>Or should I just hack proj4 to use the NZGD49 <=> NZGD2000 grid...?</DIV>
<DIV> </DIV>
<DIV>Thanks Jeremy.<BR><BR>>>> Frank Warmerdam <warmerdam@pobox.com> 13/04/2007 09:52 >>><BR></DIV>
<DIV style="COLOR: #000000">Jeremy Palmer wrote:<BR>> Hi,<BR>> <BR>> Is is possible to update the projection definitions that ogr2ogr uses to <BR>> include the use of a custom nad grid? I know you can specific the proj4 <BR>> def on the command line, but it would be useful to be able to update the <BR>> gdal data defintions files so I can just use the EPSG srid on the <BR>> command line.<BR>> <BR>> i.e<BR>> <BR>> "ogr2ogr -f "Mapinfo File" temp PG:dbname=xxxx -t_srs EPSG:27200 table"<BR>> <BR>> instead of<BR>> <BR>> ogr2ogr -f "Mapinfo File" temp PG:dbname=xxxx -t_srs "+proj=nzmg <BR>> +lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 +ellps=intl <BR>> +datum=nzgd49 +units=m +no_defs <> +nadgrids=nzgd2kgrid0005.gsb" table<BR></DIV></DIV>
<DIV>
<HR>
<DIV>This message contains information, which is confidential and may be subject
to legal privilege. <BR>If you are not the intended recipient, you must not
peruse, use, disseminate, distribute or copy this message.<BR>If you have
received this message in error, please notify us immediately (Phone 0800 665 463
or <A href="mailto:sinfo@linz.govt.nz">info@linz.govt.nz</A> ) and destroy the
original message.</DIV>
<DIV>LINZ accepts no responsibility for changes to this email, or for any
attachments, after its transmission from LINZ.</DIV>
<DIV> </DIV>
<DIV><STRONG>Thank you.</STRONG> <BR></DIV>
<HR>
</DIV>
</BODY></HTML>