<div dir="ltr">Hi Andre,<div><br></div><div>thanks so much for the quick answer, this is perfect for scripting.</div><div><br></div><div>However, I'm still wondering... is GDAL using the local PROJ4 installation? Or does datum shiftings by itself? If so, why not to rely on PROJ4?</div>
<div><br></div><div style>And using the grid is something we always want to do. Is there any place in the GDAL config files where we can make the use of the grid permanent for a datum shift case in particular?</div><div style>
<br></div><div style>Thanks a lot,</div><div style><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div style="font-family:Helvetica,arial,sans-serif;font-size:18px;padding:20px 5px 10px 0px">
<div><font color="#82b600">Juan Pedro Pérez Alcántara</font></div><div><font color="#7d7b7c">Technical Director</font></div></div><div style="font-family:Helvetica,arial,sans-serif;color:rgb(125,123,124);font-size:12px;padding:10px 5px 20px 0px">
jp.alcantara<a href="mailto:alberto.asuero@geographica.gs" style="color:rgb(125,123,124);text-decoration:initial" target="_blank">@geographica.gs</a><div><a value="+34645816025" style="color:rgb(17,85,204)">+34 670 786 422 </a></div>
</div><div style="font-family:Helvetica,arial,sans-serif;color:rgb(125,123,124);background-color:rgb(245,245,245);padding:15px 0px 15px 15px;font-size:12px;border-width:1px;border-style:dotted none;overflow:hidden;width:827.1166381835938px">
<div style="min-height:50px"><div style="width:400px;float:left"><a href="http://maps.google.es/maps?f=q&source=s_q&hl=es&geocode=&q=rodio+35,+sevilla+espa%C3%B1a&sll=40.396764,-3.713379&sspn=10.787528,19.753418&ie=UTF8&hq=&hnear=Calle+Rodio,+35,+41007+Sevilla,+Andaluc%C3%ADa&t=h&z=16" style="color:rgb(17,85,204);text-decoration:initial" target="_blank"><div style="float:left;width:120px;color:rgb(125,123,124)">
<div style="float:left;width:80px;padding-top:3px">Rodio 35<br>41007 Sevilla<br>Spain</div><div style="float:left;padding-top:16px"><img alt="" src="cid:part2.04000105.03070406@gstgis.com" width="10" border="0" height="15" style="border:0px"></div>
</div></a><div style="float:left;width:150px;padding-top:17px">T  <a value="+34954437818" style="color:rgb(17,85,204)">+34  954 437 818</a> <br>F  <a value="+34955110441" style="color:rgb(17,85,204)">+34  955 110 441</a></div>
<div style="width:130px;padding-top:17px;float:left"><div>Visit our web</div><a href="http://www.geographica.gs/" style="color:rgb(17,85,204);text-decoration:initial" target="_blank"><div style="color:rgb(130,182,0)"><b>www.geographica.gs</b></div>
</a></div></div><div style="width:110px;padding-top:17px;float:left"><div>Follow us on Twitter</div><a href="https://twitter.com/#%21/Geographica_GS" style="color:rgb(17,85,204);text-decoration:initial" target="_blank"><div style="color:rgb(130,182,0)">
<b>@Geographica_ST</b></div></a></div><div style="float:left;padding-top:10px"><a href="https://twitter.com/#%21/Geographica_ST" style="color:rgb(17,85,204)" target="_blank"><img src="cid:part6.09030802.08030803@gstgis.com" alt="Twitter" width="31" border="0" height="22" style="border:0px"></a></div>
<div style="float:right;padding-right:10px"><img alt="" src="cid:part8.01010004.04090601@gstgis.com" width="169" height="44" style="margin-top:5px"></div></div></div></div></div>
<br><br><div class="gmail_quote">On Fri, May 10, 2013 at 7:32 PM, Andre Joost <span dir="ltr"><<a href="mailto:andre+joost@nurfuerspam.de" target="_blank">andre+joost@nurfuerspam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 10.05.2013 18:07, schrieb Juan Pedro Pérez Alcántara:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
How can I make GDAL to use a NTv2 grid to shift between some datums?<br>
<br>
</blockquote>
<br>
You have to tell GDAL where to find your shift gridin your file system:<br>
<br>
cs2cs +init=epsg:4326 +to +proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=2500000 +y_0=0 +ellps=bessel +nadgrids=D:\Karten\gdal\<u></u>cs2cs\BETA2007.gsb +units=m in.txt >>out.txt<br>
<br>
HTH,<br>
Andre Joost<br>
<br>
______________________________<u></u>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br></div>