<div><font><font face="courier new,monospace">Martin, see the -a_ullr option here:<br></font></font></div><div><font><font face="courier new,monospace"><br></font></font></div><div><font><font face="courier new,monospace"><a href="http://gdal.org/gdal_translate.html">http://gdal.org/gdal_translate.html</a><br>
</font></font></div><div><font><font face="courier new,monospace"><br></font></font></div><div><font><font face="courier new,monospace">(or gdal_translate --help). The option allows you to set the upper left and lower right corners. You probably want to set the spatial reference as well with -a_srs:</font></font><font><font face="courier new,monospace"><br>
</font></font></div><div><font><font face="courier new,monospace"><br></font></font></div><div><font><font face="courier new,monospace">gdal_translate -a_ullr -117.0 45.0 -116.0 44.0 -a_srs epsg:4326 in.tif out.tif<br></font></font></div>
<div><font><font face="courier new,monospace"><br></font></font></div><div><font><font face="courier new,monospace">kss<br></font></font></div><br><div class="gmail_quote">On Sat, Jun 16, 2012 at 1:46 AM, Florent JITIAUX <span dir="ltr"><<a href="mailto:fjitiaux@gmail.com" target="_blank">fjitiaux@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br><br>if you georeference your images manually you can use gdalwarp to do it or set coordinates of images with gdal_translate.<br>
<br>Florent<br><br><div class="gmail_quote">2012/6/15 Martin Ouellet <span dir="ltr"><<a href="mailto:geomartino@gmail.com" target="_blank">geomartino@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>Hi,</div><div><br></div><div>I manually georeferenced some images in ArcGIS and at the end, I got a .tfwx file and a aux.xml.</div>
<div><br></div><div>I wish to convert them into geotiff with the georeferenced info in the header:</div>
<div><br></div><div>1) I've renamed the .tfwx into .tfw and run a gdal_translate. The command didn't failed but the resulting image is not georeferenced at all</div><div><br></div><div>Is it possible to do that perhaps using the info in the .aux.xml file?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>MartinO</div>
<br></div></div>_______________________________________________<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/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>