Implements the Raster Extension.
If present, this will be a list containing 1 dictionary representing the properties of the owning Item
.
The href
value of the Asset
being extended.
The Asset
fields, including extension properties.
An enumeration.
Represents pixel distribution information attached to a band in the raster extension.
Use Band.create to create a new Band.
Sets the properties for this raster Band.
count – number of buckets of the distribution.
min – minimum value of the distribution. Also the mean value of the first bucket.
max – maximum value of the distribution. Also the mean value of the last bucket.
buckets – Array of integer indicating the number of pixels included in the bucket.
Get or sets the Array of integer indicating the number of pixels included in the bucket.
List[int]
Get or sets the number of buckets of the distribution.
int
Creates a new band.
count – number of buckets of the distribution.
min – minimum value of the distribution. Also the mean value of the first bucket.
max – maximum value of the distribution. Also the mean value of the last bucket.
buckets – Array of integer indicating the number of pixels included in the bucket.
Constructs an Histogram from a dict.
The Histogram deserialized from the JSON dict.
Get or sets the maximum value of the distribution.
float
Get or sets the minimum value of the distribution.
float
Returns this histogram as a dictionary.
The serialization of the Histogram.
A reference to the ItemAssetDefinition
being extended.
The ItemAssetDefinition
fields, including extension properties.
An enumeration.
Represents a Raster Band information attached to an Item that implements the raster extension.
Use Band.create to create a new Band.
Sets the properties for this raster Band.
nodata – Pixel values used to identify pixels that are nodata in the assets.
sampling – One of area or point. Indicates whether a pixel value should be assumed to represent a sampling over the region of the pixel or a point sample at the center of the pixel.
data_type – The data type of the band. One of the data types as described in the Raster Data Types <raster/#data-types> docs extension.
bits_per_sample – The actual number of bits used for this band. Normally only present when the number of bits is non-standard for the datatype, such as when a 1 bit TIFF is represented as byte
spatial_resolution – Average spatial resolution (in meters) of the pixels in the band.
statistics – Statistics of all the pixels in the band
unit – unit denomination of the pixel value
scale – multiplicator factor of the pixel value to transform into the value (i.e. translate digital number to reflectance).
offset – number to be added to the pixel value (after scaling) to transform into the value (i.e. translate digital number to reflectance).
histogram – Histogram distribution information of the pixels values in the band
Get or sets the actual number of bits used for this band.
float
Creates a new band.
nodata – Pixel values used to identify pixels that are nodata in the assets.
sampling – One of area or point. Indicates whether a pixel value should be assumed to represent a sampling over the region of the pixel or a point sample at the center of the pixel.
data_type – The data type of the band. One of the data types as described in the Raster Data Types <raster/#data-types> docs extension.
bits_per_sample – The actual number of bits used for this band. Normally only present when the number of bits is non-standard for the datatype, such as when a 1 bit TIFF is represented as byte
spatial_resolution – Average spatial resolution (in meters) of the pixels in the band.
statistics – Statistics of all the pixels in the band
unit – unit denomination of the pixel value
scale – multiplicator factor of the pixel value to transform into the value (i.e. translate digital number to reflectance).
offset – number to be added to the pixel value (after scaling) to transform into the value (i.e. translate digital number to reflectance).
histogram – Histogram distribution information of the pixels values in the band
Get or sets the data type of the band.
Optional[DataType]
Get or sets the histogram distribution information of the pixels values in the band.
[Histogram]
Get or sets the nodata pixel value
Optional[float]
Get or sets the number to be added to the pixel value (after scaling) to transform into the value (i.e. translate digital number to reflectance).
[float]
Get or sets the property indicating whether a pixel value should be assumed to represent a sampling over the region of the pixel or a point sample at the center of the pixel.
Optional[Sampling]
Get or sets the multiplicator factor of the pixel value to transform into the value (i.e. translate digital number to reflectance).
[float]
Get or sets the average spatial resolution (in meters) of the pixels in the band.
[float]
Get or sets the average spatial resolution (in meters) of the pixels in the band.
[Statistics]
Returns this band as a dictionary.
The serialization of the Band.
Get or sets the unit denomination of the pixel value
[str]
An abstract class that can be used to extend the properties of an Asset
, or ItemAssetDefinition
with properties from the Raster Extension. This class is generic over the type of STAC Object to be extended (e.g. Item
, Asset
).
This class will generally not be used directly. Instead, use the concrete implementation associated with the STAC Object you want to extend (e.g. AssetRasterExtension
to extend an Item
). You may prefer to use the ext class method of this class to construct the correct instance type for you.
Applies raster extension properties to the extended pystac.Item
or pystac.Asset
.
bands – a list of RasterBand
objects that represent the available raster bands.
Gets or sets a list of available bands where each item is a RasterBand
object (or None
if no bands have been set). If not available the field should not be provided.
Extends the given STAC Object with properties from the Raster Extension.
This extension can be applied to instances of Asset
.
pystac.ExtensionTypeError – If an invalid object type is passed.
Gets the schema URI associated with this extension.
Gets a list of schema URIs associated with this extension.
The Asset
fields, including extension properties.
An enumeration.
Represents statistics information attached to a band in the raster extension.
Use Statistics.create to create a new Statistics instance.
Sets the properties for this raster Band.
minimum – Minimum value of all the pixels in the band.
maximum – Maximum value of all the pixels in the band.
mean – Mean value of all the pixels in the band.
stddev – Standard Deviation value of all the pixels in the band.
valid_percent – Percentage of valid (not nodata) pixel.
Creates a new band.
minimum – Minimum value of all the pixels in the band.
maximum – Maximum value of all the pixels in the band.
mean – Mean value of all the pixels in the band.
stddev – Standard Deviation value of all the pixels in the band.
valid_percent – Percentage of valid (not nodata) pixel.
Constructs an Statistics from a dict.
The Statistics deserialized from the JSON dict.
Get or sets the maximum pixel value
Optional[float]
Get or sets the mean pixel value
Optional[float]
Get or sets the minimum pixel value
Optional[float]
Get or sets the standard deviation pixel value
Optional[float]
Returns these statistics as a dictionary.
The serialization of the Statistics.
Get or sets the Percentage of valid (not nodata) pixel
Optional[float]
A concrete implementation of SummariesExtension
that extends the summaries
field of a Collection
to include properties defined in the Raster Extension.
Get or sets a list of RasterBand
objects that represent the available bands.
Generalized version of Asset
or ItemAssetDefinition
alias of TypeVar(‘T’, ~pystac.asset.Asset, ~pystac.item_assets.ItemAssetDefinition)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4