Questions tagged [dxf]

DXF (Drawing Interchange Format, or Drawing Exchange Format) is a CAD data file format developed by Autodesk for enabling data interoperability between AutoCAD and other programs.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Showing contour lines with considering length of polyline in QGIS [closed]

How can I show contour lines with considering length of polyline in QGIS like this picture?
user234102's user avatar
1 vote
0 answers
33 views

QGIS Profile Tool - Batch export of multiple profiles

I have a DEM and a vector shapefile of multiple lines and I need to obtain multiple DXF export of each profile based on the position of the lines. There is a way to obtain multiple exports (many DXF) ...
Paolo's user avatar
  • 11
0 votes
0 answers
25 views

Export DXF to QGIS and change symbol layers on QGIS

How do I change symbol color on export DXF to QGIS? I already exported DXF to QGIS 3.28.6 and need to change symbol color.
Mbulelo's user avatar
1 vote
0 answers
111 views

How to correctly convert a DEM/GeoTIFF to 3D Contours in a DXF file

I am trying my darndest to turn a DEM/GeoTIFF into a 3D DXF file of contours but so far haven't been able to make it work correctly - I still end up with a seemingly 2D DXF that I can open in ...
Lost Mapper's user avatar
  • 1,941
1 vote
1 answer
60 views

QGIS .dxf file conversion to .kml no geometry notification

My colleague is having an issue converting DXF files into KML files. He is using QGIS version Lima (not sure version no.) and I am using Hannover (3.16) We have checked all the various options and ...
Bob's user avatar
  • 11
0 votes
0 answers
37 views

Do all AutoCAD DXF files have an origin in San Francisco?

I have a DXF file representing a suburb under construction in Western Australia. However, the file contains the following: $LATITUDE 40 37.795 9 $LONGITUDE 40 -122.394 9 This location is a ...
Steve Bennett's user avatar
1 vote
0 answers
30 views

DXF to ArcGIS Pro - scattering of lines

I am trying to import 3D CAD polylines (DXF file) into ArcGIS Pro. However some lines scatter randomly when importing, and I am unable to understand why, or how to prevent it. In this image, the red ...
ads's user avatar
  • 11
0 votes
1 answer
115 views

Import from Intergraph G/Technology in QGIS

we currently use Hexagon's Intergraph G/Technology. Unfortunately, when exporting (via dwg / dxf) and importing into QGIS, all symbols (e.g. hydrants) are displayed in the wrong place. The symbols are ...
Martin's user avatar
  • 19
0 votes
2 answers
82 views

Converting DXF format using Beijing 1954 datum to WGS84 [closed]

I have a file in DXF format. I am trying to convert this format to shapefile, but CRS does not match. The information I have is that the Coordination System is in DXF format and has UTM-based ...
Teddy Sosan Yun's user avatar
1 vote
0 answers
41 views

QGIS DXF - Import Script to use the Windows fonts

I can find the font information in the "style" column and I use this for styling. The following code adjust all layers: from qgis.core import QgsProject for layer in QgsProject.instance()....
Martin's user avatar
  • 19
0 votes
0 answers
37 views

Importing DXF file into QGIS project - layer is not linked to Google Satellite

I am trying to import features of a DXF file into my project, specifically a site boundary. I am using the built-in importer (Project > Import/Export > Import Layers from DXF/DGF). I have ...
Sam's user avatar
  • 1
0 votes
0 answers
52 views

Export Layers with Labels to DXF from QGIS

i have a problem with DXF-Export from QGIS. As shown below, the labels of my lines are not correctly exported to the DXF file. What settings have I done wrong? These are the settings I use for Export:...
Toby's user avatar
  • 125
0 votes
0 answers
65 views

QGIS export to DXF crash

I have a point GPKG layer with 14 features. It has a number of symbol styles. I click import/export -> export project to DXF -> select only this point layer. It exports in a split second. I have ...
Simon Forster's user avatar
0 votes
2 answers
96 views

Exporting polygon as DXF using PyQGIS

I am working on a script to export my dissolved polygon into Dxf but I get an error. Could somebody teach me how to do this? Here is my code: from qgis import processing from datetime import datetime, ...
PyCher's user avatar
  • 171
0 votes
0 answers
317 views

DXF/DWG not loading into ArcGIS Pro

So I was following the directions at https://gis.stackexchange.com/a/169914/17847 and extracted a DXF/DWG from a PDF. When I try to load the DXF/DWG into ArcGIS Pro. However, I do not see anything: I ...
neubert's user avatar
  • 360
0 votes
0 answers
48 views

QGIS export to DXF scale issue

I'm trying to make a Nolli map. I was able to convert all the buildings in my chosen area to black vectors and export them to DXF, but when I open the resulting DXF file, the drawing is not scaled ...
Xavier Rhino's user avatar
0 votes
0 answers
205 views

Import DXF/DWG in QGIS not at correct location

I have multiple DXF files in CRS EPSG 3857. I would like to import this data into QGIS and convert it into another CRS (EPSG 28992). I've tried importing the DXF file both through the built-in DXF/DWG ...
Jori1224's user avatar
0 votes
0 answers
55 views

