[R-sig-Geo] Raster extract by polygon generating NAs

João Carreiras jmbc@rreir@@ @ending from gm@il@com
Wed May 16 20:27:50 CEST 2018


Greetings!

I'm using the extract command (raster package) with a raster layer (x)
and a spatial polygons dataframe (y). I'm using it to extract the sum
of raster values by each spatial polygon. However, I'm getting NAs as
a result for some polygon IDs, which I know isn't true because that
doesn't happen in ArcGIS.

Does anyone experienced the same issue?

Thanks!
Joao



More information about the R-sig-Geo mailing list