ESRI's shapefile to Matlab

Elpezmuerto picture Elpezmuerto · Oct 6, 2010 · Viewed 9.2k times · Source

I am looking for a function to read/write points, lines and polygons from ESRI's shapefile format (as used in Arcview) for use in Matlab

Answer

Elpezmuerto picture Elpezmuerto · Oct 6, 2010

From the Matlab mapping toolbox, use the shaperead function

For example download the NOAA Interstate Highway shape file here, extract and then read data into Matlab using the function, S = shaperead('in101503.shp');