Convert DWG to FGB
Turn DWG documents into FlatGeobuf. A FlatGeobuf with the features and their attributes in the source's coordinate system and a spatial index.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop DWG files on the dialor turn it to pick what to do
Map features from a CAD drawing.Your DWG becomes a FlatGeobuf with its features, attributes and a spatial index.
What you get
One FlatGeobuf file with the features from the drawing and their attributes. The coordinate system of the DWG is kept, and the file carries a spatial index.
Features without a geometry are left out. Lists and nested values in the attributes become JSON text.
How the drawing is read
LibreDWG first writes the drawing as a DXF. Proxy objects that add-on applications store are left out, and so are objects it does not understand.
Drawings saved by AutoCAD R12 or older are refused.
What it leaves behind
Paper space layouts, colors, line weights and text styles are dropped. FlatGeobuf holds map features and their attributes, not the look of a drawing.
A file that is cut off before its EOF marker fails with
input_corrupted.
DWG and FGB.What each format is.
The formats
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
FlatGeobuf
FlatGeobuf, a compact binary format for map features that streams over the web.
- Extensions
- .fgb
- MIME type
- application
/flatgeobuf - Kind
- Text and data
In your code.The same DWG to FGB conversion through the API, for your app or your agent.
$ cv convert report.dwg report.fgb$ cv convert report.dwg report.fgbQuestions.What people ask about DWG to FGB.
Yes. The features stay in the coordinate system of the source drawing.
No. Drawings saved by AutoCAD R12 or older are refused.
No. Colors, line weights, text styles and paper space layouts are dropped.
The file is cut off before its EOF marker. A DWG that ends early stops the conversion with this code.