
Write a source table as a GTI index for one asset.
stac_gti_index.RdA GTI index is a vector layer of raster footprints read by GDAL's
GTI (GDAL Tile Index) raster driver, available from GDAL 3.10, which
mosaics the indexed rasters on the fly. Footprints are stored in
crs (transformed from the table's EPSG:4326 bboxes), so the index
layer SRS matches the grid the GTI dataset will be pinned to and the
culling geometry is exact. Most users reach this via lazy_dataset()
or lazy_stac_stack(), which build the index internally, and rarely
call it directly.
Usage
stac_gti_index(
sources,
asset,
path = tempfile(fileext = ".gti.fgb"),
crs = "EPSG:4326"
)Arguments
- sources
A
stac_sources()table with aslicecolumn (seestac_time_slices()).- asset
Which asset's rows to index.
- path
Index path; defaults to a tempfile.
- crs
CRS for the index footprints (use the target grid's CRS).