필터 지우기
필터 지우기

basic map visualization question

조회 수: 1 (최근 30일)
Sam
Sam 2013년 4월 15일
Hi,
I have two datasets, a georeferenced raster (from tif) and a sparse point dataset with x,y vectors of euclidian coords. They share the same projection, and I need to overlay them the ensure MATLAB 'sees' them as co-located. When I 'plot' the raster using imagesc() the axes are not euclidean and the points don't appear. What is the easiest way to overlay these two datasets in MATLAB?
XI = xyvar(:,1);
YI = xyvar(:,2);
%%EXTRACT SPATIAL INFO FROM REFERENCED RASTER
[rast, rast_REFMAT, s1m_BBOX] = geotiffread('sedgwick_1m_utm10n_wgs84_updated.tif');
imagesc(rast)
hold on
plot(XI,YI)

답변 (1개)

Sean de Wolski
Sean de Wolski 2013년 4월 15일
Perhaps:
doc mapshow
doc geoshow
?
Could you post a sample of your data
  댓글 수: 1
Sam
Sam 2013년 4월 15일
편집: Sam 2013년 4월 15일
The raster is a georeferenced tif with array, reference matrix and bounding box. The point data is an x,y array with UTM values, such as
771845.3616, 3843617.4871
771733.1612, 3843025.3387
772311.2746, 3843050.1742
etc...

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

카테고리

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