GDAL Installation

From Gcube Wiki
Revision as of 19:05, 22 November 2012 by Gianpaolo.coro (Talk | contribs)

Jump to: navigation, search
Section contents
GDAL Installation

Third party software supplies additional features to the gCube framework. In the following sections installation details are given for external software used by the gCube framework.

GDAL Installation

The Geospatial Data Abstraction Library (GDAL) is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing.

Installation

Windows OS

At this link a rich GUI-based guide is provided.

Linux OS - Ubuntu

The following passages are sufficient:

cd /tmp
mkdir gdal-linux
cd gdal-linux
sudo apt-get install build-essential python-all-dev
wget http://download.osgeo.org/gdal/gdal-1.9.0.tar.gz
tar xvfz gdal-1.9.0.tar.gz
cd gdal-1.9.0
./configure --with-python
make
make install
Example of test: /usr/bin/gdal_translate p_edulis_map.img p_edulis_map.tiff