v.in.dxf(1)
π v.in.dxf β bestie edition π
okay so this is the manual page for v.in.dxf, a GRASS GIS User's Manual situation, and it is genuinely one of the most useful little tools ever. it takes your DXF files (yes, the CAD ones) and turns them into GRASS vector maps. slay.
β¨ KEYWORDS β¨
vector, import, DXF, level1
πΈ SYNOPSIS πΈ
v.in.dxf
v.in.dxf --help
v.in.dxf [-etbfli1] input=name output=name [layers=string[,string,...]]
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
π Flags
-eβ ignore the map extent of the DXF file, like it's not even there-tβ do NOT create an attribute table-bβ do not build topology. genuinely advantageous when you're handling a huge number of points, no cap-fβ import polyface meshes as 3D wire frame-lβ just list the available DXF layers and exit. window shopping, iconic-iβ invert the selection by DXF layers (so: don't import the layers that are in the list)-1β import all objects into one layer--overwriteβ allow output files to overwrite existing files--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output--uiβ force launching GUI dialog
π¦ Parameters
input=name[required] β path to input DXF fileoutput=name[required] β name for output vector maplayers=string[,string,...]β list of DXF layers to import (default: all)
π DESCRIPTION π
v.in.dxf converts DXF format CAD files to GRASS vector format. periodt.
here's the whole roster of graphical objects (DXF entities) it supports, and bestie it is a list:
- point
- DXF POINT
- line
- DXF LINE
- DXF POLYLINE
- DXF LWPOLYLINE
- DXF ARC
- DXF CIRCLE
- DXF TEXT
- face
- DXF POLYFACE MESHES
- DXF 3DFACE
Table and column names are changed to lowercase characters for easier SQL usage β and the reason that matters is that lowercase table/column names avoid the need to quote them if the attribute table is stored in a SQL DBMS such as PostgreSQL. iykyk.
The "layer" column will contain the name(s) of the DXF input layer(s). The DXF entity type string will be stored in the "entity" column as uppercase.
The "handle" column can be used to store small bits of data associated with any entity in the DXF file (i.e., entity handle or unique object identifiers in the layer). The entity handle is a "text string of up to 16 hexadecimal digits", which is a 64-bit integer β and heads up, that's currently not supported by GRASS database drivers. For text type entities, the text value will be stored in the "label" column of the GRASS vector output map. Neither the "handle" nor "label" column is mandatory.
π REFERENCES π
- AutoCad DXF (from Wikipedia, the free encyclopedia)
- DXF References (Autodesk-supplied documentation)
π SEE ALSO π
v.out.dxf, v.in.ogr, v.out.ogr
How-to import DXF files in wxGUI (from GRASS User Wiki)
π AUTHORS π
Original written by Chuck Ehlschlaeger, 6/1989 Revised by Dave Gerdes, 12/1989 US Army Construction Engineering Research Lab
Updated for GRASS 6 and 3D support. Huidae Cho, 3/2006 With minor additions by Benjamin Ducke (Oxford Archaeology), 4/2009
β SOURCE CODE β
Available at: v.in.dxf source code (history)
Accessed: Saturday Jan 17 05:41:24 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page, bestie π«Ά this was GRASS 8.4.2, and the vibe check was completed on Saturday Jan 17 05:41:24 2026. go import something pretty. πβ¨
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms