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.

learn more… | top users | synonyms

2
votes
1answer
35 views

Export to DXF from PostgreSQL using ogr2ogr

I have a large dataset in a PostGIS database (OS MasterMap). My aim is to export specific areas of this dataset to DXF, while retaining the attributes of the data as layers in the DXF. My current ...
2
votes
1answer
218 views

Can i combine DXF, Google Earth Models, Shape Files and Rasters in QGIS?

I'm an architect, trying to bring a number of data sets together for use in a CAD package (AutoCAD). I have some georeferenced images (.jpg, .jgw.), Some model files downloaded from GoogleEarth (.kml ...
2
votes
1answer
890 views

.dxf export in QGIS 2.0.1 gives hatches instead of polylines [duplicate]

This may see like a stupid question, but I'm new to QGIS, so please bear with me. I'm having a problem when saving as .dxf. I export a building layer (polygons) as a .dxf file However in AutoCAD it ...
2
votes
1answer
165 views

Relationship between DXF's entities and objects

I'm trying to parse a raw .dxf file. Inside the Entities section I can see the polylines I'm looking for (they contain bus routes) and I inside the Objects section I can see each route's data (bus ...
2
votes
1answer
82 views

calibrating vector line in qgis

I have loaded GPS points into a QGIS vector layer. I also imported a vector line from a dxf file which doesn't have georeferencing. I would like to fit in line geometry between the GPS points - how ...
2
votes
1answer
498 views

How to create new layer within a DXF file?

Using OGR in Python, I'd like to create some geometries within a DXF file, but not in the "0" layer, but in new ones. I tried with: import ogr, os, osr, sys ds = ...
2
votes
1answer
804 views

GRASS v.out.dxf 3D into AutoCAD

So continuing with my last question (Create 3D dxf with OGR) I have decided to give the GRASS option a go. I have imported my polylines into GRASS using v.in.ogr and converted them to 3D using ...
2
votes
0answers
170 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
2answers
174 views

some shp to dxf converted lines don't show in Autocad

I have a group of vector files that I intend to convert to "DXF" format. But after the conversion, only contour lines(white lines in the red polygon) are not displayed in Autocad. I read some related ...
2
votes
0answers
198 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
181 views

Exporting SHP files into Autocad readeable files

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 ...
2
votes
1answer
3k views

Export all visible layers in map view window to DXF (as one)

I'm looking to find a way of exporting all that is visible in the map view window to a dxf file. That is to say, multiple features from multiple layers, all at once. Can this be done?
2
votes
2answers
2k views

How can I “reset” SketchUp origin after importing DXF with “Preserve Drawing Origin” option enabled?

I can successfully import all of my 3D DXFs into a common location so that they are referenced correctly (in reference to each other). TO do this I simply check the Import DXF "Preserve Drawing ...
2
votes
0answers
281 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
226 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
4answers
3k views

export 3D data dxf file

I'm trying to export a DXF file from Qgis1.8.0 Lisboa and can not have a 3Dfile in Autocad! Or micristation. It results always in 2D file. How can I export height data from a shape file in Qgis? ...
1
vote
1answer
2k views

How to convert MXD to DWG File

I have been trying to export from MXD format to DWG format without much success. I used the Export to CAD conversion tool in GIS 9.3 but it only converts the lines and polygon.. etc to DWG format and ...
1
vote
2answers
179 views

“AttributeError: getZ” error when trying to get the elevation of DXF linestrings

I'm using Python and OGR to extract the elevation of lines within a DXF file. import ogr driver = ogr.GetDriverByName('DXF') datasource = driver.Open('test1.dxf', 0) layers=datasource.ExecuteSQL( ...
1
vote
2answers
2k views

OGR DXF to KML conversion

I'm trying to convert a DXF 2010 file to KML using ogr2ogr: ogr2ogr -f "KML" outfile.kml infile.dxf In the file, $INSUNITS is 6, that's meters, if I'm correct? The problem is that DXF is not ...
1
vote
1answer
49 views

DXF entities not showing on import into QGIS

I regularly get sent DWG files containing Ordnance Survey base mapping (variously with & without additional layers). I usually re-scale & reposition these in Draftsight, or just run a ...
1
vote
1answer
258 views

Layers with the same CRS in QGIS do not line up

I am busy with a project where I have to layer a .dxf and a .kml file but the layers are not lining up. The .dxf file's coordinates are completely wrong and the scale also does not appear to math up ...
1
vote
1answer
631 views

ogr2ogr convert DXF to GeoJSON with defined geometry

I trie to convert a DXF file into a GeoJSON file with: ogr2ogr -f 'GeoJSON' -sql "SELECT * FROM entities WHERE layer = 'geom_test'" test.json dfxtest.dxf Is it possible to convert only geometries ...
1
vote
2answers
167 views

