stackstac.raster_spec.RasterSpec

class stackstac.raster_spec.RasterSpec(epsg: int, bounds: Tuple[Union[int, float], Union[int, float], Union[int, float], Union[int, float]], resolutions_xy: Tuple[Union[int, float], Union[int, float]])

Spatial parameters defining the grid for a raster.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

bounds

Alias for field number 1

epsg

Alias for field number 0

resolutions_xy

Alias for field number 2

shape

rtype

Tuple[int, int]

transform

rtype

Affine

vrt_params

rtype

dict