Ticket #3387 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by warmerdam

  • cc warmerdam added
  • keywords georaster added
  • owner changed from warmerdam to ilucena
  • milestone 1.8.0 deleted

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.

Changed 3 years ago by ilucena

  • status changed from new to 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

Changed 3 years ago by ilucena

  • status changed from assigned to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.