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.

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
128 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....
3
votes
0answers
367 views

Can't get georeferenced Autocad DXF to right coordinates

I am not a frequent Autocad user. I wanted to export some floorplans from Autocad 2016 DWG to a final GeoJSON file to be loaded in a Google maps JS app. My steps are: 1)in Autocad set a location ...
3
votes
0answers
792 views

How to quickly edit imported DXF files?

We work with lots of DXF files, and it takes much time to save imported DXF file as SHP or convert them to polygons (even using batch converter) to enable "Edit" button. Is there any way for quicker ...
3
votes
0answers
1k views

DXF Export won't work

I'm new to using GIS data. Using QGIS I'm trying to export a DXF file from a .shp file from the NYC OpenData site. I can open the file, pan, zoom, select the area I want to export, etc, but when I ...
2
votes
0answers
171 views

Export DXF from QGIS; points' metadata as text element

I have a layer (Esri shapefile) which has points in it. Each point has 'property identifier' as metadata. (Boundaries and boundary markers are in different layers / files.) In QGIS I changed the ...
2
votes
0answers
345 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
0answers
246 views

Export Feature with attribute to dxf

I'm trying to export features with at least one attribute to dxf, is that possible? E.g. I need the name or layer name of the feature in the CAD application.
2
votes
0answers
427 views

How to export postgis points as blocks in dxf with ogr2ogr

I'm trying to export postgis points as blocks to DXF format. I have a simple table in postgis with columns: CREATE TABLE pod_com_azimuth ( ogc_fid integer, rotation double precision, pointtype ...
2
votes
0answers
1k views

Export dxf files for use in Sketchup

the export to dxf seems like it worked, but Sketchup will not import it. I don't think this is a Sketchup issue, as Sketchup imports other dxf files just fine.
2
votes
0answers
345 views

Displaying text from dxf in Openlayers

I managed to import .dxf into Postgis table, and now have, among others, rows with Point geometries and values in text column (which corespodent with Label values from ACAD .dxf). What is the best ...
2
votes
0answers
362 views

Naming layers in DXF using OGR2OGR

We have been using ogr2ogr to export data from PostGIS into DXF. Using the default behaviour of the export, all data are put into layer '0'. We would put data into a layer name from the PG table name. ...
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 ...
1
vote
0answers
86 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 ...
1
vote
0answers
93 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
0answers
131 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
68 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
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,...
1
vote
0answers
59 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 ...
1
vote
0answers
152 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
120 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
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
0answers
247 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 ...
1
vote
0answers
145 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
0answers
114 views

Geo-referencing large PDF files when DXF doesn't work

I've a 4567kb PDF which won't load even into the georeferencer (stops responding) but a 1538kb one from the same source with the same encoding will. Why? If I drag it it then it loads but won't let me ...
1
vote
0answers
210 views

Using DXF files in Adobe Illustrator?

I updated from QGIS 2.0 to 2.18 i November, but it seemes to have caused problems with the dxf-exportation to adobe illustrator. The files from the newer version causes illustrator to "hang". The new ...
1
vote
0answers
251 views

Extracting raster contours to DXF

I'm using Raster>Extraction>Contours... I specify the input Raster, use the Select dialog to type a name and pick the DXF file type from the pulldown. But instead of a DXF, I'm getting a folder named [...
1
vote
0answers
58 views

QGIS join attribute data to dxf file using EntityHandle as key field

I would like to joint attribute data (csv table or slt.) to a drawing (dxf file) imported to QGIS. Such imported data have an attribute EntityHandle which seem to me like an AutoCAD specific 'id'. I'...
1
vote
0answers
193 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 ...
1
vote
0answers
310 views

Is there any way to connect features (entities) of dxf to database in python?

I'm using gdal, ezdxf, sqlite python packages and sqlite ODBC driver. They work fine, and in AutoCAD I can easily manually connect to my dbase.sqlite (read only) using _DBCONFIGURE and _DBCONNECT ...
1
vote
0answers
55 views

Can typical Meets and Bounds (angles and distances) drawings be accurate in QGIS?

I’ve been working with parcel boundary shape files (.shp), standard satellite imagery, and Meets and Bounds (angles and distances) site maps / legal descriptions for a few weeks. Wondering if those ...
1
vote
0answers
60 views

Converting 3d images in meters to feet when exported to dxf

In QGIS 2.10, I am using the raster calculator to convert a metric elevated raster to feet and then create 2 foot contours (no problem). But when I dxf it out and put it in CAD, I can get the contours ...
1
vote
0answers
41 views

Qgis -> DXF2ShapeConverter -> Inscriptions in Qgis

Sorry, but this is my first question which very often was asked . It has not yet answered very well. I would like to import a DXF with captions in QGIS. I have already tried this with the DXF ...
1
vote
0answers
110 views

dxf-Export is not readable in BricsCad

With the QGIS 2.8 dxf-Export it is not possible to open these files in BricsCad (a CAD-Programm which is very similar to AutoCad). the dxf-Export from GIS 2.8 and import in BricsCad looks like!(not ...
1
vote
0answers
212 views

How to configure “-nlt MULTILINESTRING” for DXF export?

When I try and export a polygon shapefile to DXF, the resulting features in AutoCAD are hatch patterns, which is as expected if you read http://www.gdal.org/drv_dxf.html, "Polygon and MultiPolygon ...
1
vote
0answers
132 views

Microstation Elements created in QGIS

In my workflow I typically, in Microstation V8 2004 Edition, manually place a shape element around a series of imported coordinates to use as a fence for loading point cloud data in TerraScan. I am ...
1
vote
0answers
62 views

Discrepancy between DXF and Shapefile Polygons

I have created a shapefile based on a dxf. the areas are as follows: DXF: 51216417 square metres = 5121.64 Hectares = 51.21 square Kilometres. GIS: 50.998 square kilometres. What could have caused ...
1
vote
0answers
183 views

Error when converting shapefile to .dxf

I have created a polygon shapefile in Erdas Imagine 9.2 from a raster image. I want to export it to .dxf or .dgn for further processing. When I export the .shp to .dxf in Global Mapper, large polygons ...
1
vote
0answers
225 views

How to export dxf of window view from postGis MasterMap layer

I have managed to get qgis to show my Mastermap data which is stored in a postGis database. It's national coverage so seems to take ages to load but that's another question. I basically want to ...
0
votes
0answers
119 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
32 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
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
81 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 ...
0
votes
0answers
32 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
45 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
41 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 ...
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?
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
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
58 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
42 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 ...