STACIT - Spatio-Temporal Asset Catalog Items
3.4 新版功能.
司机简称
STACIT
Driver built-in by default
This driver is built-in by default
This driver supports opening JSON files, or usually the result of a remote query,
that are the items
link of a
STAC Collection,
and whose items also implement the
Projection Extension Specification.
It builds a virtual mosaic from the items.
A STACIT dataset which has no subdatasets is actually a VRT—GDAL虚拟格式 dataset. Thus, translating it into VRT will result in a VRT file that directly references the items.
开放语法
STACIT datasets/subdatasets can be accessed with one of the following syntaxes:
filename.json
:本地文件STACIT:"https://example.com/filename.json"
: remote fileSTACIT:"filename.json":asset=my_asset
: specify an asset of a local/remote fileSTACIT:"filename.json":collection=my_collect,asset=my_asset
: specify a collection + asset of a local/remote fileSTACIT:"filename.json":collection=my_collect,asset=my_asset,crs=my_crs
: specify a collection + asset + CRS of a local/remote file
打开选项
支持以下打开选项:
MAX_ITEMS
= number. Maximum number of items fetched. 0=unlimited. Default is 1000.COLLECTION
= string. Name of collection to filter items.ASSET
= string. Name of asset to filter items.CRS
= string. Name of CRS to filter items.RESOLUTION
= AVERAGE/HIGHEST/LOWEST. Strategy to use to determine dataset resolution. Default is AVERAGE.
子数据集
If a STACIT JSON file contains several collections, assets or CRS, the driver will return a list of subdataset names to open each of the possible subdatasets.
驱动程序功能
Supports VirtualIO
This driver supports virtual I/O operations (/vsimem/, etc.)
实例
List the subdatasets associated to a STAC search on a given collection, bbox and starting from a datetime:
gdalinfo "STACIT:\"https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip&bbox=-100,40,-99,41&datetime=2019-01-01T00:00:00Z%2F..\""
Open a subdataset returned by the above request:
gdalinfo "STACIT:\"https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip&bbox=-100,40,-99,41&datetime=2019-01-01T00:00:00Z%2F..\":asset=image"
也见
STACTA-时空资产目录平铺资产 documentation page.