stac
Creates, updates, deletes, gets or lists a stac resource.
Overview
| Name | stac |
| Type | Resource |
| Id | azure.planetary_computer_dataplane.stac |
Fields
The following fields are returned by SELECT queries:
- get_mosaic
- get_render_option
- get_item
- get_collection_configuration
- get_collections
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the mosaic. Required. |
name | string | Short descriptive name for the mosaic. Required. |
cql | array | A list of valid CQL2-JSON expressions used to filter the collection to moasic. Required. |
description | string | Detailed description of the mosaic. |
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the render option. Required. |
name | string | Short descriptive name for the render option. Required. |
conditions | array | A list of property/value conditions that must be in the active mosaic CQL for this render option to be enabled. |
description | string | A longer description of the render option that can be used to explain its content. |
legend | object | Legend configuration for this render option. |
minZoom | integer | Minimum zoom level at which to display this layer. |
options | string | A URL query-string encoded string of TiTiler rendering options. Valid only for raster-tile types. See Query Parameters _. |
type | string | The type of rendering to apply (raster or vector). Known values are: "raster-tile", "vt-polygon", and "vt-line". (raster-tile, vt-polygon, vt-line) |
vectorOptions | object | Options for rendering vector tiles. Valid only for vt-polygon and vt-line types. |
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the feature. Required. |
_msft:etag | string | MSFT ETag. |
_msft:ts | string (date-time) | MSFT Timestamp. |
assets | object | Assets. Required. |
bbox | array | Bounding box coordinates for the feature. Required. |
collection | string | ID of the STAC collection this item belongs to. |
constellation | string | Constellation of satellites that acquired the data. |
created | string (date-time) | Creation timestamp of the data. |
datetime | string | Datetime the asset represents in RFC 3339 format. Required. |
description | string | Detailed description of the item. |
end_datetime | string (date-time) | End time of the item observation period. |
geometry | object | Geometry object defining the feature's shape. Required. |
gsd | number | Ground sample distance in meters. |
instruments | array | Instruments that acquired the data. |
links | array | Links to related resources and endpoints. |
mission | string | Mission associated with the data. |
msft:_created | string (date-time) | MSFT Created. |
msft:_updated | string (date-time) | MSFT Updated. |
msft:short_description | string | MSFT Short Description. |
platform | string | Platform that acquired the data. |
providers | array | Organizations or individuals who provide the data. |
stac_extensions | array | URLs to STAC extensions implemented by this STAC resource. |
stac_version | string | Stac Version. |
start_datetime | string (date-time) | Start time of the item observation period. |
title | string | Human-readable title for the item. |
type | string | GeoJSON type identifier for Feature. Required. GeoJSON Feature type. |
updated | string (date-time) | Last update timestamp of the data. |
| Name | Datatype | Description |
|---|---|---|
mosaicInfo | object | Settings for data mosaic visualization. Required. |
tileSettings | object | Settings for map tile visualization. Required. |
| Name | Datatype | Description |
|---|---|---|
collections | array | Array of STAC collections available in the catalog. Required. |
links | array | Links to related resources and endpoints. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_mosaic | select | collection_id, mosaic_id, endpoint | Get Collection Mosaic. Get a mosaic definition from a given collection. | |
get_render_option | select | collection_id, render_option_id, endpoint | Get Collection Render Option. Get a render option for a given collection. | |
get_item | select | collection_id, item_id, endpoint | sign, duration | Fetch a single STAC Item. |
get_collection_configuration | select | collection_id, endpoint | Get Config. Get the complete user configuration for a given collection. | |
get_collections | select | endpoint | sign, duration | Get Collections. List all collections in the GeoCatalog instance. |
replace_mosaic | exec | collection_id, mosaic_id, endpoint, id, name, cql | Update Collection Mosaic. Update a mosaic definition from a given collection. | |
delete_mosaic | exec | collection_id, mosaic_id, endpoint | Delete Collection Mosaic. Delete a mosaic definition from a given collection. | |
get_mosaics | exec | collection_id, endpoint | Get Collection Mosaics. Get the mosaic definitions for a given collection. | |
add_mosaic | exec | collection_id, endpoint, id, name, cql | Add Collection Mosaic. Add a mosaic definition to a given collection. | |
get_collection | exec | collection_id, endpoint | sign, duration | Get Collection. Get a collection in the GeoCatalog instance. |
replace_collection | exec | collection_id, endpoint, id, description, links, license, extent | Replace Collection. Replace an existing collection in the GeoCatalog instance. | |
delete_collection | exec | collection_id, endpoint | Delete Collection. Delete a collection in the GeoCatalog instance. | |
create_collection | exec | endpoint, id, description, links, license, extent | Create Collection. Create a new collection in the GeoCatalog instance. | |
get_partition_type | exec | collection_id, endpoint | Get Partitiontype. Get the partitiontype for a GeoCatalog Collection. | |
replace_partition_type | exec | collection_id, endpoint | Create Partitiontype. Updates partition type for a GeoCatalog Collection. This will determine the partitioning scheme for items within the database, and can only be set before any items are loaded. Ideal partitioning schemes result in partitions of roughly 100k items each. The default partitioning scheme is "none" which does not partition items. | |
replace_render_option | exec | collection_id, render_option_id, endpoint, id, name | Update Collection Render Option. Update a render option for a given collection. | |
delete_render_option | exec | collection_id, render_option_id, endpoint | Delete Collection Render Option. Delete a render option for a given collection. | |
get_render_options | exec | collection_id, endpoint | Get Collection Render Options. Get all render options for a given collection. | |
create_render_option | exec | collection_id, endpoint, id, name | Add Collection Render Option. Add a render option for a given collection. | |
get_collection_thumbnail | exec | collection_id, endpoint | Get Collection Thumbnail. Get thumbnail for given collection. | |
get_tile_settings | exec | collection_id, endpoint | Get Collection Tile Settings. Get the tile settings for a given collection. | |
replace_tile_settings | exec | collection_id, endpoint, minZoom, maxItemsPerTile | Update Collection Tile Settings. Update the tile settings for a given collection. | |
get_conformance_classes | exec | endpoint | Conformance Classes. Returns the STAC conformance classes. | |
get_landing_page | exec | endpoint | Landing Page. Return the STAC landing page. | |
replace_item | exec | collection_id, item_id, endpoint, type, geometry, id, bbox, properties, assets | Replace a STAC item in a collection. | |
delete_item | exec | collection_id, item_id, endpoint | Delete a STAC item from a collection. | |
update_item | exec | collection_id, item_id, endpoint, type, geometry, id, bbox, properties, assets | Update a STAC item in a collection. | |
get_item_collection | exec | collection_id, endpoint | limit, bbox, datetime, sign, duration, token | Fetch features of the feature collection with id collectionId. Every feature in a dataset belongs to a collection. A dataset may consist of multiple feature collections. A feature collection is often a collection of features of a similar type, based on a common schema. |
create_item | exec | collection_id, endpoint, type | Create a new STAC item or a set of items in a collection. | |
get_queryables | exec | endpoint | Queryables. List all queryables in the GeoCatalog instance. | |
get_collection_queryables | exec | collection_id, endpoint | Collection Queryables. List all queryables in a given collection. | |
create_queryables | exec | collection_id, endpoint, name, definition | Set Collection Queryables. Set queryables for a collection given a list of queryable definitions. | |
create_collection_asset | exec | collection_id, endpoint, data, file | Create Collection Asset. Create a new asset in the Collection metadata and write the associated file to managed storage. | |
replace_collection_asset | exec | collection_id, asset_id, endpoint, data, file | Update Collection Asset. Update an existing asset in a given collection. | |
delete_collection_asset | exec | collection_id, asset_id, endpoint | Delete Collection Asset. Delete an asset from a given collection. | |
replace_queryable | exec | collection_id, queryable_name, endpoint, name, definition | Update Collection Queryables. Updates a queryable given a queryable definition and corresponding collection id. | |
delete_queryable | exec | collection_id, queryable_name, endpoint | Delete Queryables. Delete queryables by name for specified collection. | |
search | exec | endpoint | sign, duration | Search. STAC search operation. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
asset_id | string | STAC Asset ID. Required. |
collection_id | string | Unique identifier for the STAC collection. Required. |
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
item_id | string | STAC Item id. Required. |
mosaic_id | string | Unique identifier for the mosaic configuration. Required. |
queryable_name | string | Name of the queryable property to operate on. Required. |
render_option_id | string | Unique identifier for the render option. Required. |
bbox | array | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four or six numbers, depending on whether the coordinate reference system includes a vertical axis (height or depth): * Lower left corner, coordinate axis 1 * Lower left corner, coordinate axis 2 * Minimum value, coordinate axis 3 (optional) * Upper right corner, coordinate axis 1 * Upper right corner, coordinate axis 2 * Maximum value, coordinate axis 3 (optional) The coordinate reference system of the values is WGS 84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84 _). For WGS 84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If the vertical axis is included, the third and the sixth number are the bottom and the top of the 3-dimensional bounding box. If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries. Default value is None. |
datetime | string | Either a date-time or an interval, open or closed. Date and time expressions adhere to RFC 3339. Open intervals are expressed using double-dots. Examples: * A date-time: "2018-02-12T23:20:50Z" * A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" * Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" Only features that have a temporal property that intersects the value of datetime are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties. Default value is None. |
duration | integer | URL signature duration in minutes. Default value is None. |
limit | integer | The optional limit parameter recommends the number of items that should be present in the response document. If the limit parameter value is greater than advertised limit maximum, the server must return the maximum possible number of items, rather than responding with an error. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items must not be counted. Minimum = 1. Maximum = 10000. Default = 10. Default value is None. |
sign | string | Whether to sign asset URLs in the response. Known values are: "true" and "false". Default value is None. |
token | string | Pagination token for fetching the next set of results. Default value is None. |
SELECT examples
- get_mosaic
- get_render_option
- get_item
- get_collection_configuration
- get_collections
Get Collection Mosaic. Get a mosaic definition from a given collection.
SELECT
id,
name,
cql,
description
FROM azure.planetary_computer_dataplane.stac
WHERE collection_id = '{{ collection_id }}' -- required
AND mosaic_id = '{{ mosaic_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;
Get Collection Render Option. Get a render option for a given collection.
SELECT
id,
name,
conditions,
description,
legend,
minZoom,
options,
type,
vectorOptions
FROM azure.planetary_computer_dataplane.stac
WHERE collection_id = '{{ collection_id }}' -- required
AND render_option_id = '{{ render_option_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;
Fetch a single STAC Item.
SELECT
id,
_msft:etag,
_msft:ts,
assets,
bbox,
collection,
constellation,
created,
datetime,
description,
end_datetime,
geometry,
gsd,
instruments,
links,
mission,
msft:_created,
msft:_updated,
msft:short_description,
platform,
providers,
stac_extensions,
stac_version,
start_datetime,
title,
type,
updated
FROM azure.planetary_computer_dataplane.stac
WHERE collection_id = '{{ collection_id }}' -- required
AND item_id = '{{ item_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND sign = '{{ sign }}'
AND duration = '{{ duration }}'
;
Get Config. Get the complete user configuration for a given collection.
SELECT
mosaicInfo,
tileSettings
FROM azure.planetary_computer_dataplane.stac
WHERE collection_id = '{{ collection_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;
Get Collections. List all collections in the GeoCatalog instance.
SELECT
collections,
links
FROM azure.planetary_computer_dataplane.stac
WHERE endpoint = '{{ endpoint }}' -- required
AND sign = '{{ sign }}'
AND duration = '{{ duration }}'
;
Lifecycle Methods
- replace_mosaic
- delete_mosaic
- get_mosaics
- add_mosaic
- get_collection
- replace_collection
- delete_collection
- create_collection
- get_partition_type
- replace_partition_type
- replace_render_option
- delete_render_option
- get_render_options
- create_render_option
- get_collection_thumbnail
- get_tile_settings
- replace_tile_settings
- get_conformance_classes
- get_landing_page
- replace_item
- delete_item
- update_item
- get_item_collection
- create_item
- get_queryables
- get_collection_queryables
- create_queryables
- create_collection_asset
- replace_collection_asset
- delete_collection_asset
- replace_queryable
- delete_queryable
- search
Update Collection Mosaic. Update a mosaic definition from a given collection.
EXEC azure.planetary_computer_dataplane.stac.replace_mosaic
@collection_id='{{ collection_id }}' --required,
@mosaic_id='{{ mosaic_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"id": "{{ id }}",
"name": "{{ name }}",
"description": "{{ description }}",
"cql": "{{ cql }}"
}'
;
Delete Collection Mosaic. Delete a mosaic definition from a given collection.
EXEC azure.planetary_computer_dataplane.stac.delete_mosaic
@collection_id='{{ collection_id }}' --required,
@mosaic_id='{{ mosaic_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Get Collection Mosaics. Get the mosaic definitions for a given collection.
EXEC azure.planetary_computer_dataplane.stac.get_mosaics
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Add Collection Mosaic. Add a mosaic definition to a given collection.
EXEC azure.planetary_computer_dataplane.stac.add_mosaic
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"id": "{{ id }}",
"name": "{{ name }}",
"description": "{{ description }}",
"cql": "{{ cql }}"
}'
;
Get Collection. Get a collection in the GeoCatalog instance.
EXEC azure.planetary_computer_dataplane.stac.get_collection
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@sign='{{ sign }}',
@duration='{{ duration }}'
;
Replace Collection. Replace an existing collection in the GeoCatalog instance.
EXEC azure.planetary_computer_dataplane.stac.replace_collection
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"msft:_created": "{{ msft:_created }}",
"msft:_updated": "{{ msft:_updated }}",
"msft:short_description": "{{ msft:short_description }}",
"stac_extensions": "{{ stac_extensions }}",
"id": "{{ id }}",
"description": "{{ description }}",
"stac_version": "{{ stac_version }}",
"links": "{{ links }}",
"title": "{{ title }}",
"type": "{{ type }}",
"assets": "{{ assets }}",
"item_assets": "{{ item_assets }}",
"license": "{{ license }}",
"extent": "{{ extent }}",
"keywords": "{{ keywords }}",
"providers": "{{ providers }}",
"summaries": "{{ summaries }}"
}'
;
Delete Collection. Delete a collection in the GeoCatalog instance.
EXEC azure.planetary_computer_dataplane.stac.delete_collection
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Create Collection. Create a new collection in the GeoCatalog instance.
EXEC azure.planetary_computer_dataplane.stac.create_collection
@endpoint='{{ endpoint }}' --required
@@json=
'{
"msft:_created": "{{ msft:_created }}",
"msft:_updated": "{{ msft:_updated }}",
"msft:short_description": "{{ msft:short_description }}",
"stac_extensions": "{{ stac_extensions }}",
"id": "{{ id }}",
"description": "{{ description }}",
"stac_version": "{{ stac_version }}",
"links": "{{ links }}",
"title": "{{ title }}",
"type": "{{ type }}",
"assets": "{{ assets }}",
"item_assets": "{{ item_assets }}",
"license": "{{ license }}",
"extent": "{{ extent }}",
"keywords": "{{ keywords }}",
"providers": "{{ providers }}",
"summaries": "{{ summaries }}"
}'
;
Get Partitiontype. Get the partitiontype for a GeoCatalog Collection.
EXEC azure.planetary_computer_dataplane.stac.get_partition_type
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Create Partitiontype. Updates partition type for a GeoCatalog Collection. This will determine the partitioning scheme for items within the database, and can only be set before any items are loaded. Ideal partitioning schemes result in partitions of roughly 100k items each. The default partitioning scheme is "none" which does not partition items.
EXEC azure.planetary_computer_dataplane.stac.replace_partition_type
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"scheme": "{{ scheme }}"
}'
;
Update Collection Render Option. Update a render option for a given collection.
EXEC azure.planetary_computer_dataplane.stac.replace_render_option
@collection_id='{{ collection_id }}' --required,
@render_option_id='{{ render_option_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"id": "{{ id }}",
"name": "{{ name }}",
"description": "{{ description }}",
"type": "{{ type }}",
"options": "{{ options }}",
"vectorOptions": "{{ vectorOptions }}",
"minZoom": {{ minZoom }},
"legend": "{{ legend }}",
"conditions": "{{ conditions }}"
}'
;
Delete Collection Render Option. Delete a render option for a given collection.
EXEC azure.planetary_computer_dataplane.stac.delete_render_option
@collection_id='{{ collection_id }}' --required,
@render_option_id='{{ render_option_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Get Collection Render Options. Get all render options for a given collection.
EXEC azure.planetary_computer_dataplane.stac.get_render_options
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Add Collection Render Option. Add a render option for a given collection.
EXEC azure.planetary_computer_dataplane.stac.create_render_option
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"id": "{{ id }}",
"name": "{{ name }}",
"description": "{{ description }}",
"type": "{{ type }}",
"options": "{{ options }}",
"vectorOptions": "{{ vectorOptions }}",
"minZoom": {{ minZoom }},
"legend": "{{ legend }}",
"conditions": "{{ conditions }}"
}'
;
Get Collection Thumbnail. Get thumbnail for given collection.
EXEC azure.planetary_computer_dataplane.stac.get_collection_thumbnail
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Get Collection Tile Settings. Get the tile settings for a given collection.
EXEC azure.planetary_computer_dataplane.stac.get_tile_settings
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Update Collection Tile Settings. Update the tile settings for a given collection.
EXEC azure.planetary_computer_dataplane.stac.replace_tile_settings
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"minZoom": {{ minZoom }},
"maxItemsPerTile": {{ maxItemsPerTile }},
"defaultLocation": "{{ defaultLocation }}"
}'
;
Conformance Classes. Returns the STAC conformance classes.
EXEC azure.planetary_computer_dataplane.stac.get_conformance_classes
@endpoint='{{ endpoint }}' --required
;
Landing Page. Return the STAC landing page.
EXEC azure.planetary_computer_dataplane.stac.get_landing_page
@endpoint='{{ endpoint }}' --required
;
Replace a STAC item in a collection.
EXEC azure.planetary_computer_dataplane.stac.replace_item
@collection_id='{{ collection_id }}' --required,
@item_id='{{ item_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"type": "{{ type }}",
"stac_version": "{{ stac_version }}",
"links": "{{ links }}",
"msft:_created": "{{ msft:_created }}",
"msft:_updated": "{{ msft:_updated }}",
"msft:short_description": "{{ msft:short_description }}",
"stac_extensions": "{{ stac_extensions }}",
"geometry": "{{ geometry }}",
"id": "{{ id }}",
"collection": "{{ collection }}",
"bbox": "{{ bbox }}",
"properties": "{{ properties }}",
"assets": "{{ assets }}",
"_msft:ts": "{{ _msft:ts }}",
"_msft:etag": "{{ _msft:etag }}"
}'
;
Delete a STAC item from a collection.
EXEC azure.planetary_computer_dataplane.stac.delete_item
@collection_id='{{ collection_id }}' --required,
@item_id='{{ item_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Update a STAC item in a collection.
EXEC azure.planetary_computer_dataplane.stac.update_item
@collection_id='{{ collection_id }}' --required,
@item_id='{{ item_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"type": "{{ type }}",
"stac_version": "{{ stac_version }}",
"links": "{{ links }}",
"msft:_created": "{{ msft:_created }}",
"msft:_updated": "{{ msft:_updated }}",
"msft:short_description": "{{ msft:short_description }}",
"stac_extensions": "{{ stac_extensions }}",
"geometry": "{{ geometry }}",
"id": "{{ id }}",
"collection": "{{ collection }}",
"bbox": "{{ bbox }}",
"properties": "{{ properties }}",
"assets": "{{ assets }}",
"_msft:ts": "{{ _msft:ts }}",
"_msft:etag": "{{ _msft:etag }}"
}'
;
Fetch features of the feature collection with id collectionId. Every feature in a dataset belongs to a collection. A dataset may consist of multiple feature collections. A feature collection is often a collection of features of a similar type, based on a common schema.
EXEC azure.planetary_computer_dataplane.stac.get_item_collection
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@limit='{{ limit }}',
@bbox='{{ bbox }}',
@datetime='{{ datetime }}',
@sign='{{ sign }}',
@duration='{{ duration }}',
@token='{{ token }}'
;
Create a new STAC item or a set of items in a collection.
EXEC azure.planetary_computer_dataplane.stac.create_item
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"type": "{{ type }}",
"stac_version": "{{ stac_version }}",
"links": "{{ links }}",
"msft:_created": "{{ msft:_created }}",
"msft:_updated": "{{ msft:_updated }}",
"msft:short_description": "{{ msft:short_description }}",
"stac_extensions": "{{ stac_extensions }}"
}'
;
Queryables. List all queryables in the GeoCatalog instance.
EXEC azure.planetary_computer_dataplane.stac.get_queryables
@endpoint='{{ endpoint }}' --required
;
Collection Queryables. List all queryables in a given collection.
EXEC azure.planetary_computer_dataplane.stac.get_collection_queryables
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Set Collection Queryables. Set queryables for a collection given a list of queryable definitions.
EXEC azure.planetary_computer_dataplane.stac.create_queryables
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"name": "{{ name }}",
"definition": "{{ definition }}",
"create_index": {{ create_index }},
"data_type": "{{ data_type }}"
}'
;
Create Collection Asset. Create a new asset in the Collection metadata and write the associated file to managed storage.
EXEC azure.planetary_computer_dataplane.stac.create_collection_asset
@collection_id='{{ collection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"data": "{{ data }}",
"file": "{{ file }}"
}'
;
Update Collection Asset. Update an existing asset in a given collection.
EXEC azure.planetary_computer_dataplane.stac.replace_collection_asset
@collection_id='{{ collection_id }}' --required,
@asset_id='{{ asset_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"data": "{{ data }}",
"file": "{{ file }}"
}'
;
Delete Collection Asset. Delete an asset from a given collection.
EXEC azure.planetary_computer_dataplane.stac.delete_collection_asset
@collection_id='{{ collection_id }}' --required,
@asset_id='{{ asset_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Update Collection Queryables. Updates a queryable given a queryable definition and corresponding collection id.
EXEC azure.planetary_computer_dataplane.stac.replace_queryable
@collection_id='{{ collection_id }}' --required,
@queryable_name='{{ queryable_name }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"name": "{{ name }}",
"definition": "{{ definition }}",
"create_index": {{ create_index }},
"data_type": "{{ data_type }}"
}'
;
Delete Queryables. Delete queryables by name for specified collection.
EXEC azure.planetary_computer_dataplane.stac.delete_queryable
@collection_id='{{ collection_id }}' --required,
@queryable_name='{{ queryable_name }}' --required,
@endpoint='{{ endpoint }}' --required
;
Search. STAC search operation.
EXEC azure.planetary_computer_dataplane.stac.search
@endpoint='{{ endpoint }}' --required,
@sign='{{ sign }}',
@duration='{{ duration }}'
@@json=
'{
"collections": "{{ collections }}",
"ids": "{{ ids }}",
"bbox": "{{ bbox }}",
"intersects": "{{ intersects }}",
"datetime": "{{ datetime }}",
"limit": {{ limit }},
"conf": "{{ conf }}",
"query": "{{ query }}",
"sortby": "{{ sortby }}",
"fields": "{{ fields }}",
"filter": "{{ filter }}",
"filter-crs": "{{ filter-crs }}",
"filter-lang": "{{ filter-lang }}",
"token": "{{ token }}"
}'
;