Code covered by the BSD License  

Highlights from


5.0 | 3 ratings Rate this file 20 Downloads (last 30 days) File Size: 2.41 KB File ID: #10278




08 Mar 2006 (Updated )

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

| Watch this File

File Information

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.


This file inspired Geotiffinterp.

Required Products Mapping Toolbox
MATLAB release MATLAB 7.1.0 (R14SP3)
Other requirements inpolygons.m (File Exchange)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
22 Jul 2014 Shinobue111

Just what I needed!

22 Jul 2014 Shinobue111  
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?

Contact us