geotiff2xyz

Converting GeoTIFF to XYZ format.
486 Downloads
Updated Mon, 05 Jun 2023 15:28:01 +0000

View License

Etopo website has removed the XYZ output format. In order to convert the GeoTIFF files into the conventional XYZ files for the numerical model, such as COMCOT tsunami model, I wrote a simple m code for converting GeoTIFF to XYZ.
Simply change the file name to "exportImage.tiff" and run this code.
Enjoy!
Tso-Ren

Cite As

Tso-Ren Wu (2024). geotiff2xyz (https://www.mathworks.com/matlabcentral/fileexchange/88957-geotiff2xyz), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.7

% 2023/6/5 by Prof. Tso-Ren
% V.1.0.6,
% take the sugestion from Matlab,
% I replced pixcenters() by geographicGrid() in the code.
%
% Cheers!

1.0.6

% 2023/6/5 by Prof. Tso-Ren
% V.1.0.6,
% take the sugestion from Matlab,
% I replced pixcenters() by geographicGrid() in the code.
%
% Cheers!

1.0.5

% 2023/6/5 by Prof. Tso-Ren
%
% take the sugestion from Matlab,
% I replced pixcenters() by geographicGrid() in the code.
%
% Cheers!

1.0.4

Modified at 2023/4/27 12:06
It seems that NOAA changed the geotiff format by adding additional coloumns.
Use the first column instead.

1.0.3

Minor modifications were made in this version to fitting the default filename 'exportImage.tiff' from eTOPO.

1.0.2

Because eTOPO website changed the filename extension from '.tiff' to '.tif', this version simply matches this modification :-)

1.0.1

In this version, V.1.0.1, the geotiffread is replaced by readgeoraster.
The default input tiff filename is set as 'exportImage.tiff'.

1.0.0