[gdal-dev] GDALGetRandomRasterSample in gdalinfo.py

Christopher Barker Chris.Barker at noaa.gov
Tue Jan 25 18:19:52 EST 2011


On 1/25/11 3:00 PM, K.-Michael Aye wrote:
> Dear all,
>
> I am puzzled how this function works in the current gdalinfo.py from here:
>
> http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/gdalinfo.py
>
> because I can't see any 'import' that would make this function known?
>
> Could somebody lift the veil for me? ;)

I only see that in commented out code -- so that may be from when gdal 
was imported differently.

Though I don't see it in the gdal namespace, either. Maybe it is no 
longer exposed in the Bindings?

-Chris





-- 
Christopher Barker, Ph.D.
Oceanographer

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