Convert DWG to GPKG

Turn DWG documents into GeoPackage. A GeoPackage with one layer of the features and their attributes, in the source's coordinate system.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DWG files on the dialor turn it to pick what to do

DWG drawings as a GeoPackage layer.One layer of features and attributes, in the drawing's own coordinate system.

  1. What you get

    A single GPKG file with one layer. The layer holds the features from the drawing and their attributes. GeoPackage is a SQLite database of map layers that QGIS and ArcGIS read and write.

    The coordinates stay in the coordinate system of the source drawing. Lists and nested values in the attributes become JSON text, so each attribute fits in a single field.

  2. What it leaves behind

    Paper space layouts, colors, line weights and text styles are dropped. The layer keeps the features and their attributes, not the look of the drawing.

    The drawing is first written as a DXF by LibreDWG. Proxy objects, which add-on applications store in the drawing, are left out. So are objects LibreDWG does not understand.

  3. What is refused

    Drawings saved by AutoCAD R12 or older are refused. A file that is cut off before its EOF marker also fails, so a truncated download or copy will not convert.

DWG and GPKG.What each format is.

The formats

From · DWG

AutoCAD Drawing

AutoCAD's own drawing format, the most common file of architects, engineers and CAD tools.

Extensions
.dwg
MIME type
image/vnd.dwg
Kind
Documents
To · GPKG

GeoPackage

The OGC GeoPackage, a SQLite database of map layers that QGIS and ArcGIS read and write.

Extensions
.gpkg
MIME type
application/geopackage+sqlite3
Kind
Text and data

In your code.The same DWG to GPKG conversion through the API, for your app or your agent.

terminal
$ cv convert report.dwg report.gpkg
$ cv convert report.dwg report.gpkg

Questions.What people ask about DWG to GPKG.

01OF 04

No. Colors, line weights and text styles are dropped. Only the features and their attributes are kept.

The one in the source drawing. The coordinates are not moved into another system.

Not if it was saved by AutoCAD R12 or older. Those drawings are refused.

No. Paper space layouts are dropped, and the output is one layer of features.

More conversions.Other ways in and out of DWG and GPKG.