odc.geo.geobox.GeoBox
- class odc.geo.geobox.GeoBox(shape, affine, crs)[source]
Defines the location and resolution of a rectangular grid of data, including it’s
CRS
.- Parameters
Methods
__init__
(shape, affine, crs)buffered
(xbuff[, ybuff])Produce a tile buffered by
xbuff, ybuff
(in CRS units).from_geopolygon
(geopolygon, resolution[, ...])Construct
GeoBox
from a polygon.is_empty
()Check if geobox is "empty".
Attributes
Alignment of pixel boundaries in CRS units.
Query coordinates.
Query coordinates.
Coordinate Reference System of the GeoBox.
List of dimension names of the GeoBox.
List of dimension names of the GeoBox.
GeoBox extent in EPSG:4326.
height
Height in pixels (ny).
Resolution, pixel size in CRS units.
Shape in pixels
(height, width)
.Linear mapping from pixel space to CRS.
width
Width in pixels (nx).