mapbox / nodata

Because the pixels you can't see are harder than the ones you can.
MIT License
1 stars 3 forks source link

Develop an all-valid function #11

Closed sgillies closed 8 years ago

sgillies commented 8 years ago

The "windower" could call this function to skip processing of a window and mark it as all valid pixels. This will have the same interface as other algorithmic functions.

/cc @perrygeo @dnomadb

perrygeo commented 8 years ago

Instead of calling all_valid in the windowing functions, compute_valid_nodata_mask could run the test and skip calling the func altogether.