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
3answers
200 views

how to convert shp and gis line and raster data to autocad (dwg or dxf) in QGIS or GRASS

I am trying to find out which is best free GIS program with ability to convert shp and line and raster files to files suitable for autocad (e.g. dwg and dxf). I have QGIS and GRASS. I get an error ...
1
vote
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 ...
7
votes
4answers
6k views

Transforming from DWG/DXF to GIS?

I've got tons of DWG/DXF files with information (in several layers) dealing with: Contour lines and elevation (lines) positions of antennas (points) protection areas (polygons) administrative ...
1
vote
1answer
34 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 shape file. The main source of ...
1
vote
0answers
18 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 ...
2
votes
1answer
48 views

How to export elevated contours to a DXF file in QGIS

Having tried Project -> Export DXF as well as right clicking my vector layer and using the save by dxf feature I have found that the contours do not show in AutoCAD to be elevated from 0 I have ...
0
votes
2answers
53 views

digital elevation model data help?

I know little about geographic data. I am trying to get a file of elevation data for the United Kingdom so that I can import it into a CAD program and convert it to an *.stl or *.dxf format. I ...
2
votes
1answer
176 views

Can a DXF File contain raster images (TIFF/JPG)?

I am maintaining a large Program with a graphical editor. Our Program can export DXF and it can show Background Raster Images of various types (TIFF, JPG, BMP etc.). Is it possible to embed these ...
0
votes
0answers
41 views

Calculate z value for contour line from x,y in dxf file

I am working on a project about route chart and cross section generation for hiking with Hong Kong Lands Department's Digital Topographic Map B5000 (sample). Height information are required for this ...
2
votes
2answers
54 views

Using .DXF Arc or Circle accurately in ArcGIS for Desktop?

I need to use a .DXF in either QGIS or ArcGIS. However, if an Arc occurs in a .DXF drawing and if this file is opened in QGIS, I noticed that the geometry of the Arc is simplified. I did a test: ...
1
vote
0answers
32 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
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 ...
6
votes
2answers
1k views

How to convert 3D DXF to PostGIS 2.0?

I'm not very skilled on using postgis but I face a problem that I must solve, i.e. create tables to load geographical data stored as dxf. I have a thousand dxf files (3d) with polylines, points and ...
1
vote
0answers
26 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 ...
3
votes
4answers
7k views

How to export labels to DXF file?

Is it possible to export labels based on Shapefile attributes into a DXF file? I use Quantum gis in Version 1.7.4. I've been reading a CSV file and view it as a Shape Layer. With the help of ...
2
votes
0answers
101 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 ...
4
votes
1answer
2k views

OGR and DXF files: Is it possible to handle layer names? (only “entities”)

I'm using Python and OGR to extract the layers of a DXF file and convert them into SHP. I began with: import ogr, os, sys driver = ogr.GetDriverByName('DXF') datasource = driver.Open('test1.dxf', 0) ...
4
votes
2answers
526 views

Convert multi-layer DWG into several KML or geoJSON files (one per layer)

I have some big DWG files, with 5 to 50 layers, which I draw and geolocated using AutoCAD (with some external modules). I need to convert them to KML or geoJSON so that the JS library can load them ...
0
votes
1answer
196 views

How to extract style data from DXF when converting to geoJSON

I am using ogr2ogr (GDAL) to convert DXF files (from autoCAD) to geoJSONS for usage inside Leaflet.js The issue is that a lot of information, like line stroke size and colors are not kept during the ...
0
votes
0answers
36 views

What are the main issues of creating DXF not from Autodesk Products?

We are trying to work on a project, and the requirements for delivering the product to the company is in DXF files because they use Autocad and we should meet their standards. On the other hand we ...
0
votes
0answers
41 views

Creating (manually transforming) a DXF in WGS84 lon/lat coordinates. In which coordinates do I have to define blocks?

I've got a DXF file that represent a map with lines, texts, and some symbols (blocks in DXF). I need to transform coordinates from a local cartesian system to WGS84 lon/lat coordinates, maintaining ...
1
vote
1answer
161 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
0answers
45 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.
0
votes
0answers
63 views

Missing items in DXF from QGIS export

I'm new to QGIS so this might be an easy answer. For my masterthesis I need contour lines of quite a large area. I imported an .asc file into qgis and used the contour command to get the contour ...
5
votes
3answers
2k views

Export .mxd to .dxf

