Skip to content

Portal Asset

Portal Assets are used to describe the files associated with a Portal Item or Collection.

See STAC Assets for more details.

Asset.ts
interface Asset {
href: string;
title?: string;
description?: string;
type?: string;
roles?: string[];
}
asset.json
{
"href": "https://www.your-site.com/019decb5-bacd-7032-a444-d27d03e458b6",
"title": "Portal Item 019decb5-bacd-7032-a444-d27d03e458b6",
"description": "This is a description of the Portal Item 019decb5-bacd-7032-a444-d27d03e458b6",
"type": "application/json",
"roles": ["data", "metadata"]
}
type: string
URI to the asset object. Relative and absolute URI are both allowed. Trailing slashes are significant.
type: string
The displayed title for clients and users.
type: string
A description of the Asset providing additional details, such as how it was processed or created. CommonMark 0.29 syntax MAY be used for rich text representation.

// TODO: add link to media types

type: string

Media type of the asset.
type: string[]
The semantic roles of the asset, similar to the use of rel in links. See Asset Roles below.

These are the roles that can be used for an asset.

See STAC Asset Roles for more details.

Role NameDescription
dataThe data itself, excluding the metadata.
metadataMetadata sidecar files describing the data, for example a Landsat-8 MTL file.
thumbnailAn asset that represents a thumbnail of the Item or Collection, typically a RGB or grayscale image primarily for human consumption, low resolution, restricted spatial extent, and displayable in a web browser without scripts or extensions.
overviewAn asset that represents a more detailed overview of the Item or Collection, typically a RGB or grayscale image primarily for human consumption, medium resolution, full spatial extent, in a file format that’s can be visualized easily (e.g., Cloud-Optimized GeoTiff).
visualAn asset that represents a detailed overview of the Item or Collection, typically a RGB or grayscale image primarily for human consumption, high or native resolution (often sharpened), full spatial extent, in a file format that’s can be visualized easily (e.g., Cloud-Optimized GeoTiff).
dateAn asset that provides per-pixel acquisition timestamps, typically serving as metadata to another asset.
graphicSupporting plot, illustration, or graph associated with the Item.
data-maskFile indicating if corresponding pixels have Valid data and various types of invalid data.
snow-icePoints to a file that indicates whether a pixel is assessed as being snow/ice or not.
land-waterPoints to a file that indicates whether a pixel is assessed as being land or water.
water-maskPoints to a file that indicates whether a pixel is assessed as being water (e.g. flooding map).
iso-19115Points to an ISO 19115 metadata file.