GeoTIFF for DEM has right coordinates but the actual dimensions are very smaller

The GeoTIFF file I have for Digital Elevation Model (DEM) has the following span: N: 51 deg E: -110 deg S: 50 deg W: -112 deg The actual length and width of the area should be (89.1 miles x 69....
Anish Silwal's user avatar
1 vote
0 answers
29 views

QGIS grass imports vector line data as points, not vector lines

I am very new to QGIS and Grass. I am trying to create a dxf file with height data using Grass 7 as per this youtube video. (1:35 mark) My contour data and Qgis file is uploaded here. When I go to ...
J.Watt's user avatar
  • 51
2 votes
0 answers
187 views

How to create Block References in dxf files using GDAL?

I need to use GDAL to create dxf files in AutoCAD. I have already implemented the creation of point-line geometry layers and label layers, but now the creation of Block References keeps failing. In ...
DXnima's user avatar
  • 21
2 votes
2 answers
290 views

What does exec(Path('C:/PROGRA~1/KMSpico/temp/tmpq2wwvz7_.py').read_text()) mean?

When I run this code: #Load the dfx file to get the sublayers. vlayer = QgsVectorLayer(dfx_file, 'layer_test', 'ogr') subLayers = vlayer.dataProvider().subLayers() #For each sublayer, different types ...
Student's user avatar
  • 21
0 votes
0 answers
322 views

QGIS : Problem in importing geopackage that was created from a .dwg file

I have an AutoCAD .dwg file of stream/channels and hydraulic engineering data. I want to use it in QGIS (3.22.14-Białowieża) for some geoprocessing tasks. The steps I want to take are: Convert the *....
Karan Mahajan's user avatar
0 votes
0 answers
44 views

Export object id in DXF from Inkscape

I have to integrate Inkscape drawings into QGIS. In order to do so, I export the drawings in DXF format from Inkscape. There's no problem to georeference them in QGIS, but I would like to know if ...
Arn's user avatar
  • 21
1 vote
1 answer
118 views

QGIS DXF - Import does not use the Windows fonts

The integrated DXF import didn't use the fonts installed in Windows (for special symbols). These can be used in QGIS, but the import doesn't use them.
Martin's user avatar
  • 11
0 votes
1 answer
220 views

ogr2ogr only shows specific layer name when converting dxf file to geojson

I am learning the process of extracting only certain layers inside the dxf file and converting them into GEOJSON files using the ogr2ogr of Gdal. Let me show you an example. ex) ogr2ogr -f "...
sjanjan's user avatar
  • 11
0 votes
0 answers
201 views

Convert DXF files into shapefiles using ogr2ogr

I'm trying to convert DXF to shapefile through org2org in GDAL Ask about some questions and errors during the attempt. Here's the command: ogr2ogr -f "ESRI Shapefile" test_13.shp Ceco.NET-...
sjanjan's user avatar
  • 11
0 votes
0 answers
46 views

Problems with the Z-values / exporting MXD (ArcMap) to DXF (AutoCAD)

Circular arcs are polygonalized in the DXF output. Several support points are inserted into an arc, which are connected to each other with polylines. The Z-values ​​of the inserted support points are ...
C. J.'s user avatar
  • 1
1 vote
1 answer
84 views

Loading DXF data with original dimensions into QGIS

I have many DXF files. And these are architectural drawings. In QGIS, I want to place buildings in their real locations on earth, and I am preparing a plugin for this. But when I export the DXF data ...
Vecihi's user avatar
  • 23
3 votes
1 answer
365 views

Speeding up the import of DXF files in QGIS

I have to import several DXF-Files into QGIS and load them into a database. The files are quite big, around 20 MB or 30 MB large. I started to import the first DXF-File several hours ago and it is ...
Enzo Baldini's user avatar
  • 2,247
0 votes
0 answers
234 views

QGIS file exported as AutoCAD DXF not visible on the map and loosing attribute table

By continuing the thread here: QGIS Export project to DXF loses attribute data in AutoCAD I was trying to export my file as the DXF in order to make the attribute table changes yet in QGIS. ...
Geographos's user avatar
  • 4,005
0 votes
0 answers
49 views

Export as ,DXF fle

I am trying to export a QGIS 3.6.2 file as a .DXF and receive an 'export failed' notification with no details. Export as .PDF and .JPG are successful
Chris's user avatar
  • 1
1 vote
1 answer
436 views

Some labels disappear when exported from QGIS to DXF

I'm using QGIS 3.14. I have two layers with labels in QGIS, set up to map units. In "rendering" section of label properties I have set up to show all labels for these layers. I want to ...
Ivan Mihaljević's user avatar
1 vote
1 answer
282 views

Extract particular layers from DXF file and make shapefile

I've been given a DXF file with many different points, linestrings and polygons. Alongside these, there are some text annotations with arrows pointing to a particular feature. (The CAD-user's ...
guest_98732012's user avatar
3 votes
1 answer
808 views

Importing layers from DWG and they aren't appearing on my QGIS map

