[gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

Kyle Shannon kyle at pobox.com
Sat Jun 16 07:13:48 PDT 2012


Martin, see the -a_ullr option here:

http://gdal.org/gdal_translate.html

(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:

gdal_translate -a_ullr -117.0 45.0 -116.0 44.0 -a_srs epsg:4326 in.tif
out.tif

kss

On Sat, Jun 16, 2012 at 1:46 AM, Florent JITIAUX <fjitiaux at gmail.com> wrote:

> Hi Martin,
>
> if you georeference your images manually you can use gdalwarp to do it or
> set coordinates of images with gdal_translate.
>
> Florent
>
> 2012/6/15 Martin Ouellet <geomartino at gmail.com>
>
>> Hi,
>>
>> I manually georeferenced some images in ArcGIS and at the end, I got a
>> .tfwx file and a aux.xml.
>>
>> I wish to convert them into geotiff with the georeferenced info in the
>> header:
>>
>> 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
>>
>> Is it possible to do that perhaps using the info in the .aux.xml file?
>>
>> Thanks,
>>
>> MartinO
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120616/91635e8b/attachment.html>


More information about the gdal-dev mailing list