mask.mask() / Is prohibiting 'crop and invert' necessary?


Shinji Suzuki
 

Hello.
Specifically https://github.com/mapbox/rasterio/blob/8cb216ca83e57284f8a56bafbe8eda4334a34db6/rasterio/mask.py#L71

I don't see that they are exclusive or redundant to each other. And a
sample code I wrote works though both flags are specified to be True
once the check is removed.
Was there confusion between masking outside/inside of feature and
masking inside/outside of window when the relevant code was inserted
perhaps?

-shinji