isciences / exactextract

Fast and accurate raster zonal statistics
Apache License 2.0
255 stars 33 forks source link

NA values for small polygons #10

Closed karlozfp closed 4 years ago

karlozfp commented 4 years ago

Thanks for your great contribution!!. exact_extract works very fast in comparison to other packages however I am getting NA values for very small polygons that are covered by one pixel. Is there something to do about it in exact_extract function?

dbaston commented 4 years ago

This should work without problems. Do you have some test data you can share?

karlozfp commented 4 years ago

Sorry, it was a mistake since particular pixels resulted to have NA values.