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

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 ...
0
votes
0answers
8 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
33 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
18 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
19 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
1k 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
10 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
59 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
98 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
68 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
1k 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
79 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
49 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
63 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 ...
5
votes
7answers
6k 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
592 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
258 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
663 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
67 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
78 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
52 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
62 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 ...
5
votes
5answers
5k 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
87 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
904 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
96 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
35 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
32 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
82 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 = ...
0
votes
0answers
61 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 ...
0
votes
2answers
82 views

how to parse a 3D dxf to kml

How can I parse a 3D dxf to a kml file? I'm looking for an answer that could point me to suitable references. The DXF is pasted below: 0 SECTION 2 HEADER 9 $ACADVER 1 AC1006 9 $UCSORG ...
4
votes
2answers
641 views

Georeference vector linework

I'm new to GIS and a lot of searching didn't answer my specific question so far, so I hope someone can help me here. What I want to do is creating a small web application to visualize election ...
2
votes
1answer
2k views

How to export QGIS contour attributes in a DXF file?

I'm new to this. I have a .tiff data file that generates contours in QGIS. I save it as .dxf. The contours don't have any attributes or data. That's bad, because I want to make a 3D landscape in Revit ...
1
vote
1answer
137 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 ...
2
votes
2answers
201 views

Project house on WGS84

I have imported a DXF file of my house in QGIS. I also included an openstreetmap layer in WGS84 which also displays my house as a square. Naturally, my house from the DXF file is placed in the ocean ...
2
votes
2answers
193 views

OGR DXF Closed Polyline Conversion

I'm trying to convert closed polylines into polygons using ogr2ogr from dxf to mssql. Here It says that polylines are converted into POLYGON if they are closed, but I always get the type LINESTRING ...
4
votes
0answers
97 views

geoserver dxf plugin - howto export attributes label?

i'm trying to export from geoserver a set of layers with WFS request and dxf plugin for dxf conversion. there is an option withattributes:true that have added for each vector layer a ...
1
vote
1answer
52 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
1answer
137 views

How to rescale vector data? [duplicate]

I've got some old maps in dxf format. QGIS imports them correctly but with a nonsense scale. It can export the data it gets to shp of course. Does anyone know how to rescale vector data so it can be ...
2
votes
1answer
79 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 ...
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
54 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 ...
0
votes
1answer
274 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 ...
2
votes
1answer
566 views

How to Export to DXF and retain elevations of contours using QGIS?

I have shape files for a whole county, and have created a base map in Qgis. What I do for my projects is zoom into the area of interest then export to dxf. The same procedure was used when I used ...
2
votes
2answers
179 views

Exporting from Draftsight: how to set correct co-ordinate system

I'm trying to import a DXF into GIS (I have QGIS, Arcmap 9.2, GVsig ) The file has been given a coordinate system & appears to be the right size, just in the wrong place. In Draftsight (or any ...
0
votes
3answers
7k views

How to export a layer to DXF from QGIS?

How do I export layers as a dxf? When I go to Layer > save selection as vector file the resulting dxf file is empty.
1
vote
2answers
105 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
0answers
46 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 ...