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
0answers
15 views

GeoServer export DXF with colors and labels

I have GeoServer 2.15.1 with the DXF export plugin installed and I would like to export my layers with the colors and labels shown on the GeoServer. When I export all layers of both line and polygon ...
1
vote
0answers
26 views

Converting linestring of the imported DXF to a closed polygon

Is there a way to convert linestring of the imported DXF file to a closed polygon? I am using QGIS 3.10.
0
votes
0answers
19 views

Exporting Layer to .dxf file

I am trying to export my layer in a .dxf file. My code right now looks like this: dxfExport = QgsDxfExport() layers = [QgsDxfExport.DxfLayer(self.iface.activeLayer())] settings = self.iface.mapCanvas()...
0
votes
2answers
46 views

How to export labels from QGIS to CAD?

When using the export function via Project -> Import/Export my labels do not appear in CAD afterwards. I checked the "Export as MTEXT" box and tried using different scales. But I cannot ...
0
votes
2answers
41 views

QGIS 3.14 with GRASS 7 error on batch dxf export

I tried to do a batch export of 19 geopackage layers to dxf and got an error I don't understand (I don't speak Python very well). First error of 19 pasted in below from my log, all of them the same. ...
0
votes
0answers
35 views

Creating DXF from WFS Saves Slowly

I'm currently required to periodically pull cadastral lines from a WFS server and my current methodology is resulting in slow saves. I first query a very large layer within the WFS with a known ...
0
votes
1answer
102 views

GeoPandas to DXF [closed]

I have ten geodataframe; I would like to export each one of them to DXF: geodataframes= [gdf1,gfd2,gdf2] for geodataframe in geodataframes: #geodataframe to dxf it would be possible?
0
votes
1answer
36 views

DXF file conversion

I am a new qgis user. Learning how to georeference .pdfs and .jpgs etc. I have a georeferenced pdf survey plat that I converted into a vector. I am now attempting to convert it into a dxf file so I ...
0
votes
1answer
60 views

Reprojecting .dxf file

