ANSI-C program: data2geotiff.c
NAME
data2geotiff - convert data in different binary data types
to GeoTIFF format
SYNOPSIS
data2geotiff <DEM_par> <data> <type>
<GeoTIFF> [nodata]
<DEM_par> | (input) DIFF/GEO DEM parameter file |
<data> | (input) data file |
<type> | input data type: 0: SUN raster/BMP format 1: SHORT integer (2 bytes/value) 2: FLOAT (4 bytes/value) 3: SCOMPLEX (short complex, 4 bytes/value) 4: FCOMPLEX (float complex, 8 bytes/value) 5: BYTE |
<GeoTIFF> | (output) GeoTIFF file (.tif is the recommended extension) |
[nodata] | nodata value (default: 0.0) |
EXAMPLE
data2geotiff srtm3_seg.dem_par srtm3_seg.dem 2
srtm3_seg.dem.tif -1
Converts the float data file srtm3_seg.dem using the accompanying srtm3_seg.dem_par DEM parameter file into GeoTIFF format, and sets -1 values to no data.
DESCRIPTION
data2geotiff is a GIS data exchange format including
geospatial metadata. This program packs binary data in different
formats into a TIFF format file. The TIFF file contains
additional tags with geospatial information derived from the DEM
parameter file. This extension of the TIFF format is called
GeoTIFF and is widely supported by GIS software. This program
uses the geospatial abstraction library (GDAL) to read and write
the GeoTIFF format.SEE ALSO
data2tiff permits generating the TIFF format without requiring a DEM_par file.
Website with information and links about the GeoTIFF data format.