Skip to contents

VRT Core Functions

Core functions for Virtual Raster management

vrt_collect() print(<vrt_collection>)
Construct the base VRT object for composing VRT pipelines.
vrt_set_maskfun()
Set mask band of a VRT collection
vrt_warp()
Construct A warped VRT or warped VRT collection.
vrt_stack() print(<vrt_stack>)
Stack VRT files from a vrt_collection object
vrt_set_pixelfun()
Set the pixel function of a VRT stack object
vrt_compute()
Generate a composite raster from (virtual) raster sources.

VRT helpers

Helper functions for VRT objects

vrt_set_band_names()
set the band names for a vrt_x object
vrt_save()
Save a vrt_block object to disk
vrt_xml_schema vrt_schema()
The official GDAL VRT XML schema A copy of the official VRT schema for vritility VRT validation.

VRT pixel functions

Functions to modify VRT properties

set_mask_numpy() build_intmask() build_bitmask()
Masking functions for pixel-based processing
median_numpy()
python pixel function for the median using numpy

GDAL Configuration

GDAL configuration and setup functions

Python Integration

Python environment and computation environment

vrtility_py_require() set_py_env_vals() compute_with_py_env()
Setup the vrtility Python environment

STAC Functions

STAC query and planetary computer functions

Raster visualisation

plotting functions for raster files and vrt_x objects

Cache management

Helper functions for managing / altering vrtility cache settings

vrt_cache_set() vrt_cache_destroy()
Set the VRT cache directory

Spatial helper functions

Helper functions for spatial operations

bbox_to_projected() to_wkt()
Project a lat/long bounding box to a generic projected coordinate system