A multidimensional VRT, read in the browser

A GDAL multidimensional VRT (mdim.vrt) is a small XML file that stacks many files into one array: dimensions, coordinates, units, scale and offset, and for each slice the file it comes from. This page fetches one, parses it in plain JavaScript, and reads the slice you pick by doing what the VRT says: find the <Source> whose DestSlab covers that index, open its COG with range requests (wxy-tiff in WebAssembly), warp it onto the canvas (wxy-warp), and apply the VRT's nodata, scale and offset. No GDAL, no tile server.

Loading wasm...

Drag to pan, scroll to zoom. Click for that cell through the steps either side of this one: each step is another source, opened and read for one pixel.

This slice, from the VRT


      

Dimensions

Arrays

Give another multidimensional VRT with ?vrt=<url>; its sources must be COGs (SourceBand, a /vsicurl/, /vsis3/ or relative path) served with CORS, the last two dimensions y and x. netCDF and HDF5 sources are listed but not read here; for those see BRAN2023 from its byte table. Also: one COG, any projection; all examples; wxylib.org/docs.