Interpolate dxf polyline vertex elevation from DTM?

I am working on several autocad polylines (with several vertices...) that have the exact N,E coords but now I would like to add the elevation data for every polyline's vertices from a dtm. I thought ...
1
vote
1answer
952 views

Export Postgis Geometry POINT as Label text to DXF or DGN

I really need to export, by the ogr2ogr command or similar, text information related to a geometry position from my PostgreSQL(with PostGIS) database to an AutoCAD DXF layer file or to a Microstation ...
1
vote
1answer
443 views

How to get DXF to show up in the right spot?

I just followed the advice of this forum post in order to export the vector layers of a PDF for usage in ArcMap. The map vector layers in the PDF were spatially referenced. I was able to export the ...
1
vote
1answer
333 views

Dxf drawings displaying as points but i need lines

I have an autocad dwg. which i then saved as a dxf. I have way to many layers in it such as contours, buildings etc. All I need is the red and blue lines. I cannot delete the other lines as they ...
1
vote
1answer
830 views

Last edited information missing when used QGIS - Dxf to Shp

I am doing as constructed drawings which require the information to be in a GIS system and more specifically drainage as constructed drawings. I must have a separate file for Pipes and Pits. First I ...
1
vote
1answer
27 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: ...
1
vote
1answer
80 views

Convert .xyz to .dxf in QGIS

I am new to all of this and I would like to know if it is possible to convert .xyz to .dxf in QGIS? I heard that it is possible in ArcGIS but I am not sure about it in QGIS. (I hope I am right asuming ...
1
vote
1answer
308 views

Autocad DXF to Qgis and exporting to KML for viewing in Google Maps

/ Background: I have a DWG trace made in AutoCad using Gauss-Kruger coordinate system ( a CRS used in Slovenia ). I'm using AutoDesk Map 3D to transform the coordinate system to WGS84.PseudoMercator ...
1
vote
1answer
184 views

QGIS - How do I stop automatic ANSI_1252 to UTF-8 encoding when adding a DXF layer?

I have a DXF file encoded in ANSI_1252, with object attributes containing umlauts. When I open it in QGIS, the umlauts don't display properly. This apparently happens because QGIS automatically sets ...
1
vote
2answers
136 views

Keeping layer name when exporting to CAD?

I am trying to export selected features from layers from SDE into a DXF using python, but it does not retain the layer name. But if I do it manually using the ArcToolbox tool, it does work. Example ...
1
vote
1answer
656 views

DXF created by QGIS crashes Autocad [duplicate]

This is slightly complicated. I have a dxf created by autocad which seems to have been corrupted. It will not open in AutoCAD. However, it opens in QGIS. I tried selecting the file in QGIS and ...
1
vote
0answers
29 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
26 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
32 views

Importing DXF - Polylines with elevation data

When importing a DXF file (containing 3D contour data) to QGIS, none of the various methods described elsewhere are retaining elevation data as an attribute. e.g. DXF2SHP, GRASS v.in.dxf, opening ...
1
vote
0answers
35 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
29 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
53 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.
1
vote
1answer
273 views

Import georeferenced dwg-files to SketchUP

I have a georeferenced dwg-file in a national projection and want to import it into SketchUp pro 2015 without loosing the georeference. My workflow so far was to import it into QGIS, check it's ...
1
vote
0answers
73 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
46 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
87 views

Export DXF Issue in QGIS?

I got the shapefiles in QGIS and transformed them to UTM NAD83 from WGS84, then tried to create a DXF of it so I could use it as an overlay in fieldgenius software for a topographic survey we're ...
1
vote
1answer
71 views

by 3d dxf to shp with field height

I have a question from a DXF file " topographic precision 3 cm " with 3d polylines to get one shp line with information 3d is possible?
1
vote
0answers
67 views

How to create a floor plan KML file from a DXF in QGIS? [duplicate]

I import a building floor plan from DXF format to QGIS. When I export it to KML format and then import it in Google Earth, how can I put the floor plan to my desire building location? MY CRS is WSG84 ...
1
vote
0answers
79 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
49 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
1answer
173 views

Use Microstation wireframe model for OpenStreepMap

I've got an entire city in Microstation DGN format. I'm able to convert it into Google Earth (KML), DXF, SVG and other formats, and then in .osm with ogr2osm. However, the 3D model is build entirely ...
1
vote
1answer
88 views

Why do the SHP lines in QGIS Android look jagged (very simplified)?

I use QGIS for more than five years. I'm trying to make my way with QGIS Android for a while now. For some time I experience the following problem with the "nightly build" 2.0.1-Dufour: the SHP lines ...
1
vote
0answers
155 views

Error when converting .shp to .dxf

I have created a polygon shape file 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 ...