VRT là mô tả XML của GDAL về một tập dữ liệu raster. Chúng tôi đóng gói VRT cùng với một GeoTIFF đã kết xuất vào một tệp ZIP duy nhất (map.vrt.zip) — nếu không thì gdalinfo/gdal_translate sẽ thất bại với "map.tif not found". Beta: hiện tại là một bộ kênh đơn không có lớp tổng quan.
Tính năng chính

Giới thiệu về định dạng VRT
VRT is a service format of GDAL: an XML file that contains no pixels but describes where they lie and how to read them. That is the usual way to stitch mosaics and redefine referencing without copying gigabytes of raster.
We hand over the VRT together with the raster itself: the map.vrt.zip archive holds the XML description and the rendered map as a GeoTIFF. That was done deliberately — a lone .vrt would refer to a file you do not have, and gdalinfo simply would not open it.
The XML records the WGS84 coordinate system, the georeferencing (corner coordinates and pixel size) and three RGB bands, each pointing at the corresponding band of the GeoTIFF. The format is in beta status: it is one set of bands with no overview pyramids, and the raster itself is a flattened picture of the map rather than vector layers.
Chương trình nào mở được tệp VRT
Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp GDAL Virtual Raster (beta) (.vrt.zip) được xuất từ OSM2CDR:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- No attributes
- Output: 1 file
- GDAL Virtual Raster (.vrt). XML descriptor referencing source rasters; lazy mosaicing without copying pixels.
Ai sử dụng bản đồ VRT
Cách xuất VRT
Cách mở tệp sau khi xuất
- Unpacking is a mandatory first step: map.vrt and map.tif must lie next to each other in the same folder, since the reference inside the XML is relative.
- GDAL — gdalinfo map.vrt will show the size, the referencing and the bands; gdal_translate will convert the set into GeoTIFF, PNG or COG.
- QGIS — Layer → Add Raster Layer and pick map.vrt; the layer will land in its place by coordinates.
- A mosaic — your own .vrt over several rasters is assembled with gdalbuildvrt out.vrt tile1.tif tile2.tif, if the map has to be stitched with other data.
- Editing by hand — VRT is plain XML: the path to the raster, the referencing and the band descriptions can be fixed in a text editor.
Bản đồ phổ biến ở định dạng VRT
Nhận bản đồ xuất ở định dạng GDAL Virtual Raster (beta)
Tải bản đồ VRT chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.