datacube.utils.geometry.GeoBox#
- class datacube.utils.geometry.GeoBox(width, height, affine, crs)[source]#
Defines the location and resolution of a rectangular grid of data, including it’s
CRS
.- Parameters
Methods
__init__
(width, height, affine, crs)buffered
(ybuff, xbuff)Produce a tile buffered by ybuff, xbuff (in CRS units)
from_geopolygon
(geopolygon, resolution[, ...])is_empty
()- rtype
xr_coords
([with_crs])Dictionary of Coordinates in xarray format
Attributes
Alignment of pixel boundaries in Y,X dimensions
dict of coordinate labels
dict of coordinate labels
crs
List of dimension names of the GeoBox
List of dimension names of the GeoBox
4326
Resolution in Y,X dimensions
shape
transform
Affine
Attributes:
Alignment of pixel boundaries in Y,X dimensions
dict of coordinate labels
dict of coordinate labels
List of dimension names of the GeoBox
List of dimension names of the GeoBox
4326
Resolution in Y,X dimensions
Methods:
buffered
(ybuff, xbuff)Produce a tile buffered by ybuff, xbuff (in CRS units)
from_geopolygon
(geopolygon, resolution[, ...])xr_coords
([with_crs])Dictionary of Coordinates in xarray format
- property coordinates: Dict[str, datacube.utils.geometry._base.Coordinate]#
dict of coordinate labels
- Return type
- property coords: Dict[str, datacube.utils.geometry._base.Coordinate]#
dict of coordinate labels
- Return type
- property geographic_extent: datacube.utils.geometry._base.Geometry#
4326
- Return type
- Type
GeoBox extent in EPSG