[gdal-dev] about ReadAsArray

Christopher Barker Chris.Barker at noaa.gov
Tue Apr 20 13:17:50 EDT 2010

·ëÑó wrote:
> hi,everyone,
>        now make use of the function"ReadAsArray",then error had 
> happened,like this:
> D:\Program Files\Microsoft Visual Studio\MyProjects\test3\test.cpp(15) : 
> error C2039: 'ReadAsArray' : is not a member of 'GDALDataset'
>         c:\gdal\include\gdal_priv.h(195) : see declaration of 'GDALDataset'
>         who may tell me how to use "ReadAsArray".thank you very much!

It looks like you are calling GDAL from C++ -- I think ReadAsArray is 
only a Python function, for getting a numpy array.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the gdal-dev mailing list