[gdal-dev] [Gdal 1.11]gdal_merge.py issue for merging tif

Rémy GOURRAT rgourrat at ag-carto.fr
Wed May 28 10:48:18 PDT 2014


Hi,

I try to use gdal_merge.py on a windows server 2008 r2 intel.

So i installed Python 3.3.3 and gdal and gdal-111-1600-x64-core.msi<http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-x64-gdal-1-11-mapserver-6-4\gdal-111-1600-x64-core.msi>

GDAL_DATA et GDAL_DRIVER_PATH are Ok, I check with trying an ogr2ogr from OCI to Shape with -a_srs EPSG.

When I do a "gdalinfo" d1.tif and "gdalinfo d2.tif" it's Ok.

But Every time I try to execute this script :

gdal_merge.py -o output.tif d1.tif d2.tif

I have this error message :

"
Traceback (most recent call last):
  File "C:\Program Files\GDAL\gdal_merge.py", line 35, in <module>
    from osgeo import gdal
ImportError: cannot import name gdal

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\GDAL\gdal_merge.py", line 37, in <module>
    import gdal
ImportError: No module named 'gdal'
"
do i need to install the GDAL-1.11.0.win-amd64-py3.3.msi , i think that's it just for AMD Processor, right ?

Thanks for your help

Rémy Gourrat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140528/24db255d/attachment.html>


More information about the gdal-dev mailing list