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
8
votes
9answers
36k views

Exporting to DXF file from QGIS?

Is it possible to export labels based on Shapefile attributes into a DXF file? I use QGIS 1.7.4. I've been reading a CSV file and view it as a Shape Layer. With the help of attributes from the File ...
3
votes
1answer
358 views

Extracting xyz data from .dxf after conversion to shapefile in QGIS

I have both a .dwg and derived .dxf data set originally generated in AutoCAD Civil 3D. It appears as a series of triangles which cannot be exploded but each individual triangle does have xyz ...
2
votes
2answers
41 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.
0
votes
1answer
39 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
39 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
102 views

Exporting from QGIS to .dxf as blocks?

I'm exporting from QGIS 3.4 to ACAD .dxf format. Since I made this in QGIS 2.18 all features exported were blocks in Autocad, but now I find out that every single geometry is exported exploded in the ....
1
vote
0answers
39 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
0answers
125 views

PyQGIS QgsDxfExport() not exporting Labels?

I'm using python to export all layers within each layer group out to a single DXF. Effectively replicating the Export Project to DXF... option in the Import / Export menu. The code exports all layers ...
3
votes
7answers
11k views

Export 3D data DXF file

I'm trying to export a DXF file from QGIS 1.8.0 Lisboa and can not have a 3D file in AutoCAD or Microstation. It results always in 2D file. How can I export height data from a shapefile in QGIS?
3
votes
2answers
1k views

Importing DXF to QGIS results in all lines being same colour?

I am using QGIS 2.4. I need to import a map I have been given into QGIS to add some ecological survey data. I was sent a DWG file, which consists of a base map and some overlay data, like land ...
0
votes
1answer
46 views

Error when trying to convert dxf to shapefile?

I m using QGIS 2.18. I am getting the following error when I try to convert dxf to shapefile. The other software like online convertor and arcgis give no errors in converting the same shapefile. The ...
0
votes
0answers
23 views

Converting CorelDraw to AutoCAD?

I'm trying to convert cdr. (CorelDraw) to dxf. (AutoCad) for use in ArcMap, but new converted dxf file is not same as cdr. There is missing colors inside all polygons (polygons have only colored ...
3
votes
1answer
1k views

Wrong scale when importing dxf into QGIS?

Has anyone had the problem that the scale of the shp layer converted originally from a .dxf file turns out to be wrong? For example, I draw a line of 10 meters long in AutoCAD and imported it in QGIS,...
0
votes
0answers
120 views

Convert shapefile to DXF using ogr2ogr?

I want to convert shapefile with/without EPSG Code to DXF format. I've tried following commands ogr2ogr -f DXF output.dxf -t_srs EPSG:2004 stations.shp ogr2ogr -f DXF output.dxf stations.shp But ...
1
vote
2answers
116 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 ...
1
vote
0answers
101 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
51 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
55 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 ...
0
votes
0answers
47 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 ...
5
votes
1answer
459 views

Can't export geometry generator styling to DXF - alternatives?

I've been using QGIS' wonderful geometry generator to dynamically generate root protection zones and crown areas for some tree inventories I've been working on. It's been a massive time saver. ...
0
votes
2answers
106 views

Font size in DXF export QGIS

I am trying to export our Property layer to DXF but am running into issues with labels. I have tried each of the three ways that I have seen described about DXF export, and none of them work for me. ...
1
vote
0answers
39 views

Export marker line to DXF [duplicate]

I was wondering if there is a way to export in DXF from QGIS (version 3.4.4) this type of line (The one with the "E" as a pattern). Here is how the line was created Currently, when I export this ...
0
votes
0answers
64 views

QGIS 3.4 export DXF creating incorrect polylines

The layers are exported to dxf on QGIS. When that is imported back to QGIS or visualise on AutoCAD, incorrect Polylines can be seen. Can you please help me to fix this?
1
vote
0answers
169 views

Èxport DXF from shapefile with layer styles in QGIS

I have Mastermaps 3 layers with layer styles on QGIS. This is exported with Project -> Import/ Export -> Export project to DXF with the following settings; However when this is imported to ...
1
vote
0answers
76 views

Creating polygon from DXF file using QGIS?

