Skip to contents

Test if raster cells intersect with a polygon using simple corner test Include cell if ANY of its 4 corners are inside the polygon

Usage

test_cells_in_polygon(raster_obj, cell_indices, poly_x, poly_y)