필터 지우기
필터 지우기

Converting a GeoTIFF to an unprojected lat/lon grid?

조회 수: 1 (최근 30일)
Collin Tuttle
Collin Tuttle 2018년 4월 23일
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개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by