PDA

查看完整版本 : ESRI的shapefile发送给Matlab


poster
2019-12-10, 20:48
我正在寻找一种函数,该函数可从ESRI的shapefile格式(如Arcview中使用)读取/写入点,线和多边形,以在Matlab中使用



回答:

在Matlab映射工具箱中,使用shaperead 函数 (http://www.mathworks.com/help/toolbox/map/ref/shaperead.html)

例如,在此处 (http://www.nws.noaa.gov/geodata/catalog/transportation/html/interst.htm)下载NOAA州际公路形状文件,使用函数S = shaperead('in101503.shp');提取数据,然后将其读入Matlab S = shaperead('in101503.shp');



更多&回答... (https://stackoverflow.com/questions/3873053)