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.

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 ...
0
votes
0answers
52 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
63 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 ...
1
vote
2answers
64 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
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 ...
1
vote
0answers
88 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 ....
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
108 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
65 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
160 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 ...
0
votes
3answers
182 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 ...
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,...
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 ...
0
votes
1answer
45 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 ...
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
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 ...
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 = "...
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 ...
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
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
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
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 ...
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
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
0answers
147 views

can you convert multiple shapefiles to a single dxf using ogr2ogr?

I would like to create a dxf from several shapefiles using ogr. The only way I can see to do this would be to create the dxf from one file and then convert the others to the same file using the append ...
1
vote
0answers
111 views

Getting Shaded relief from DXF mesh using QGIS?

I am stuck with a problem in QGIS. I have a three-dimensional mesh as DXF from AutoCAD, which I imported into QGIS. Now I wanted to create a shaded relief map. I think I need to create a raster from ...
1
vote
1answer
370 views

Exporting georeferenced image (jpeg, png) to .dxf file in QGIS?

Is it possible to export a georeferenced image, such as a jpeg with a world file, to a .dxf file using QGIS version 2.14.21? The resulting .dxf file would only be the georeferenced image with no ...
5
votes
3answers
732 views

Export DXF from QGIS layer using PyQGIS?

I want to export a DXF file from a QGIS layer. Sample code: dialog = QtGui.QFileDialog() dialog.setFileMode(QtGui.QFileDialog.Directory) dialog.setOption(QtGui.QFileDialog.ShowDirsOnly) ...
1
vote
1answer
79 views

Changing python code, to only import points from dxfs (or to only import lines)?

edit - This code no longer works in the new version of QGIS (QGIS 3.0) If I paste it into the python console it generates a series of requests for the CRS but then imports nothing. QGIS 3.0 has moved ...
1
vote
2answers
178 views

Batch import all vector types of hundreds of DXF files?

When importing dxfs, you get a window asking you to select vector layers to add. With all the dxfs I've imported so far, that has had two layers called entities, one of which is points and one of ...
2
votes
3answers
109 views

Export ArcGIS Feature Class to CAD produces overlapping polygons

I'm experiencing problems when exporting a polygon feature class: The original feature class has no overlapping polygons (as shown below, image 1), it's been topology checked, so no potential errors ...
3
votes
1answer
129 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?
1
vote
1answer
156 views

Exporting a DXF file to be geolocated in QGIS

My cave survey freeware can export its cave map in DXF format, where XYZ coordinates are orthogonal meters from the origin station (0,0,0 by default). A user asks me to export this DXF so that it ...
1
vote
0answers
49 views

Overlay Text Generated in Illustrator Over Map And Export to KML in QGIS

I have some text that I generated in Illustrator, outlined, and then exported to a DXF. I need to assign spatial data so that I can export that DXF from QGIS to KML with correct lat/lon coordinates. ...
1
vote
2answers
57 views

Default output file type when exporting to CAD

The default format for export format for ArcGIS 10.1 is DWG_2010. Is there any way to change it to another format? In my case I need it to DXF_2000. The only known way to export to cad for me is right ...
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 ...
1
vote
0answers
239 views

Convert DXF (point space) to WGS84

(I've been researching this for hours and have yet to find a straight answer, so at this point I don't care if this gets marked duplicate.) I'm a complete noob to QGIS. I have a floorpan SVG that I ...
2
votes
1answer
494 views

Exporting to dxf file from QGIS creating dxf layers by QGIS layer name?

I'm very new to QGIS, and this is baffling me. I used "split vector layers" to create new layers in QGIS, and have been trying to export the file to dxf. However, when I open my new dxf files, every ...
1
vote
0answers
105 views

QGIS Scale Problem (it starts with 0.000xx) [closed]

Iam new here and i'm beginner of QGIS.. My problem is the Shapefiles i have is very very small, the scale is starts with 0.0000xx. please help ASAP. it so very important in our Municipality.
3
votes
3answers
1k views

QGIS export/save to .dxf scale problems

I'm working in AutoCAD with a layer from a shapefile. The problem occurs when Autocad opens the file : the coordinates are the same than in QGIS, but when I try to draw a line 1 meter is 0,00001 in ...
1
vote
0answers
143 views

Exporting DXF from QGIS projection?

I'm working on exporting a shapefile of contour lines as a DXF file so that my colleague can use it in autoCAD. When they try to add the DXF file it doesn't keep the projection (NAD83 UTM zone 20) I ...
1
vote
1answer
110 views

Need to edit and rearrange Text points in QGIS

I have thousands of points currently saved as a Drawing Interchange file that I brought into a QGIS project. Each point has attributes that has one bar of text assigned to it. I need to add a word ...
5
votes
1answer
417 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. ...