Implements the Point Cloud Extension.
A concrete implementation of PointcloudExtension
on an Asset
that extends the Asset fields to include properties defined in the Point Cloud Extension.
This class should generally not be instantiated directly. Instead, call PointcloudExtension.ext()
on an Asset
to extend it.
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.
The properties that this extension wraps.
The extension which implements PropertiesExtension can use _get_property
and _set_property
to get and set values on this instance. Note that _set_properties mutates the properties directly.
A concrete implementation of PointcloudExtension
on an Item
that extends the properties of the Item to include properties defined in the Point Cloud Extension.
This class should generally not be instantiated directly. Instead, call PointcloudExtension.ext()
on an Item
to extend it.
The properties that this extension wraps.
The extension which implements PropertiesExtension can use _get_property
and _set_property
to get and set values on this instance. Note that _set_properties mutates the properties directly.
Valid values for the pc:type
field in the Pointcloud Item Properties.
An abstract class that can be used to extend the properties of an Item
or Asset
with properties from the Point Cloud Extension. This class is generic over the type of STAC Object to be extended (e.g. Item
, Asset
).
To create a concrete instance of PointcloudExtension
, use the PointcloudExtension.ext()
method. For example:
>>> item: pystac.Item = ... >>> pc_ext = PointcloudExtension.ext(item)
Applies Pointcloud extension properties to the extended Item.
count – REQUIRED. The number of points in the cloud.
type – REQUIRED. Phenomenology type for the point cloud. Possible valid values might include lidar, eopc, radar, sonar, or otherThe type of file or data format of the cloud.
encoding – REQUIRED. Content encoding or format of the data.
schemas – REQUIRED. A sequential array of items that define the dimensions and their types.
density – Number of points per square unit area.
statistics – A sequential array of items mapping to pc:schemas defines per-channel statistics.
Gets or sets the number of points in the Item.
Gets or sets the number of points per square unit area.
Gets or sets the content encoding or format of the data.
Extends the given STAC Object with properties from the Point Cloud Extension.
This extension can be applied to instances of Item
or Asset
.
pystac.ExtensionTypeError – If an invalid object type is passed.
Gets the schema URI associated with this extension.
Gets or sets the list of Schema
instances defining dimensions and types for the data.
Gets or sets the list of Statistic
instances describing the pre-channel statistics. Elements in this list map to elements in the PointcloudExtension.schemas
list.
Gets or sets the phenomenology type for the point cloud.
Defines a schema for dimension of a pointcloud (e.g., name, size, type)
Use Schema.create()
to create a new instance of Schema
from properties.
Sets the properties for this Schema.
name – The name of dimension.
size – The size of the dimension in bytes. Whole bytes are supported.
type – Dimension type. Valid values are floating
, unsigned
, and
signed
Creates a new Schema.
name – The name of dimension.
size – The size of the dimension in bytes. Whole bytes are supported.
type – Dimension type. Valid values are floating
, unsigned
, and
signed
Gets or sets the name property for this Schema.
Gets or sets the size value.
Returns this schema as a dictionary.
Gets or sets the type property. Valid values are floating
, unsigned
, and signed
.
Valid values for the type
field in a Schema Object.
Defines a single statistic for Pointcloud channel or dimension
Use Statistic.create()
to create a new instance of Statistic
from property values.
Sets the properties for this Statistic.
name – REQUIRED. The name of the channel.
position – Optional position of the channel in the schema.
average – Optional average of the channel.
count – Optional number of elements in the channel.
maximum – Optional maximum value of the channel.
minimum – Optional minimum value of the channel.
stddev – Optional standard deviation of the channel.
variance – Optional variance of the channel.
Gets or sets the average property.
Gets or sets the count property.
Creates a new Statistic class.
name – REQUIRED. The name of the channel.
position – Optional position of the channel in the schema.
average – Optional average of the channel.
count – Optional number of elements in the channel.
maximum – Optional maximum value of the channel.
minimum – Optional minimum value of the channel.
stddev – Optional standard deviation of the channel.
variance – Optional variance of the channel.
Gets or sets the maximum property.
Gets or sets the minimum property.
Gets or sets the name property.
Gets or sets the position property.
Gets or sets the stddev property.
Returns this statistic as a dictionary.
Gets or sets the variance property.
A concrete implementation of SummariesExtension
that extends the summaries
field of a Collection
to include properties defined in the Point Cloud Extension.
Generalized version of Item
, Asset
, or ItemAssetDefinition
alias of TypeVar(‘T’, ~pystac.item.Item, ~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