[gdal-dev] gdal_translate file naming for sds and HDF4 files

Jonathan Greenberg jgrn at illinois.edu
Wed May 29 14:57:27 PDT 2013


Folks:

I'm using a Windows install of GDAL 1.7.0 (FWTools) -- when I run:

gdal_translate -sds -of "GTiff" [some.hdf] "myoutput"

The output filenames do not have the .tif extension.  If I set the output
file to "myoutput.tif", it appends the "layer numbers" to the end of the
file, e.g. myoutput.tif1.  Any tricks to getting the naming working
properly (myoutput1.tif would be what I'd expect)?

--j

-- 
Jonathan A. Greenberg, PhD
Assistant Professor
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Department of Geography and Geographic Information Science
University of Illinois at Urbana-Champaign
607 South Mathews Avenue, MC 150
Urbana, IL 61801
Phone: 217-300-1924
http://www.geog.illinois.edu/~jgrn/
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130529/9d9a186b/attachment.html>


More information about the gdal-dev mailing list