Re: [gdal-dev] [gdal_translate] Spatial subset HDF4Image with multiple subdatasets?

2012-06-20 Thread dcd
On 06/20/2012 02:55 PM, Etienne Tourigny wrote: > You could combine them as a multi-band gtiff file for example No, in this case (MOD09GA data) you cannot, because the subdatasets have different resolutions / raster sizes, and datatypes. Imho there is no other way than to subset each subdataset

Re: [gdal-dev] [gdal_translate] Spatial subset HDF4Image with multiple subdatasets?

2012-06-20 Thread dcd
You could combine them as a multi-band gtiff file for example Yes, but I could just as easily combine the individual subdatasets after using "-sds" switch or Even's method into a single HDF4Image as well. I'd rather just be able to do that all in one line using the "-b" switch in gdal_translate w

Re: [gdal-dev] [gdal_translate] Spatial subset HDF4Image with multiple subdatasets?

2012-06-20 Thread dcd
Le mardi 19 juin 2012 23:55:49, dcd a écrit : > Hi, > > Is it possible to spatially subset an HDF4Image that contains multiple > subdatasets using gdal_translate (GDAL 1.9.1)? When using a spatial subset > switch ("-a_ullr"), I get the following response: > > &

[gdal-dev] [gdal_translate] Spatial subset HDF4Image with multiple subdatasets?

2012-06-19 Thread dcd
Hi, Is it possible to spatially subset an HDF4Image that contains multiple subdatasets using gdal_translate (GDAL 1.9.1)? When using a spatial subset switch ("-a_ullr"), I get the following response: "Input file contains subdatasets. Please, select one of them for reading." This happens regardle