v.in.dxf1grass
Converts file in dxf format to grass vector map.
Usage
v.in.dxf
v.in.dxf --help
v.in.dxf [-etbfli1]
input=name
output=name
[layers=string
[,string, ...]]
[--overwrite]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
vector, import, DXF, level1
Overview
v.in.dxf converts DXF format CAD files to GRASS vector format. The following graphical objects (DXF entities) are supported:
- •
-
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 (lowercase table/column names avoid the need to quote them if the attribute table is stored in a SQL DBMS such as PostgreSQL).
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 (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)
Source code
Available at: v.in.dxf source code (history)
Accessed: Monday Feb 24 17:51:16 2025
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.