Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

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
44 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
22 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
50 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
0answers
86 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 explosed in the ....
1
vote
2answers
63 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
62 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
22 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
36 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
38 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
416 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
88 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
38 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
63 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
107 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
64 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
103 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
44 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
159 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
23 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
178 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 ...
3
votes
6answers
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?
1
vote
0answers
41 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
128 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
117 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
77 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 ...
0
votes
0answers
40 views

Rasterizing 3 dimensional dxf to mask netCDF?

I have difficulty in rasterizing 3 dimensional dxf (single building) to mask netCDF using GRASS, Blender, or Qgis. I want the mask netCDF to have value 1 in interior of the building and zero value ...
1
vote
0answers
55 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
249 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" ...
0
votes
0answers
55 views

Import DXF files in ArcGIS and Arcpy?

How to import DXF files in ArcMap? I would like the Arcpy code to do it and the menu methodology to import it in the desktop also. I have tried with this code: import arcpy arcpy.env.workspace = "...
1
vote
0answers
453 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
32 views

Ogr2Ogr DXF (CAD) format conversion: set units to feet?

I'm exporting data in state plane coordinate system to DXF: ogr2ogr -f 'DXF' outfile.dxf infile.shp The units of the projection are feet, but the DXF exporter sets the $INSUNITS to inches (1). I can ...
0
votes
0answers
186 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
632 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
157 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
286 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
121 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
321 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 ...
0
votes
1answer
678 views

Repositioning DXF Imported into QGIS?

I have a polyline drawing from AutoCAD that I would like to reposition manually, if possible. During my efforts so far it has been turned into both a tab file and shapefile. The main source of ...
1
vote
3answers
4k views

How to convert Shapefiles to 3D DXF?

I'm using QGIS version 1.8.0-Lisboa and I'm trying to convert a vector line file and it's not working. I right click on the layer>Save as>Autocad file>DXF. After that I try to open the output file in ...
0
votes
1answer
125 views

How can I access second (or even third) level attributes in a vector layer and add them to the attribute table? [closed]

I got some .dxf file containing buildings I need for my map. The file loads nicely into QGIS and I converted sucessfully to shape. I still can find the Information I need (the buildings height) in the ...
1
vote
0answers
183 views

Problem with viewing DXF files in QGIS

The problem of getting from DXF format, to display in QGIS correctly. We have loaded it in and fixed the rotation and TTF font mapping problems. That is all great, however the objects are coming in ...