Converting a .mxd to .dxf is something we need to do, and we do not only need the layers but also the layout of a map on our .mxd to be transfered to .dxf. I've done some research on the internet but ...
0
votes
0answers
12 views

Is it possible to view different layers in different viewers in ArcScene?

I want to create a fly around of a mine dump in ArcScene. I know that I can add a viewer(s) and create different perspectives of the main scene. But is it possible to have for example an aerial ...
3
votes
2answers
106 views

How can I create a QGIS plugin that needs an external Python library?

I’m trying to enhance QGIS's Profiletool plugin by adding DXF export functionnality. For this, I need to to import dxfwrite library. As it's installed on my computer, i added the following lines to ...
1
vote
4answers
2k 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? ...
2
votes
2answers
151 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 ...
1
vote
1answer
172 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 ...
4
votes
1answer
2k views

TIN Creation from 3D Contour File

I'm currently trying to import a 3D contour file into a QGIS project. How can I export the DXF file from Microstation with height information? I already have imported it to the QGIS project but ...
0
votes
1answer
206 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
124 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
98 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 ...
6
votes
6answers
7k views

How to georeference a dxf?

I have got myself a dxf which is built with units in the wrong scale. How do I upscale that in QGIS? Note it does open in QGIS, just in the wrong map units and location.
2
votes
1answer
759 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 ...
0
votes
1answer
395 views

DXF (points and lines) in QGIS - Doesnt import z coordinates

Trying to get to grips with QGIS, coming from a Mapinfo and Civil3D background. I have a DXF file with points (X,Y,Z) and lines. I want to open this in QGIS and use the interpolate plugin to create ...
2
votes
2answers
1k views

How to import a 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.
5
votes
4answers
3k views

I exported a DXF from QGIS, but it won't open in AutoCAD

I'm new in QGIS and here is my problem: I exported a DXf from QGIS by right-clicking on the layer. Then tried to open in AutoCAD 2000. That did not work. AutoCAD gave a failure-message: Unknown ...
0
votes
0answers
160 views

How to properly import georeferenced .dxf hatches/polygons into QGIS?

I have a georeferenced AutoCAD-drawing (some district borders I vectorized with Illustrator from a raster image), saved as a 2004 ASCII .dxf-file. When I import the file in QGIS ("Add Vector Layer"), ...
0
votes
0answers
103 views

How do I convert a DXF object position into a GIS coordinate?

I've trying to extract some geographic positions from a DXF file in code (using the kabeja java library). I'm having trouble working out how to make the object's coordinate into a global position; ...
0
votes
0answers
68 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 ...
0
votes
0answers
87 views

How to define layer in QGis like in AutoCad?

I have imported a dxf file into QGis. While the importing processes split my dxf file into three layers - Point, Linestring and Polygon, which are different from the layer in AutoCad. I found the ...
6
votes
4answers
6k views

Workflow for DXF interchange with QGIS

What is the best method of importing/exporting dxf files with QGIS ? I work in an engineering field and we use CAD and specialist design programs, and often go through several iterations during a ...
0
votes
1answer
164 views

Exporting linework layer with 'altitude' attribute in QGIS to DXF with lines raised in z according to altitude attribute?

I have contours which I have brought into QGIS from a GEOjson - the lines have an attribute of 'altitude'. I want to export these contour lines as a DXF with the lines raised in the zplane according ...
3
votes
3answers
1k views

How to preserve text when converting from .dxf to .shp?

I have tried using dxf2shp converter in QGIS but the text in dxf file is being lost during the conversion process, despite selecting export text labels. I would be grateful if someone can help me ...
3
votes
1answer
109 views

QGIS 2.8.1-wien: how to unselect multiple layers from imported dxf?

I'm using the following syntax within the query builder in order to unselect a layer from a dxf added as a vector to the project: 'Layer' NOT LIKE '15%' It works but now I want to deselect some ...
0
votes
0answers
48 views

when displaying shp file some layers lost in QGIS

When the export dxf file from autocad to turn dxf files into shp file and then displayed in QGIS , ask why some layers lost. These layers are massive icons . For example, the icon of the valve .
0
votes
0answers
40 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 ...
2
votes
1answer
123 views

PyQGIS load dxf file as a vector layer

Can somebody help me with loading a dxf file as a vector layer with PyQGIS? Is QgsDataSourceURI an option? I've tried it with this code, but it didn't work. fitxer="/tmp/prova.dxf" uri = ...