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
18 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
53 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 ...
0
votes
0answers
21 views

Converting mapbox or maptiler styled map to vector format image?

I have a several styled maps at MapBox and MapTiler, which I use for web page (by using mapbog-gl library, and theirs api link for vector tiles). I am looking a way to convert those styled maps to ...
1
vote
1answer
46 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
39 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 ...
2
votes
1answer
61 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
51 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 ...
0
votes
0answers
13 views

Pulling road centerlines and parcel boundaries for specific county and exporting them to DXF file using QGIS

I am very new to QGIS. I want to pull road centerlines and parcel boundaries for a specific county, and export them to a DXF file. I need to have Road names included. I have found the data I ...
1
vote
0answers
25 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
0answers
73 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
60 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
49 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
99 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
77 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
23 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
94 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
45 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
53 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
180 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 ...
0
votes
1answer
120 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 ...
0
votes
0answers
39 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
362 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
227 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
175 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
104 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
508 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
82 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
156 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 ....
0
votes
2answers
204 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
43 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
94 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
1answer
383 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
119 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
255 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
54 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
258 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
28 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
399 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
51 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,...
1
vote
1answer
62 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 ...
5
votes
0answers
241 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
74 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 ...
3
votes
1answer
474 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
1answer
270 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
101 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
599 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
237 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
179 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
140 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
479 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 ...

1 2 3 4 5