[gdal-dev] Minor addition to Python bindings..

Christopher Barker Chris.Barker at noaa.gov
Tue Sep 8 20:15:39 EDT 2009

Hi all,

I had a heck of a time figuring out what version of gdal I was using 
today. I eventually found:


It's a pretty well supported convention now for Python modules to have a 
__version__ attribute that returns something meaningful. It would be 
nice if gdal.py had a line:

__version__ = VersionInfo("RELEASE_NAME")


__version__ = _gdal.VersionInfo("RELEASE_NAME")

While we're at it, it might be nice for osgeo\__init__.py to have a 
__version__ defined as well.


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