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
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
17 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
0answers
40 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
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 ...
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 ...
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 ...
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
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 ...
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
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 ...
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 ...
0
votes
1answer
205 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 ...
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"), ...
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 ...
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 ...
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
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 = ...
0
votes
0answers
78 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
92 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 ...
2
votes
2answers
206 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
370 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 ...
1
vote
1answer
65 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 ...
6
votes
0answers
121 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
0answers
68 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 ...
2
votes
3answers
198 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 ...
0
votes
1answer
462 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
1k 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
287 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 ...
1
vote
2answers
144 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
48 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 ...
2
votes
1answer
187 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
185 views

Exporting QGIS shp file to dxf-Which dxf format?

As I understand it, dxf comes in a range of format types. QGIS (v2.0 'Dufour') can export any layer to a dxf file. However I have a hydraulic modelling package which relies upon importing the dxf file ...
2
votes
0answers
152 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 ...
3
votes
1answer
396 views

Wrong scale when importing dxf into QGIS

Has anyone had the problem that the scale of the shp layer converted originally from a .dxf file turns out to be wrong? (for example I draw a line of 10 meters long in AutoCAD and imported it in QGIS, ...
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 ...