<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-GB;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">I am using the GDAL API for Python for a script that takes only EPSG codes for inputs
 to specify source and target coordinate systems.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">While the cs2cs command seems to handle quite well transformation between NAD27 (EPSG:4267)
 and NAD83 (EPSG:4326) coordinates in North America, I would like to have similar capabilities for AGD66 (EPSG:4202) to GDA94 (EPSG:4283) and AGD84 (EPSG:4203) to GDA94 (EPSG:4283) in Australia.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">When using the -v option with cs2cs to look at the proj string being used i get the
 following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >cs2cs -v +init=epsg:4267<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># ---- From Coordinate System ----<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#Lat/long (Geodetic alias)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +init=epsg:4267 +proj=longlat +datum=NAD27 +no_defs +ellps=clrk66<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +nadgrids=@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># ---- To Coordinate System ----<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#Lat/long (Geodetic alias)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +proj=latlong +datum=NAD27 +ellps=clrk66<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +nadgrids=@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">The nadgrids parameters tells cs2cs to use the best fitting datum grid shift file
 from conus, alaska, ntv2_0.gsb, and ntv1_can.dat.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">For AGD66 (EPSG:4202) cs2cs returns:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >cs2cs -v +init=epsg:4202<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># ---- From Coordinate System ----<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#Lat/long (Geodetic alias)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +init=epsg:4202 +proj=longlat +ellps=aust_SA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +towgs84=-117.808,-51.536,137.784,0.303,0.446,0.234,-0.29 +no_defs<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># ---- To Coordinate System ----<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#Lat/long (Geodetic alias)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    >#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +proj=latlong +ellps=aust_SA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-GB">    ># +towgs84=-117.808,-51.536,137.784,0.303,0.446,0.234,-0.29<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">There is no nadgrids parameter but a towgs84 instead. A grid shift file from the
 ICSM; "A66 National (13.09.01).gsb" contains the shift between AGD66 and GDA94.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">How can I make GDAL/cs2cs/proj identify this file when using EPSG codes?<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">I tried to reinstall GDAL/cs2cs/proj using the osgeo4w installer with A66 National
 (13.09.01).gsb within the directory containing the other datum shift files prior to the reinstallation but without success.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I also posted an enhancement ticket on Trac:<o:p></o:p></p>
<p class="MsoNormal"><a href="http://trac.osgeo.org/gdal/ticket/5085">http://trac.osgeo.org/gdal/ticket/5085</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thomas<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:teal;mso-fareast-language:EN-GB"><img border="0" width="106" height="46" id="Picture_x0020_1" src="cid:image001.jpg@01CE524D.F217D290" alt="Description: cid:image002.gif@01CBC6E3.6EDE0130"></span></b><span lang="FR-CA" style="color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="FR-CA" style="font-family:"Arial","sans-serif";color:teal;mso-fareast-language:EN-GB">Thomas Campagne, M.Sc. Geophysics, Consultant<br>
</span></b><b><span lang="FR-CA" style="font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">A</span></b><b><span lang="FR-CA" style="font-size:9.0pt;font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">DVANCED</span></b><b><span lang="FR-CA" style="font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">
 G</span></b><b><span lang="FR-CA" style="font-size:9.0pt;font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">EOPHYSICAL</span></b><b><span lang="FR-CA" style="font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">
 I</span></b><b><span lang="FR-CA" style="font-size:9.0pt;font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">NTERPRETATION</span></b><b><span lang="FR-CA" style="font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">
 C</span></b><b><span lang="FR-CA" style="font-size:9.0pt;font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB">ENTRE</span></b><b><span lang="FR-CA" style="color:#B41B2F;mso-fareast-language:EN-GB"><br>
</span></b><span lang="EN-CA" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:teal;mso-fareast-language:EN-GB"><a href="http://www.mirageoscience.com/" target="_blank" title="http://www.mirageoscience.com/"><span lang="FR-CA" style="color:teal">www.MiraGeoscience.com</span></a></span><b><span lang="FR-CA" style="font-size:8.0pt;font-family:"Book Antiqua","serif";color:#B41B2F;mso-fareast-language:EN-GB"> </span></b><span lang="FR-CA" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:teal;mso-fareast-language:EN-GB">
 tel +1 778 329 0430 ext 227, 512B - 409 Granville St, Vancouver, BC, V6C 1T2, Canada</span><span lang="FR-CA" style="mso-fareast-language:EN-GB">         
</span><span lang="FR-CA" style="font-size:8.0pt;color:#333333;mso-fareast-language:EN-GB"> </span><span lang="FR-CA" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:teal;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="FR-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA">+
</span></b><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA">Our Q2 eNewsletter 2013 is now out!</span><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#007687;mso-fareast-language:EN-CA">
</span><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA">You may download it
<a href="http://goo.gl/9GDBi"><span style="color:#007687">here</span></a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA">+ August 11-14 We will be hosting a workshop at the ASEG Conference in Melbourne, Australia. Stop by Booth 49.
<a href="http://www.mirageoscience.com/events/upcoming_events.php"><span style="color:#007687">More details here</span></a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:8.0pt;color:#007687;mso-fareast-language:EN-CA">+ August 12-15 We will be hosting a workshop at the SGA Biennial Meeting in Uppsala, Sweden.
<a href="http://www.mirageoscience.com/events/upcoming_events.php"><span style="color:#007687">More details here</span></a>.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>