How to extract a region from a country?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a map of India,i want to extract a state of the country,so how do i do this? I want to extract the state exactly say for example Maharashtra so,how would i extract it?
2 Kommentare
源樹 上林
am 14 Sep. 2021
How's this?
https://jp.mathworks.com/matlabcentral/answers/46205-how-can-i-plot-boundary-of-india
Antworten (1)
Tushar Sharma
am 29 Okt. 2024
Hi Sritoma,
I'm assuming you have the Shapefile data for India. If not, you can download it from - https://www.igismap.com/download-india-administrative-boundary-shapefiles-states-districts-sub-districts-pincodes-constituencies/.
This data will serve as a closed region. You can use the "inpolygon" function to find the points within India's boundaries and extract the data—such as state capitals—from these points.
For more information on the "inpolygon" function, please visit - https://www.mathworks.com/help/matlab/ref/inpolygon.html
0 Kommentare
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!