You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Vector · CAD drawing

DWG — AutoCAD DWG

Native binary drawing format of Autodesk AutoCAD for 2D and 3D CAD data, widely used in engineering and surveying.

Type
Vector · CAD drawing
Extension
.dwg
Converter
Read only
Coordinate system
Any (EPSG, ESRI, custom)
Layers
Multiple

What is a DWG file?

DWG is the native binary drawing format of AutoCAD, developed by Autodesk. The format is versioned, and new revisions accompany certain AutoCAD releases. Autodesk does not publish a full specification, so most third-party support relies on libraries from the Open Design Alliance, which reverse-engineered the format. A DWG file stores layers, blocks, text, dimensions and entities such as lines, polylines, arcs, circles, splines and hatches, in 2D or 3D.

In geospatial workflows DWG is used for engineering, surveying, utility and architectural data exchanged with GIS. Coordinates are stored in drawing units, and a drawing normally carries no coordinate reference system. AutoCAD Map 3D and Civil 3D can attach one. On import into GIS, curves and splines may be approximated by vertices, blocks may be exploded, and CAD layer names often become attribute values. Non-geometric objects such as dimensions may be simplified or lost.

DWG files usually come from engineers, surveyors, architects and utility companies who draw in AutoCAD or compatible CAD software and pass the drawings on to GIS teams. Check the drawing units and whether a coordinate reference system is defined, since many files have none. Also confirm the DWG version, and expect curves, blocks and dimensions to be simplified when the data is loaded into GIS.

Typical uses

  • Exchanging engineering and construction drawings between CAD and GIS teams.
  • Delivering survey and as-built plans from surveyors to mapping departments.
  • Storing utility network layouts such as pipes, cables and manholes as CAD layers.
  • Converting site plans and architectural drawings to GIS formats for spatial analysis.
Files: Native AutoCAD binary drawing; versioned format.

Sample DWG files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena basemap st-helena-basemap.dwg

Basemap drawing (AutoCAD 2018, UTM)

AutoCAD 2018 DWG in UTM zone 30S with layers COASTLINE, LANDCOVER, WATERWAYS, CONTOURS, ROADS, BUILDINGS, PLACES and PLACE_NAMES.

  • ROADS · LineString · 110
  • PLACES · Point Z · 58
  • CONTOURS · LineString Z · 27
  • BUILDINGS · Polygon · 179
  • EPSG:32730
  • 348.1 kB
Attributes (3)
nameStringarea_km2Realosm_idString
Saint Helena122.914868269

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena contour lines st-helena-contours.dwg

Contours (AutoCAD 2000, UTM)

27 contour lines at 100 m intervals derived from Copernicus DEM, 3D lines with Z = elevation. AutoCAD 2000 (R15) DWG in UTM zone 30S.

  • CONTOURS · LineString Z · 27
  • COASTLINE · Polygon · 3
  • EPSG:32730
  • 235.1 kB
Attributes (3)
idIntegerelevIntegerlength_mReal
110077402.4
220097244.9
3300106037.6
440088889.8
54003772.8

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

A DWG usually stores coordinates in plain drawing units without a coordinate reference system. Assign the correct CRS manually when you import or convert the file, and check the drawing units to confirm the scale is right.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.