9

Using gdal translate, would it be possible to convert from IMG to GeoTIFF?

We have very little experience with gdal.

0

3 Answers 3

13
gdal_translate -of GTiff  C:\temp\input\a.img   C:\temp\output\a.tif

and the batch option

GDAL_translate: converting ESRI GRID to Geotiff in batch

'-of GTiff' this part is probably not even required as this is the default but will do no harm.

0
5

As part of their NED data delivery changes in 2013, the National Map provided a set of file conversion scripts. See this script:

GDAL_IMG_2_GeoTIFF.bat c:\temp\input.img

The result is dropped in a sub-directory:

IMG_Output\GDAL_IMG_2_GeoTIFF.tif

For converting many files, you may consider this script

GDAL_Convert_All_IMG_2_GeoTIFF.bat

Recursively Scans directory for IMG files and runs GDAL_IMG_2_GeoTIFF on all

The GeoTIFF will be put in the same directory as the IMG file.

At the time of writing, the scripts are available as a zip file at this link.

Additional information about the USGS raster conversion scripts can be found at this link

0

For Planetary Data System img files put the img file, lbl file and xml file in the same directory, then convert the xml file.

gdal_translate -of GTiff /Users/temp/ldem_75s_30m.xml /Users/temp/ldem_75s_30m.tif

Works for me after installing gdal on my mac with brew.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.