xrspatial.geotiff.write_vrt#

xrspatial.geotiff.write_vrt(vrt_path: str, source_files: list[str], **kwargs) str[source]#

Generate a VRT file that mosaics multiple GeoTIFF tiles.

Parameters:
  • vrt_path (str) – Output .vrt file path.

  • source_files (list of str) – Paths to the source GeoTIFF files.

  • **kwargs – relative, crs_wkt, nodata – see _vrt.write_vrt.

Returns:

Path to the written VRT file.

Return type:

str