Re: [gdal-dev] GDAL fails on reading rset via Virtual File

2013-03-06 Thread Even Rouault
Selon Jayesh Chaudhary : > Folks, > > I am using GDAL Virtual File mechanism to read data off a stream (something > like what's shown below) > > VSILFILE* fpTemp = VSIFileFromMemBuffer(szTempFileName, (GByte*) > s->file_size(), FALSE); > this->gdal_data_ = (GDALDataset*) GDALOpen(szTempFileName, G

[gdal-dev] GDAL fails on reading rset via Virtual File

2013-03-05 Thread Jayesh Chaudhary
Folks, I am using GDAL Virtual File mechanism to read data off a stream (something like what's shown below) VSILFILE* fpTemp = VSIFileFromMemBuffer(szTempFileName, (GByte*) s->file_size(), FALSE); this->gdal_data_ = (GDALDataset*) GDALOpen(szTempFileName, GA_ReadOnly) The code works for most of