geotiffwrite
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
Citar como
Jimmy Shen (2024). geotiffwrite (https://www.mathworks.com/matlabcentral/fileexchange/27959-geotiffwrite), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Other Formats >
Etiquetas
Agradecimientos
Inspiración para: How to drape Landsat images over Bedmap2 topography, UTM2LatLong GeoTiff Converter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
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 |