odc.geo.geobox.GeoBox.boundary

GeoBox.boundary(pts_per_side=16)

Boundary of a GeoBox.

Construct a ring of points in pixel space along the edge of the geobox.

Parameters:

pts_per_side (int) – Number of points per side, default is 16.

Return type:

ndarray

Returns:

Points in pixel space along the perimeter of a GeoBox as a Nx2 array in pixel coordinates.