4

I recently installed OSGEO (http://download.osgeo.org/) which included python and gdal. I just realised however that there are many gdal libraries that were not included in this package for example gdal_merge. How can I install them into the osgeo environment?

Robert Buckley
  • 11,196
  • 6
  • 24
  • 25

2 Answers2

1

Go to this link:

gdal_merge.py

Copy everything and save the script as gdal_merge.py.

Put the gdal_merge.py to the your gdal libraries directory(osgeo directory).

lovelyvm
  • 127
  • 2
  • 16
0

On Windows, in the OSGeo4W setup program, gdal_merge.py and the other GDAL Python scripts are included in the gdal-python package in the Libs Category.

When installed, the Python scripts are copied to the bin subdirectory within the OSGeo4W installation directory along with batch files to launch the Python scripts. (For example, gdal_merge.bat).

Once installed, the GDAL Python scripts can be executed from the OSGeo4W Shell which is available from the Windows Start Menu.

DavidRR
  • 18,291
  • 25
  • 109
  • 191