GDAL Installation

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

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

Supported Formats

The following formats are supported for transformation:

VRT: Virtual Raster

 GTiff: GeoTIFF
 NITF: National Imagery Transmission Format
 HFA: Erdas Imagine Images (.img)
 ELAS: ELAS
 AAIGrid: Arc/Info ASCII Grid
 DTED: DTED Elevation Raster
 PNG: Portable Network Graphics
 JPEG: JPEG JFIF
 MEM: In Memory Raster
 GIF: Graphics Interchange Format (.gif)
 XPM: X11 PixMap Format
 BMP: MS Windows Device Independent Bitmap
 PCIDSK: PCIDSK Database File
 PCRaster: PCRaster Raster File
 ILWIS: ILWIS Raster Map
 SRTMHGT: SRTMHGT File Format
 Leveller: Leveller heightfield
 Terragen: Terragen heightfield
 GMT: GMT NetCDF Grid Format
 netCDF: Network Common Data Format
 HDF4Image: HDF4 Dataset
 PNM: Portable Pixmap Format (netpbm)
 ENVI: ENVI .hdr Labelled
 EHdr: ESRI .hdr Labelled
 PAux: PCI .aux Labelled
 MFF: Vexcel MFF Raster
 MFF2: Vexcel MFF2 (HKV) Raster
 BT: VTP .bt (Binary Terrain) 1.3 Format
 IDA: Image Data and Analysis
 ERS: ERMapper .ers Labelled
 JPEG2000: JPEG-2000 part 1 (ISO/IEC 15444-1)
 FIT: FIT Image
 RMF: Raster Matrix Format
 RST: Idrisi Raster A.1
 INGR: Intergraph Raster
 GSAG: Golden Software ASCII Grid (.grd)
 GSBG: Golden Software Binary Grid (.grd)
 USGSDEM: USGS Optional ASCII DEM (and CDED)
 ADRG: ARC Digitized Raster Graphics

Transformation in gCube is adopted to transform from any of the above formats to GeoTiff.