Skip to content

Reference assets in a dataset

Add references to files in external storage when ingesting Tilebox datapoints.

Reference files that already exist in object storage, behind HTTP URLs, or on a local filesystem by adding asset fields to your dataset schema and ingestion records.

Add structured STAC fields

Tilebox provides the following structured field types for STAC-compatible datasets. See dataset field types for the complete list of supported types.

Field type Purpose
Assets References files associated with a datapoint, including their locations, media types, roles, and optional metadata.
Storage Describes reusable storage schemes.
Authentication Describes reusable access methods.
Links References related STAC resources.
Provider Identifies organizations that produce, process, license, or host data.
ProcessingSoftware Records software and versions used to process data.

Both Assets and Links can reference entries in the storage and authentication registries. In Python, AssetCollection combines assets with optional storage and authentication entries needed to access them.

Add the assets, storage, and authentication fields explicitly when you create the dataset:

Prepare assets for ingestion

Construct assets from their source locations, then check and normalize the collection. This ensures that the storage client can read the referenced bytes. to_fields() converts the collection into fields for a complete datapoint record.

Pass the complete record to the standard datapoint ingestion API.

Add more asset metadata

Assets can also describe alternate locations, bands, and metadata from STAC extensions such as Raster, Electro-Optical, and Projection. See the Asset API reference for the available fields.

Type to search…