datacube.utils.geometry.roi_boundary¶ datacube.utils.geometry.roi_boundary(roi, pts_per_side=2)[source]¶ Get boundary points from a 2d roi. roi needs to be in the normalised form, i.e. no open-ended start/stop, see roi_normalise Returns: Nx2 float64 array of X,Y points on the perimeter of the envelope defined by roi