How do I extract attributes from a polygon shapefile for specific locations?

I have a shapefile in which each polygon represents an ecoregion of North America, with multiple attributes for each polygon (including the name and ID number for each ecoregion). I would like to extract these attributes for specific points, but I can't figure out how to do it. As an example, the lat/lon coordinates for one of the points I'm interested in are 34.88, -111.57. How would I extract the name of the ecoregion for this point using the shapefile?

답변 (1개)

Chad Greene
Chad Greene 2015년 11월 22일
Try Kelly Kearney's interpshapefile.

댓글 수: 1

Thanks. Follow-up question: the shapefile is in a projected coordinate system, but my point locations are geographic coordinates. In order to use interpshapefile, they would have to be in a common coordinate system, correct? Is there a simple way to convert the shapefile to geographic coordinates in MATLAB?

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

카테고리

질문:

2015년 11월 22일

댓글:

2015년 11월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by