I want to create a polygon from a DXF file. I used v.in.dxf to convert the DXF file to GRASS vector map format. when I run the polygonize algorithm, it gives me the following error message(here I used ...
1
vote
1answer
120 views

Exporting symbols rather than points in .dxf

I have a map I've made in QGIS which is points from a .csv file. These have then be turned into different symbols based on what they represent and then the sizes of said symbols based on values in the ...
0
votes
1answer
49 views

arcpy memory error while using ExportCAD_conversion

I try to convert CSV point data to DXF CAD data. CSV file has about 270,000 points. I searched this issue and it is because ArcGIS is 32bit, and Background Processing Tool 64bit software is required ...
0
votes
1answer
190 views

Existing C++ libraries that convert ESRI shapefile to DXF/DWG [closed]

Is there any C++ library that can convert ESRI Shapefile to DXF/DWG file? I seek a link/or sample on how this can be done with the said C++ library. I'm aware that one can do this with ArcGIS ...
1
vote
1answer
24 views

Creating new layers and DXF export

I have a small .OSM map which has some rules set up based of whether it's deemed a primary road, secondary road, path etc. What I would like to do is branch each one of these out to its own layer for ...
10
votes
2answers
3k views

DXF attribute to z value

We have been given a DXF that contains a Elevation attribute but we would like to generate a 3D DXF. I know I can generate a 3D dxf from a shapefile using: ogr2ogr -f "DXF" out.dxf in.shp -zfield ...
0
votes
3answers
234 views

DXF export from QGIS is not exporting all features

I'm trying to export multiple layers from QGIS 2.18 to DXF format for opening in CAD. I am using the native DXF Exporter (Project -> DXF Export). Here are the parameters I'm setting: And the result ...
12
votes
2answers
7k views

Georeferencing vector PDF/SVG/DXF linework using QGIS?

I want to create a small web application to visualize election results on a per poll site basis for my city. The result is going to be very similar to what has been done for Berlin here. Hopefully ...
1
vote
0answers
42 views

CAD file creation in custom software

I've worked a little with basic exporting of CAD .DXF files from our software using GDAL. We want to do more sophisticated things, like importing and creating georeferenced files with multiple layers,...
5
votes
5answers
8k views

Importing 3D DXF file into QGIS with z information as attribute value?

I have a dxf file of 3d contours. after import it does have only layer,x,y attribute and doesn't have Z attribute. How can I provide Z attribute to create a TIN file?
0
votes
0answers
20 views

Error in executing “Export DXF” from main menu

I have recently found the tool Export DXF that transfers attribute table information along with the geographic location data from a shapefile to a dxf file. However, I have found that sometimes a ...
7
votes
2answers
3k views

Batch export multiple layers to DXF

I have only had limited experience with QGIS. What i have: I currently have many different layers (water mains, sewer mains, drainage etc.). These layers are TAB files with attributed data. What I ...
3
votes
1answer
142 views

Add DXF text to shape as attribute

I have a DXF with text and I have a shapefile with some squares. Is it possible, in QGIS, to add the text from the DXF to a new column in the shapefile?
3
votes
0answers
140 views

How to export “solid” 3D objects from QGIS to DXF?

I work in architecture and we often have to create urban contexts for our projects which involves obtaining a building footprint file and then extruding them by hand. I have attempted to use QGIS (v3....
1
vote
1answer
81 views

Too many features in QGIS DXF import: 1 Feature per Column

The company I work for do a considerable amount of field surveys, and export the data directly from the GPS (Leica GS08) to DXF files. Whenever I try to open a DXF file (with lines and points), the ...
1
vote
0answers
60 views

Export label to dxf from postgresql by ogr2ogr

I need to export label to dxf from postgresql by ogr2ogr command, label information is text field in PG, but it is always unsuccessful, I always lose the text label information. Those commands are ...
2
votes
1answer
283 views

Converting dxf to shp and keep elevation information QGIS

I want to create a QGIS plugin that convert dxf files to shp. I didn't use DXF2SHP plugin in QGIS because I have some specific needs. I'm using gdal_ogr library. dxfdat="*.dxf" shpLinestring="*.shp" ...
1
vote
0answers
458 views

Exporting SHP files into AutoCAD readable files? [closed]

I have a full water supply network drawn in a shapefile which I created using Qgis 2.2.0. Now I need to export it into a format that enables me to open it in AutoCAD. I am trying to export it as a dxf ...
0
votes
0answers
196 views

Formatting CSV file to export it as DXF?

I want to use this online converter to convert a csv file to a dxf file. The data I have in my database goes like this: | Point | Poligono | Name | Coords X | Coords Y | Level(Z) | |------...
1
vote
2answers
670 views

how to extract OSM data to as many layers as possible in DXF( or multiple DXF file) as path for illustrator use?

So i am just touching QGIS, mainly to explorer way to use map data for my animation. Here's my first try to make it clear to understand what I am aiming for: https://www.youtube.com/watch?v=jhC-C5f-...
0
votes
1answer
177 views

Distortion when exporting from QGIS to DXF?

I'm rather new in the GIS world, and I'm having a weird problem that I have no idea how to solve. I received a GIS map and I wanted to export one of the layers as DXF; I selected the correspondent ...
1
vote
2answers
308 views

v.in.dxf not working properly in GRASS toolbox in QGIS 2.18.11

I am using the GRASS v.in.dxf tool from the GRASS plugin to import some contours in QGIS. Everything seems fine, but the tool does not import all the contours. There are no additional options in this ...
5
votes
2answers
4k views

Converting LAS to DWG/DXF using open-source software?

Is there a way to convert LAS point clouds to DWG and/or DXF files using open source software? Also willing to script with Python - is this possible using libLAS/LASlib for example?
-1
votes
1answer
126 views

Overlay orthophoto with DTM

I am having a .dxf DSM and a georeferenced .tiff orthphoto. I would now like to simply overlay the orthophoto onto the terrain for visualization purposes. The DSM contains buildings, whose triangles ...
2
votes
1answer
2k views

How can I use QGIS to convert points with elevations to DXF?

I'm trying to convert points (with their elevations) into a dxf file for use in AutoCAD LT. I've tried "save as" to dxf for the layer, which appears to almost work...the dxf has x and y location ...
1
vote
1answer
377 views

Convert shapefile into DXF file including Hebrew labels in QGIS 2.18

I try to convert this polygon shapefile into DXF including Hebrew labels (this is the QGIS screenshot): The data source encoding is UTF8 I opened the dxf file in AutoCad - but there no features in ...