20:12
À : Ismael BELAAOUAD
Objet : Re: [gdal-dev] TR: Load GDALDataset Into DIB
glad to be of help.
Just curious -
did you read one scan line at a time, or did you read the whole array and
reverse it?
(And your English is great - far better than my French.)
On 8/31/2013 11:50 AM, Ismael
13 23:46
À : Ismael BELAAOUAD
Cc : gdal-dev@lists.osgeo.org
Objet : Re: [gdal-dev] TR: Load GDALDataset Into DIB
If this is pretty much a one-time thing, just reverse the order in which you
read the dataset.
If this is going to be a regular thing for different kinds of data sources, you
need to
If this is pretty much a one-time thing, just reverse the order in which
you read the dataset.
If this is going to be a regular thing for different kinds of data
sources, you need to read the y-pixel height in the dataset. You do this
using GetGeoTransform. The Y_height is the last element of the a
Hello,
I finally load GDALDataSet into DIB but when I display the raster it's inverted
on Y axis.
Did someone have an idea?
BOOL CDib::LoadFromGDAL (LPCTSTR szFileName)
{
BOOL bRet=FALSE;
BOOL bOK;
UINT ncol, size, w;
Init();
GDALDataset *poDataset;