[Gdal-dev] question on gdal_translate

Frank Warmerdam fwarmerdam at gmail.com
Thu Dec 16 22:53:31 EST 2004


On Tue, 14 Dec 2004 19:59:59 +0100, francesco
<francesco.pirotti at unipd.it> wrote:
> Hello,
> 
> is there a way to select a subdataset of an image which is in another
> disk?  My partition has gdal stuff in D:\ and the image is in C:\
> I cannot use gdal_translate using a subdataset such as:
> HDF4_SDS:ASTER_L1B:"C:\image":10
> 
> It is ok if my image is in another folder in the same disk, then I can use
> the ../ format to go backwords in the directory.  But no way to go in the
> other disk.  Is there a trick?

Francesco, 
 
This is a bug in the HDF driver.  I have created a bug report on the issue at:

  http://bugzilla.remotesensing.org/show_bug.cgi?id=716

The problem is presumably because we parse some aspects of the string
based on colons.  Hopefully with some work the driver can be altered to 
handle this gracefully especially since the drive specifier is in a
quoted portion
of the name.  

PS. Andrey reports he is hoping to do some substantial work on the HDF
driver in January, so with luck this and a variety of other HDF related issues
can be resolved then. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list