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

Kristian Kjeldsen
Kristian Kjeldsen 2016년 1월 19일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2016년 1월 15일

댓글:

2016년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by