add shapefile behind an Image
Mostra commenti meno recenti
I have a India shapefile.I show it in matlab a=shaperead(file);s=mapshow(s);I want to show only upper portion of india behind an Image.But it is not coming.If it is possible.
1 Commento
Tanmoyee Bhattacharya
il 6 Mag 2016
Risposta accettata
Più risposte (1)
S=shaperead(file);
will give you a structure. For your file (from the last question) has the following information:
Geometry: 'Polygon'
BoundingBox: [2x2 double]
X: [1x1198 double]
Y: [1x1198 double]
id: 24
State: 'Uttarakhand'
Area__sqkm: 53483
GODA_STATE: ''
new: 1
Pick up the region (each state has different 'i'), and use plot(S(i).X,s(i).Y) on the plot you wanted.
And next question?
1 Commento
Tanmoyee Bhattacharya
il 6 Mag 2016
Categorie
Scopri di più su Map Display in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
