[Gdal-dev] about VRTDataset

Fu Chen fchen at ne.rsgs.ac.cn
Sat Oct 25 21:15:21 EDT 2003


Hi!
I read the code of gdal_translate, which take vrt as a temp dataset. I wanna write something like that. So I write a simple test program. But this doesn't work :<

void main()
{
    GDALAllRegister();
    VRTDataset *poVDS;
    poVDS = new VRTDataset( 100, 100);
 GDALDumpOpenDatasets( stderr );
 delete poVDS;
}

the program crashed at GDALDumpOpenDatasets.

I use VC7 VC6 on win2k platform. and my GDAL is gdalcvs-031015.zip.
Anyone know what's up?




More information about the Gdal-dev mailing list