export to geotiff - help needed...

2 views (last 30 days)
Kristian Kjeldsen
Kristian Kjeldsen on 15 Jan 2016
Commented: Kristian Kjeldsen on 19 Jan 2016
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 Comments
Kristian Kjeldsen
Kristian Kjeldsen on 19 Jan 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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!