Opened 13 years ago

Closed 13 years ago

#2823 closed defect (fixed)

HDF4: Mixing Windows driver with subdataset ID

Reported by: ilucena Owned by: Even Rouault
Priority: normal Milestone: 1.6.1
Component: default Version: unspecified
Severity: normal Keywords:
Cc: warmerdam

Description

HDF4 driver is getting confused with the Windows driver colon ":" character, e.g.: E:\Data>gdalinfo HDF4_SDS:UNKNOWN:"g:\data\modis\MODO21KM.A2000242.0140.200.hdf":0 ERROR 4: `HDF4_SDS:UNKNOWN:g:\data\modis\MODO21KM.A2000242.0140.200.hdf:0' does not exist in the file system, and is not recognised as a supported dataset name.

Note that on the "ERROR 4" message the quotes are missing.

That works fine:

E:\Data>G: G:\>gdalinfo HDF4_SDS:UNKNOWN:"\data\modis\MODO21KM.A2000242.0140.200.hdf":0 Driver: HDF4Image/HDF4 Dataset

Files: \data\modis\MODO21KM.A2000242.0140.200.hdf Size is 1024, 1024 Coordinate System is `' Corner Coordinates:

Upper Left ( 0.0, 0.0) Lower Left ( 0.0, 1024.0) Upper Right ( 1024.0, 0.0) Lower Right ( 1024.0, 1024.0) Center ( 512.0, 512.0)

Band 1 Block=1024x1 Type=UInt16, ColorInterp?=Gray

Change History (2)

comment:1 Changed 13 years ago by Even Rouault

Owner: changed from warmerdam to Even Rouault

comment:2 Changed 13 years ago by Even Rouault

Milestone: 1.6.1
Resolution: fixed
Status: newclosed

Fixed in trunk in r16232 and in branches/1.6 in r16233

Note: See TracTickets for help on using tickets.