[gdal-dev] calling gdalinfo from python

keith kmayall at gmail.com
Fri Oct 1 16:07:26 EDT 2010


I'm just learning python and have imported gdalinfo.py, but I'm not sure how
to call it.
Is it gdalinfo.main('myimage.img')
It's just giving me back the usage. The image file exists in the current
working directory.

Thanks for any help! Using Python 2.6.

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/calling-gdalinfo-from-python-tp5592721p5592721.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list