What is in a VRT?

A VRT is a small document that describes a dataset made of other datasets. There are four kinds: classic rasters (mosaics, band stacks, subsets, rescaling, pixel functions, warps), vrt:// strings, multidimensional arrays, and vector layers. Give this page one, by URL, as a vrt:// string, or pasted, and it says what kind it is, what every element does, which sources it names and how, and for a classic raster what a read would touch: the source windows, where they land, the operations on the way, and the source tiles under them.

The model and planner are vrt-model in WebAssembly, the same code that matches GDAL byte for byte on the VRT corpus. They read nothing. This page reads the document, any nested VRTs, and source headers when you ask (one or two range requests each). No pixels are read.

or paste a document Relative source names resolve against this page.
Loading ...

Read a source name

The VRT schemas type a source name as a plain string. Its grammar (paths, URLs, /vsi chains, driver prefixes with subdatasets, vrt:// strings) is read here by vrt-model.

Source: wxylib/web (www/vrt.html). Design: m25, a VRT engine outside GDAL.