GDAL command line functions from python XY

168 views
Skip to first unread message

Eswar

unread,
Mar 1, 2012, 10:12:11 AM3/1/12
to python(x,y)
Hi all,

I have installed python XY 2.7.0 in windows XP SP2 machine. When I try
to execute command line gdal commands like gdalwarp or gdal-translate,
I am getting error message that no module with the name has been
installed. Normal commands like gdal.open are working fine. Can anyone
please tell me how to run GDAL command line functions with in python
XY?

Thanks
Eswar

Jason

unread,
Mar 2, 2012, 12:17:45 PM3/2/12
to python(x,y)
Hi Eswar,

I think the gdal plugin only installs the gdal python bindings. You
can find and installer for the exes here:

http://www.gisinternals.com/sdk/

These will let you run the command line utils.

Gabi Davar

unread,
Mar 31, 2012, 4:11:04 PM3/31/12
to pyth...@googlegroups.com
Jason Hi,

The GDAL plugin contains the content of the VS2008 1.9.0 build. This is actually the problem - There are three plugins which cause error messages to pop up if the following 3rd party SW is missing:
Simply move the following files from "c:\Python27\Lib\site-packages\osgeo\gdalplugins" to "c:\Python27\Lib\site-packages\osgeo\gdalplugins-extra":
  • gdal_GEOR.dll
  • ogr_FileGDB.dll
  • ogr_OCI.dll
-Gabi
Reply all
Reply to author
Forward
0 new messages