-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Milestone
Description
In addition to all_touched vs centroid, there's the possibility of using a partial pixel coverage to e.g. select cells with > X% overlap.
See the discussion at rasterio/rasterio#232 and a proof-of-concept implementation
The core functionality of calculating pixel weights probably belongs in GDAL or rasterio but could also live here I suppose. This lib would just use the result to threshold pixels above a specified percentage.