geotiff2xyz

Converting GeoTIFF to XYZ format.

You are now following this Submission

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 (2026). geotiff2xyz (https://au.mathworks.com/matlabcentral/fileexchange/88957-geotiff2xyz), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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