Convert GPKG to DXF

Turn GPKG files into DXF. A DXF drawing of the shapes, all on layer 0, in the source's coordinates, since a DXF names no coordinate system, with the drawing units set to meters or feet when the source's system uses them and to unitless otherwise: points become points, lines become polylines and each ring of a polygon becomes a closed polyline, with heights kept in 3D.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Map shapes as CAD geometry.Points, lines and polygon outlines from a GeoPackage, drawn in a DXF file.

  1. What you get

    One DXF drawing of the shapes in the GPKG file. Points become points, lines become polylines, and each ring of a polygon becomes a closed polyline. Heights are kept, so 3D shapes stay 3D.

    Everything is placed on layer 0, in the same coordinates as the source.

  2. Coordinates and units

    A DXF names no coordinate system, so the drawing carries the numbers but not the system they belong to. The drawing units are set to meters or feet when the source's system uses them. Otherwise the drawing is unitless.

  3. What changes or is dropped

    Multipart shapes are split into their parts, and each part is drawn on its own. Attributes and names are dropped, so the drawing holds geometry only. Features without a geometry are left out.

    Because everything sits on layer 0, the layers of the GeoPackage are not kept as separate layers in the drawing.

    See every GPKG conversion or every DXF conversion for other options.

GPKG and DXF.What each format is.

The formats

From · 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
To · DXF

AutoCAD DXF

AutoCAD's drawing exchange format. Vector geometry that CAD programs share.

Extensions
.dxf
MIME type
image/vnd.dxf
Kind
Documents

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

terminal
$ cv convert report.gpkg report.dxf
$ cv convert report.gpkg report.dxf

Questions.What people ask about GPKG to DXF.

01OF 04

No. Attributes and names are dropped. Only the geometry is written.

The same coordinates as the source. A DXF names no coordinate system, so none is recorded in the file.

Each ring of a polygon becomes a closed polyline. Outer boundaries and holes are both drawn this way.

Yes. Heights are kept in 3D.

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