geotiff2xyz

Converting GeoTIFF to XYZ format.

Vous suivez désormais cette soumission

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

Citation pour cette source

Tso-Ren Wu (2026). geotiff2xyz (https://fr.mathworks.com/matlabcentral/fileexchange/88957-geotiff2xyz), MATLAB Central File Exchange. Extrait(e) le .

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version 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