I am extremely new to QGIS and havent been able to find a solution to this problem I ran into when trying to upload a .dwg file I was given. I imported the file using Project > Import/Export > ...
Corinne's user avatar
  • 33
0 votes
2 answers
239 views

How to create a 3D DXF from ARCGEN with gdal ogr2ogr?

From ARCGEN (Esri ArcInfo Generate) I want to create a DXF with distinguishable layers: import_polz.pol The transformation to a three-dimensional shapefile runs flawlessly with gdal ogr2ogr: ogr2ogr ...
Chris Naujoks's user avatar
1 vote
1 answer
371 views

Exporting DXF from Revit to QGIS, loss of coordinates

I'm trying to combine Revit and QGIS. It's mostly about exporting Revit files as DXF and opening them in QGIS. Every file, no matter how I try to work with the projection in Revit (survey point and ...
AlexWood's user avatar
1 vote
1 answer
320 views

DXF to GeoJSON issue

I'm trying to convert DXF file to GeoJSON. Layer name: entities Geometry: Unknown (any) Warning 1: One or several characters couldn't be converted correctly from CP1254 to UTF-8. This warning will ...
Yasar Ozyurt's user avatar
2 votes
1 answer
100 views

Move points to a Z-value?

I want to export a 800k points, which correspond to a DEM (terrain elevation) to Rhino. Currently, I tried to export a CSV with X,Y,Z coordinates based on the point attributes, however, there seems to ...
Topow's user avatar
  • 361
1 vote
1 answer
589 views

How to export DXF lines and polylines into one shapefile in QGIS

I imported a DXF file into QGIS and now after editing it, I wish to save different parts of it as a shapefile. When I go to save the layers by highlighting the ones I want and pressing right click >...
enor's user avatar
  • 391
1 vote
0 answers
71 views

ArcMap ModelBuilder: Select Annotation from iteration of CAD (.dxf) files and then import them into a geodatabase

I'm trying to build a model which exports the "Annotations" and the "Area", "Line", "CadDoc" (after running the Import from CAD tool) of several DXF files and ...
Alwin 's user avatar
  • 181
1 vote
0 answers
1k views

Save/convert geopackage to DWG

Is there a way to save data from a geopackage to a DXF/DWG without saving each layer to a DXF in the process and then stitching them together in CAD?
Ma Fo's user avatar
  • 671
0 votes
0 answers
415 views

How to import CAD drawings into QGIS?

I have a dxf with a polygon. This polygon has an area of 680279.678 m² in Autocad. When i import it into QGIS and calculate the area in the field calculator with area($geometry) i get 680281.25 I ...
kigmbh's user avatar
  • 1
0 votes
0 answers
569 views

Python in QGIS to convert from dxf to shapfile

Within the QGIS python console, I'm trying to convert a dxf file into a shp file. I run this section of code, and am not getting an error but no output file is generated. Wondering if I'm missing ...
Geno's user avatar
  • 43
0 votes
0 answers
296 views

Changing the output DXF version when exporting with ogr2ogr

I am exporting a DXF file from a PostgreSQL database. If I use the OSGeo4W installed with the 3.8 vesrion of QGIS, the dxf version will be a newer one than what I would get if I would use the OSGeo4W ...
588chm's user avatar
  • 551
1 vote
1 answer
230 views

ogr2ogr DXF_FEATURE_LIMIT_PER_BLOCK error

I am trying to convert a DXF to GeoJSON using ogr2ogr However, I am getting the below error: Limit of 10000 features for block ____ reached. If you need more, set the DXF_FEATURE_LIMIT_PER_BLOCK ...
user196963's user avatar
3 votes
2 answers
261 views

Export Project to DXF dialog using Python

I'm trying to run 'Export Project to DXF' in QGIS using the Python console. The intention is to export multiple vector layers, as defined by a Theme Visibility State, in the same way as if you ...
kelvin's user avatar
  • 33
1 vote
2 answers
1k views

Exactly what does it mean that CAD file is georeferenced?

According to a post like this, a DWG/DXF can be "georeferenced", but not all are. I guess the same is true for other CAD formats too. But exactly what does that mean that a CAD file is ...
Mads Skjern's user avatar
1 vote
1 answer
2k views

Checking DWG/DXF file is georeferenced

I'm working on importing a DWG into QGIS, possibly by first converting the DWG to DXF, but am not having luck with it. According to a post like this, a DWG/DXF can be "georeferenced", but ...
Mads Skjern's user avatar
0 votes
0 answers
61 views

Feature count of my QGIS geopackage vector layer different by 1 less feature, than when the layer is exported as a DXF

So when I put the geopackage into QGIS the feature count says there are 7519 features. I then export this layer as a DXF and when I open it in Rhino it states there are 7520 hatches. See images below. ...
Ludio B's user avatar
0 votes
0 answers
153 views

Error in projection from a DXF file

I have imported a .dxf file created in Autocad into QGIS interface over an OpenStreetMap raster layer base map. They are both in ETRS89 and I am trying to make them match by modifying SRC of both ...
Margarita's user avatar

1
2 3 4 5
7