Opened 14 years ago
Closed 14 years ago
#3387 closed defect (worksforme)
GDAL Georaster can't Open raster sometime?
Reported by: | bicealyh | Owned by: | ilucena |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | critical | Keywords: | georaster |
Cc: | warmerdam |
Description
I use GDALOpen method to read the Georaster data, it return not null, but if use this method GDALGetRasterBand(rasterDataset, band) to get the rasterband, sometime it will return null. After the the band return null, I use the GDALGetGeoTransform to get the GeoTransform parameter, but it return not CE_None.
So I think the GDALOpen method have some problem sometime, it is not always.
By the way, I have compiled the Georaster code to the gdal17.dll. Does it have some problems?
Change History (3)
comment:1 by , 14 years ago
Cc: | added |
---|---|
Keywords: | georaster added |
Milestone: | 1.8.0 |
Owner: | changed from | to
comment:2 by , 14 years ago
Status: | new → assigned |
---|
gdal_translate run GDALOpen() and GDALGetRasterBand() all the time when it is read from GeoRaster. I can't see how that could go wrong.
What is an known issue is that if a GeoRaster is incomplete, without XML metadata for example, the driver can't open in update mode.
Is that the case? Are you trying to use GDALOpen() with GA_Update in a GeoRaster that is not completely instantiated on the databased?
If not, please give as some more information.
Thanks.
Ivan
comment:3 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Passing on to Ivan, but I really think Ivan will need more concrete information on how to reproduce the problem than this in order to followup on the issue.