In connection with an archaeological project, I have data in .dxf format (lines and polygons). When I import them to QGIS, however, it positions them 8000 km southeast. I tried to change the CRS (WGS ...
0
votes
1answer
44 views

QGIS: exporting contours to DXF with height values

I am using this video tutorial to create ground contours for a noise model in iNoise. https://www.youtube.com/watch?v=JxCxBREEqG0 See tutorial 8 https://dgmrsoftware.com/products/inoise/gallery/ When ...
0
votes
0answers
42 views

Export to DXF problem

I converted the QGIS polygon to QGIS line by geometry tools which originally provided in the vector tools tab. the result is ok, but when I export it to DXF and open it with the AutoCAD, the lines are ...
2
votes
2answers
31 views

I need to export DXFs with a certain Z value

How do I do that? Right now it says it's including a Z dimension but I don't know where to input it.
0
votes
0answers
35 views

Import only certain parts of .dxf files

I would like to know, whether and how it is possible to import only certain layers of a .dxf file. I made a code which imports all points and lines. However, this code can only import everything at ...
0
votes
0answers
31 views

Imported DXF has no position attribute using QGIS

I am using QGIS 3.10.8 and still getting my head around QGIS. I'm trying to import some route data from dxf into my QGIS project. when I import and set the CRS correctly it is in the correct place, ...
1
vote
0answers
91 views

Using a DXF file to make a 3D map in QGIS

This might be a long shot but I'm trying to make 3D map to render from a DXF file in QGIS (3.14). The options I get when I press (View>New 3D map view>configure>terrain) is following: Flat ...
0
votes
0answers
48 views

Exporting to DXF using Python doesn't give layername compared to using QGIS File export

I'm trying to export a DXF file with python in QGIS, but I get different results when I use "Project->Import/export->Export project to DXF...-> and then export to a DXF file" ...
0
votes
0answers
37 views

DXF location loading error on QGIS 3.14

I am working in a project that involves data from different files types, I managed to load TIFF and .Gz file (ordinance survey mastermap topography) to correct location. However I have a DXF layer ...
1
vote
0answers
57 views

Shapefile To svg to dxf and back to shapefile

I need to edit a complex vector polygon layer based on a raster layer. It will be a lot easier for me to do the drawings in an illustration software like Inkscape and then to import it back to QGIS. ...
1
vote
1answer
38 views

Export 3D DXF elevation line with multiple Z-values to points each with a discrete Z-value

We are using a new program that outputs DXF lines with elevation data. I need to compare this data over multiple time-series, but I don't know how to extract it. If I use the identify tool, I can see ...
1
vote
1answer
98 views

Import DXF block values to QGIS

I want to import simple blocks (rectangles with a "Value", that is a text string) from a DXF to QGIS. I want to keep that value so it shows up as an attribute in the corresponding layer in QGIS. I ...
0
votes
0answers
38 views

Exporting to DXF with properties QGIS 3.12 [duplicate]

I am using QGIS 3.12. Is there a way I can export my project to DXF including the information in the properties table, so I will be able to see the properties of the feature in AutoCAD?
0
votes
0answers
54 views

Georeference a DXF or DWG file using gdal or any other

I want to convert DXF file to shapefile georeferenced, let me any idea.
1
vote
0answers
48 views

QGIS DXF measurements in AutoCAD are in Cartesian and not Ellipsoidal

I'm trying to export some land boundary polygons to AutoCAD using the Export to DXF function. The issue I am having is that the distance measurements in AutoCAD, of the exported DXF file, represent ...
2
votes
0answers
46 views

QGIS DXF contours with elevation

I have followed all instructions from this YouTube tutorial. Create contours and show elevation values Open GRASS plugin on QGIS - create new mapset and choose the "import loaded vector" command from ...
0
votes
0answers
99 views

Coordinate system Italy Sicily

I've received a .dxf file of a small area in Sicily. Now I have a problem with the coordinate system. It's not the usual European UTM or similar. I absolutely cannot find what coordinate system it is. ...
0
votes
2answers
29 views

Converting map consisting of multiple DXF layers to shape in QGIS 3.10 LTR

I'd like to develop a workflow for the following issue: There is a map in DXF format which consists of multiple (924) layers. All together they show a complex city map. Using the Import/Export ...
2
votes
1answer
466 views

Importing DXF in QGIS 3.10

I'd like to import a *.dxf-file into GIS 3.10 LTR. Does the DXF2Shape plugin available for this version of QGIS?
3
votes
3answers
380 views

Re-scale and move vector layer manually in QGIS

I have imported a dxf file (site layout drawings for proposed development), but its scaling is too small and it does not line up with the google street maps. I want to re-scale the layer manually ...
0
votes
0answers
21 views

After DXF conversion, layer with same coordinate and projection not visible

I've converted a DXF file to shp (using another DXF importer/convertor plugin). In QGIS this shp will open fine if standalone but is not visible when added to a project with other shapefiles. The xy ...
1
vote
1answer
291 views

The right way to convert GeoJSON to DXF using QGIS

I have a problem exporting GeoJSON to vector format. I downloaded GeoJSON of highway objects from OSM, opened it in QGIS, and then saved it as DXF. The problem is when I open it in CorelDraw, road ...
1
vote
1answer
89 views

I am not able to show attributes table in QGIS,after I converted the file from DXF to shapefile

I am not able to show attributes table in QGIS, after I converted the file from DXF to shapefile. the source of file was DGN so i saved it by bentley as DXF file . to use on QGIS ,is it right way but ...
1
vote
0answers
67 views

Export vector layer in DXF with systematically metrical system unit?

As said on this page https://gdal.org/drivers/vector/dxf.html, GDAL writes DXF files with measurement units set to “Imperial - Inches”. If you need to change the units, edit the $MEASUREMENT and ...
3
votes
1answer
190 views

Converting DXF to ESRI Shapefile using ogr2ogr

I like to convert this DXF file to ESRI Shapefiles. I tried the following command: ogr2ogr -f "ESRI Shapefile" test.shp Umweltzone-Neu-Ulm.dxf ... which output the following warnings ...
1
vote
1answer
328 views

Convert DWG to SHP in QGIS?

Given files by client: .dwg .bak QGIS doesn't like it; FREECAD doesn't like it; RhinoCAD doesn't like it or Illustrator. QGIS > Project > Import as .dwg/.dxf actually asks for .gdb, which doesn't ...
1
vote
0answers
32 views

Inserting image in DXF File with PyQGIS [closed]

I am using a DXFwrite library to create a DXF File using a plugin in QGIS. I tried to search in the official documentation of this library about adding or insert an image file into the DXF. Manually ...
3
votes
1answer
152 views

Setting DXF colors via Fiona

One might expect that the "Color" CAD field would control this, but the driver doesn't allow it to be set. schema = {'Layer': 'str', 'Color': 'int'} with fiona.open(path, 'w', 'DXF', schema=schema) ...
1
vote
0answers
256 views

Unable to Merge Multiple .DXF Files and Output .DXF Using Merge Vector Layers

I'm using QGIS 3.8.3 with GRASS 7.6.1 to merge multiple .dxf files into a single .dxf file. When I attempt to use the Merge Vector Layers via Vector>Data Management tools>Merge Vector Layers, I get ...
1
vote
1answer
119 views

Export to DXF from Multipoint Z geometry in PostgreSQL using ogr2ogr

I want to export a PostgreSQL table of geometries in Multipoint Z to DXF using ogr2ogr I tried this command ogr2ogr -f "DXF" output.dxf PG:"host='127.0.0.1' port='5432' \ dbname='dbname' user='user'...
3
votes
1answer
640 views

Exporting attributes from QGIS to .dxf/dwg

I have a QGIS point layer with attributes in table. I want to export a layer with some of the attributes as a CAD block with attributes. Is it possible to do something like this?
2
votes
1answer
333 views

Read CRS from DXF/DWG in QGIS

I want to import DXF/DWG files in QGIS, therefore I use the import function. The problem is, that I have to know the crs of the CAD file. Is there any way to get the crs in QGIS, because I have no ...
1
vote
0answers
26 views

Importing 3D DXF and using LRS

I've got a dxf in AutoCAD with a different Z value in each vertex. I'm importing this dxf to QGIS and running the LRS plugin to work with some chainages. My problem is that when running the chainage ...
2
votes
2answers
194 views

Converting .dxf to .dgn using QGIS?

I am new to QGIS and am trying to convert a .dxf file to a .dgn file. This is my first time working with .dxf files so I'm not even sure what the difference is. Working with Version 3.8.1.
1
vote
0answers
53 views

Large offset between two identical vector layers

I want to have a dxf layer to overlay another layer. The dxf layer is already saved to a shapefile with the needed crs. The layer has a large offset and nothing happens when I set the crs to the ...
1
vote
0answers
66 views

Use pyQGIS to extract QGIS style as geometry in a DXF

I have a qgis point layer with a complex data driven style: This is the style without other layers: When exporting the layer as Dxf I would like to also export the style so the symbols are visible ...
0
votes
1answer
261 views

Converting DXF to KML with ogr2ogr

I want to convert DXF from AutoCAD to KML. It works but the coordinates don't come out right when I compare them to a KML produced with global_mapper and consequently it is shifted some when uploading ...
1
vote
0answers
489 views

QGIS to .DXF export: labels do not appear

I have been trying to export a shp layer in QGIS 2.18 to dxf with some labels using the export to DXF tool included in QGIS, but somehow, the labels won't appear on the export. I have tried changing ...
0
votes
0answers
337 views

Convert DXF file to RasterLayer

I am an R user and have a .dwg file of city buildings that I wish to transform into a RasterLayer using the heights as elevation data. The metadata for the DXF file states: DXF File Metadata: ...
0
votes
0answers
154 views

Chinese encoding problem in ogr2ogr from DXF file to GeoJSON?

I have a dxf format file named test.dxf which has some Chinese characters inside. I tried to transform it to GeoJSON file using ogr2ogr -f GeoJSON test.geojson test.dxf and returned GeoJSON showing ...
2
votes
2answers
3k views

Importing a georeferenced DWG/ DXF into QGIS

I work in an ecological consultancy and we would save money on mapping tiles if we could import DWG files into QGIS, they must be georeferenced however as we need to draw on various habitats ...
0
votes
0answers
128 views

Using QGIS or GRASS API in custom application

I've already read in this link that is not possibile to use QGIS or other GIS application API (GRASS, ArcGIS) without rebuild all libraries into my custom code. First I would like to know if that ...

1
2 3 4 5