Thanks, Andrew. That worked nicely. I'll remember the extract function now! -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/NDVI-value-averaging-with-a-polygon-tp7586033p7586035.html Sent from the R-sig-geo mailing list archive at Nabble.com.