PixelsTransform#
- class geodesic.boson.PixelsTransform(*args, **kwargs)[source]#
Attributes
properties
(dict) - properties (if any) to configure the middleware
type
(str) - type of middleware to apply to a provider
Methods
band_arithmetic
(expression, asset_name)Creates a new asset by applying a band arithmetic expression to an existing asset
clear
()colormap
(*, asset, band[, colormap_name, ...])apply a colormap to the pixels data from an existing asset in the dataset
copy
()datetime_difference
(datetime1, datetime2, ...)Creates a new asset by calculating the difference between two datetime bands
default_asset_bands
(default_asset_bands)sets the default value of asset_bands in a pixels request on a Dataset.
default_datetime_range
([start, end, before_now])sets the default datetime range in a pixels request on a Dataset.
fromkeys
([value])Create a new dictionary with keys from iterable and values set to value.
get
(key[, default])Return the value for key if key is in the dictionary, else default.
inverse_distance_weighting
(attribute_name, ...)creates an interpolated image from a feature collection using inverse distance weighting
items
()keys
()normalized_difference
(asset_band_1, ...)Creates a new asset by calculating the normalized difference between two bands
pop
(k[,d])If key is not found, default is returned if given, otherwise KeyError is raised
popitem
()Remove and return a (key, value) pair as a 2-tuple.
rasterize
([attribute_name, value, use_z, ...])creates a rasterized image from a feature collection as a new raster asset
rescale_shift
(asset[, bands, scale, shift, ...])rescale the pixel values of an asset in a dataset
setdefault
(key[, default])Insert key with a value of default if key is not in the dictionary.
update
(*mapping, **kwargs)values
()