geotiffwrite

Write a 2D or 3D array to a single or multi-band GeoTIFF file
6K Downloads
Aktualisiert 4. Dez 2012

Lizenz anzeigen

This program can write a 2D or 3D array to a single or multi-band GeoTIFF file. For more information and examples, please visit:
http://research.baycrest.org/~jimmy/geotiffwrite
or type: help geotiffwrite

MATLAB's Mapping Toolbox only provides a "geotiffread" function, but it does not have a "geotiffwrite" function (Note). This is the MATLAB program to write a 2D or 3D array to a single or multi-band GeoTIFF file, where data can be either 1-bit monochrome data (i.e. binary or bilevel), 8-bit unsigned integer, 16-bit signed / unsigned integer, 32-bit signed integer, or 32-bit floating point.

Note: Starting from version R2011a, MATLAB also provides its own "geotiffwrite" function
(http://www.mathworks.com/help/toolbox/map/rn/bsq4us7-1.html#bsu1ro5-1).

This program is based on GeoTIFF Format Specification under:
http://www.remotesensing.org/geotiff/spec/geotiffhome.html
or http://download.osgeo.org/geotiff/spec

It does not need MATLAB's Mapping Toolbox, or any other library.

Usage:
[option bbox] = make_option([bbox]);
geotiffwrite(filename, bbox, image, [bit_depth, option]);

For more information on arguments and detail examples, please visit:
http://research.baycrest.org/~jimmy/geotiffwrite
or type: help geotiffwrite

Zitieren als

Jimmy Shen (2024). geotiffwrite (https://www.mathworks.com/matlabcentral/fileexchange/27959-geotiffwrite), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R11.1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.6.0.0

Thanks to Jesse Angle for the detail fix of ModelTransformationTag bug.

1.5.0.0

Full Color (24-bit RGB) GeoTIFF is supported

1.4.0.0

1-bit GeoTIFF is supported

1.3.0.0

1. 3D array is supported to write Multi-band GeoTIFF data; 2. "make_option" program is created to provide a GUI window to generate option argument for "geotiffwrite" program;

1.2.0.0

It now supports to write any kind of data info a GeoTIFF file. Examples are provided.

1.0.0.0