Opened 15 years ago
Closed 15 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 by , 15 years ago
Owner: | changed from | to
---|
comment:2 by , 15 years ago
Milestone: | → 1.6.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in trunk in r16232 and in branches/1.6 in r16233