Convert FGB to DXF

Turn FGB 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 FGB files on the dialor turn it to pick what to do

Map shapes as a CAD drawing.Points, lines and polygon outlines become DXF geometry, all on layer 0.

  1. What you get

    One DXF drawing of the shapes in the FGB file. Points become points, and lines become polylines. Each ring of a polygon becomes a closed polyline, so a polygon with a hole gives you more than one outline.

    Heights are kept, so shapes with heights come out in 3D.

  2. Coordinates and units

    The shapes keep the coordinates they have in the FGB file. A DXF does not name a coordinate system, so the drawing does not say which one the numbers use.

    The drawing units are set to meters or feet when the source's coordinate system uses them. Otherwise the drawing is unitless.

  3. What it leaves behind

    Everything is placed on layer 0, so the drawing has no layers that separate one kind of shape from another.

    Multipart shapes are split into their parts. Attributes and names are dropped, because the drawing holds geometry only. Features without a geometry are left out.

FGB and DXF.What each format is.

The formats

From · FGB

FlatGeobuf

FlatGeobuf, a compact binary format for map features that streams over the web.

Extensions
.fgb
MIME type
application/flatgeobuf
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 FGB to DXF conversion through the API, for your app or your agent.

terminal
$ cv convert report.fgb report.dxf
$ cv convert report.fgb report.dxf

Questions.What people ask about FGB to DXF.

01OF 04

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

No. Each ring of a polygon becomes a closed polyline, which draws the outline.

All of them are on layer 0.

No. A DXF names no coordinate system. The coordinates are those of the source, and the drawing units are set to meters or feet only when the source's system uses them.

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