basic map visualization question
Afficher commentaires plus anciens
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)
Réponses (1)
Sean de Wolski
le 15 Avr 2013
Perhaps:
doc mapshow
doc geoshow
?
Could you post a sample of your data
1 commentaire
Catégories
En savoir plus sur Create Plots on Maps dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!