# CAD -- AutoCAD DWG raster layer

Driver short name

CAD

Added in version 2.2.

Build dependencies

(internal libopencad provided)

OGR DWG support is based on libopencad, so the list of supported DWG (DXF) versions can be seen in libopencad documentation. All drawing entities are separated into layers as they are in DWG file. The rasters are usually a separate georeferenced files (GeoTiff, Jpeg, Png etc.) which exist in DWG file as separate layers. The driver try to get spatial reference and other methadata from DWG Image description and set it to GDALDataset.

NOTE: Implemented as gdalcaddataset.cpp.

## Driver capabilities

Supports Georeferencing

This driver supports georeferencing

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)