I have created a batch file in Python 3.6.3 to clip a raster image using gdalwrap (I use some coordinates for clipping). Running the batch file in the command line gives error 'gdalwarp' is not recognized as an internal or external command,operable program or batch file. I tried https://stackoverflow.com/questions/31174320/gdal-merge-py-not-working-after-gdal-and-it-python-bindings-have-been-installed, but python is not recognized in this case.
1 Answer
I've had a similar issue, I couldn't see gdalwrap
from the command line or scripts. I've just noticed that it's gdalwarp
, not gdalwrap
. You've been writing in your messages both gdalwrap
and gdalwarp
- perhaps it's a typo or perhaps it's a similar issue...
ERROR 1: Can't load requested DLL: C:\Winpython\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\Lib\site-packages\osgeo\gdalplugins\ogr_FileGDB.dll 126: The specified module could not be found.
Could you give me a hint how to call GDALWarp in python?