export to geotiff - help needed...

Hi, I'm new in matlab so help is much appreciated. I have data stored in a matrix and I need to export it to geotiff-files. I've tried using the geotiffwrite - function but I can't get it to work. The data is in UTM 22N and in 100m cells (501x501) and I know the top left corner coordinates. I colleguae provided the code below, which I can get to work, so I know that the matrix contains data.
if true
% X=linspace(504750,504750+500*100,501);
%Y=linspace(7653000,7653000-500*100,501);
%[x,y]=meshgrid(X,Y);
%basename = U19920820_19920924;
%surf(x,y,basename);shading flat;view(0,90);caxis([0,1]);
end
Any sort of help is much appreciated Cheers, Kristian

2 comentarios

Kristian Kjeldsen
Kristian Kjeldsen el 19 de En. de 2016
Hi Walter, Thanks for the link - this is exactly the setup I've been trying to get to work, but I just can't get it to work. /Kristian

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 15 de En. de 2016

Comentada:

el 19 de En. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by