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

Even Rouault even.rouault at mines-paris.org
Wed May 28 10:56:40 PDT 2014


Le mercredi 28 mai 2014 19:48:18, Rémy GOURRAT a écrit :
> 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?f
> ile=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 ?

Régis,

Yes you need the Python bindings. AMD64 is actually the original name of the 
Intel 64bit architecture.

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list