Opened 14 years ago

Closed 14 years ago

#3369 closed defect (worksforme)

GDAL Georaster read no data RDT table or read and write data at the same time will collapse

Reported by: bicealyh Owned by: ilucena
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: critical Keywords:
Cc: warmerdam

Description

If the RDT table no raster data and use the GDAL read the raster data, it will make the program collapse. Another, when you read the raster data from Oracle, at the same time, insert the raster data into Oracle using the same GDAL dll, it also make the program collapse.

Change History (2)

comment:1 by warmerdam, 14 years ago

Cc: warmerdam added
Milestone: 1.7.0
Owner: changed from warmerdam to ilucena

comment:2 by ilucena, 14 years ago

Resolution: worksforme
Status: newclosed

Sorry, but I could not understand the sentence: "If the RDT table no raster data and use the GDAL read the raster data, it will make the program collapse".

Reading and writing at the same time shouldn't be a problem as it shows here. I can use gdal_translate with a GeoRaster as input and a existing, or a new, GeoRaster as output.

% gdalinfo geor:scott/tiger@orcl,gdal_import,raster
Driver: GeoRaster/Oracle Spatial GeoRaster
Files: none associated
Size is 512, 512
Coordinate System is `'
Subdatasets:
  SUBDATASET_1_NAME=geor:scott/tiger@orcl,GDAL_RDT,126
  SUBDATASET_1_DESC=[3788x4304x11] CellDepth=8BIT_U SRID=32650
  SUBDATASET_2_NAME=geor:scott/tiger@orcl,GDAL_RDT,127
  SUBDATASET_2_DESC=[431x457] CellDepth=32BIT_REAL SRID=26912
  SUBDATASET_3_NAME=geor:scott/tiger@orcl,GDAL_RDT,141
  SUBDATASET_3_DESC=[21141x19350] CellDepth=32BIT_REAL SRID=4326
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  512.0)
Upper Right (  512.0,    0.0)
Lower Right (  512.0,  512.0)
Center      (  256.0,  256.0)
% gdal_translate -of georaster geor:scott/tiger@orcl,GDAL_RDT,127 geor:scott/tiger@orcl,GDAL_RDT,126
Input file size is 457, 431
0...10...20...30...40...50...60...70...80...90...100 - done.
Ouput dataset: (geor:scott/tiger@orcl,GDAL_RDT,126) on SCOTT.GDAL_IMPORT,RASTER
% gdalinfo geor:scott/tiger@orcl,gdal_import,raster
Driver: GeoRaster/Oracle Spatial GeoRaster
Files: none associated
Size is 512, 512
Coordinate System is `'
Subdatasets:
  SUBDATASET_1_NAME=geor:scott/tiger@orcl,GDAL_RDT,126
  SUBDATASET_1_DESC=[431x457] CellDepth=32BIT_REAL SRID=26912
  SUBDATASET_2_NAME=geor:scott/tiger@orcl,GDAL_RDT,127
  SUBDATASET_2_DESC=[431x457] CellDepth=32BIT_REAL SRID=26912
  SUBDATASET_3_NAME=geor:scott/tiger@orcl,GDAL_RDT,141
  SUBDATASET_3_DESC=[21141x19350] CellDepth=32BIT_REAL SRID=4326
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  512.0)
Upper Right (  512.0,    0.0)
Lower Right (  512.0,  512.0)
Center      (  256.0,  256.0)
Note: See TracTickets for help on using tickets.