Code covered by the BSD License  

Highlights from
interpshapefile

5.0

5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 2.41 KB File ID: #10278

interpshapefile

by Kelly Kearney

 

08 Mar 2006 (Updated 08 Mar 2006)

Determine value at a given location or locations based on data in an ESRI shapefile

| Watch this File

File Information
Description

This function determines the specified attribute value at a given geographic location based on the polygons stored in an ESRI shapefile and their associated attributes.

Requires Matlab version 7, the Mapping Toolbox, and my inpolygons function, available in the File Exchange.

Required Products Mapping Toolbox
MATLAB release MATLAB 7.1.0 (R14SP3)
Other requirements inpolygons.m (File Exchange)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
05 Nov 2007 Nick Williams

Extremely useful and exactly what I needed. Works flawlessly even on complex shapefiles. My only question is why the input shapefile must contain Lat-Long fields. Can it work for X-Y UTM coordinates?

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
shapefile Kelly Kearney 22 Oct 2008 08:17:43
esri Kelly Kearney 22 Oct 2008 08:17:43
map Kelly Kearney 22 Oct 2008 08:17:43
coordinates Kelly Kearney 22 Oct 2008 08:17:43

Contact us at files@mathworks.com