Converting a GeoTIFF to an unprojected lat/lon grid?
1 次查看(过去 30 天)
显示 更早的评论
Hello, I would like to plot a GeoTIFF with the function surfacem.
Using
[A,cmap,R] = geotiffread(filin);
I get a 448 x 304 matrix, A, and the MapCellsReference object, R.
Additionally, I know that I can use
info = geotiffinfo(filin);
[x,y] = pix2map(R, 1, 1);
[lat,lon] = projinv(info, x, y)
to get single point lats and longs.
How would I convert the entire file to a grid? x and y need to be the same size, but the dimensions of A are not the same size. Thanks!
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!