@cdeil The input mask is created in `create_regions_mask` which then loops over all regions. The individual region's `scan` method modifies the mask (no copy).The region has coordinate system attached to it. All regions in a mask should have the same coordinate system. The coordinate system is not limited to cartesian.