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

Howard Butler hobu.inc at gmail.com
Mon Dec 3 22:39:18 EST 2007


Can you provide more detail about how to reproduce the issue?

Are you working with an overview band, or just the base data?

Which version of ArcSDE are you using and is it fully updated with its =20=

service packs (both the client and the server)?



On Dec 3, 2007, at 9:20 PM, chenxuexia wrote:

>
>
>
>
> ---------- =D7=AA=B7=A2=D3=CA=BC=FE=D0=C5=CF=A2 ----------
> =B7=A2=BC=FE=C8=CB=A3=BA"chenxuexia <xuex_chen at 126.com>"
> =B7=A2=CB=CD=C8=D5=C6=DA=A3=BA2007-12-04 10:44:24
> =CA=D5=BC=FE=C8=CB=A3=BAgdal <gdal-dev at lists.maptools.org>
> =D6=F7=CC=E2=A3=BA error result in SDEDataset::ComputeRasterInfo()
> hi,
>   I use gdal1.4.1(added sdedataset and sderasterband) and VC6.0 to =20
> read data from sde4oracle database. i can't get the right rasterband =20=

> value.Here is the debugging  errors:
>   When run into SDEDataset::ComputeRasterInfo(),
> =
//////////////////////////////////////////////////////////////////////////=
///////////////////////
> for (int i=3D0; i < nBands; i++) {
>         SetBand( i+1, new SDERasterBand( this, i+1, -1, =20
> &(paohSDERasterBands[i]) ));
>     }
> GDALRasterBand* b =3D GetRasterBand(1);
> =
//////////////////////////////////////////////////////////////////////////=
///////////////////////
> now the b value is:
>
>    we can see that b->nRasterYSize is not equal to b->pods-=20
> >nRasterYSize, and b->eAccess is wrong!
>     Does the sentence SetBand (i+1, new SDERasterBand (this, i+1, =20
> -1,  &(paohSDERasterBands[i]) )) work well? Any way to solve it?
>
>
>
>
>
> --
> //////////////////////////////////////////////////////////////////
> To a world, you're little, but to a person, you're the world.
> //////////////////////////////////////////////////////////////////
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list