[gdal-dev] error result in SDEDataset::ComputeRasterInfo()

chenxuexia xuex_chen at 126.com
Mon Dec 3 22:20:46 EST 2007


    ---------- ת·¢ÓʼþÐÅÏ¢ ----------
·¢¼þÈË£º"chenxuexia <xuex_chen at 126.com>"
·¢ËÍÈÕÆÚ£º2007-12-04 10:44:24
ÊÕ¼þÈË£ºgdal <gdal-dev at lists.maptools.org>
Ö÷Ì⣺ error result in SDEDataset::ComputeRasterInfo()
hi,
 I use gdal1.4.1(added sdedataset and sderasterband) and VC6.0 to read data from sde4oracle database. i can't get the right rasterband value.Here is the debugging  errors:
 When run into SDEDataset::ComputeRasterInfo(),
/////////////////////////////////////////////////////////////////////////////////////////////////
for (int i=0; i < nBands; i++) {
       SetBand( i+1, new SDERasterBand( this, i+1, -1, &(paohSDERasterBands[i]) ));
   }
GDALRasterBand* b = GetRasterBand(1);
/////////////////////////////////////////////////////////////////////////////////////////////////
now the b value is:
  we can see that b->nRasterYSize is not equal to b->pods->nRasterYSize, and b->eAccess is wrong!
    Does the sentence SetBand (i+1, new SDERasterBand (this, i+1, -1, &(paohSDERasterBands[i]) )) work well? Any way to solve it?
    
--
//////////////////////////////////////////////////////////////////To a world, you're little, but to a person, you're the world. //////////////////////////////////////////////////////////////////
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071204/fe02f0d5/attachment-0001.html


More information about the gdal-dev mailing list