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
45 views

Import dxf file with QGIS

I use "add vector layer" to import my dxf file in QGIS. But, when I open the attributes tables of the layers (point, polyligne, polygone), I see that the majority of the attributes (color, ...) of the ...
1
vote
1answer
52 views

Projecting SHP file in QGIS [duplicate]

I have a DXF file of a building from AutoCAD. I saved this DXF file as a SHP file in QGIS. But this SHP file is converted from a plain DXF file and is not referenced/projected, it is drawn from ...
0
votes
0answers
8 views

Dxf2shp! Error Message

I was trying to import a DXF file in QGIS. First tried using dxf2shp function but it didn´t work. This message appeared!! Do you know why this method didn´t work for me? Regards. PS: I use the 2.14....
2
votes
1answer
57 views

Converting a CSV to DXF using ogr2ogr from the command line

I am trying to convert a .csv file to .dxf using ogr2org from the command line using the following command: ogr2ogr -f DXF control.dxf opua.vrt This is the .vrt file I am using: <...
1
vote
0answers
35 views

problem in veiwing 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
1answer
23 views

Exporting multiple layers to single dxf file using Grass GIS?

I'm very new to Grass GIS. I need to export multiple vector layers into a single dxf file (required in order to import into another application). However, I can't see a way of selecting more than ...
0
votes
0answers
72 views

Polylines and polygons - QGIS-2.14.3-1

After extracting contour lines from a DEM (obtaining polylines), and transforming them to polygons, I export the vector layer with polygons to a DXF. Then I import the DXF into Corel Draw to manage ...
1
vote
1answer
52 views

QGIS 2.14.3 export PostGIS layer to dxf issue

I am trying to export a PostGIS layer to dxf in QGIS (2.14.3) via Project>DXF-Export using the following settings (German GUI): When I open the resulting dxf in DWG TrueView 2016 I see nothing, but ...
1
vote
1answer
32 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: https://www.youtube.com/watch?v=jhC-C5f-...
1
vote
0answers
48 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 ...
4
votes
1answer
86 views

QGIS: Batch export multiple layers to DXF

I have only had limited experience with QGIS. What i have: I currently have many different layers (water mains, sewer mains, drainage etc.). These layers are TAB files with attributed data. What i ...
3
votes
2answers
104 views

How georeference a dxf file in QGIS 2.14?

In Illustrator I exported a PDF as dxf and inserted it in QGIS as Vector and obtained 2 layers as points and lines but it is misaligned and in a unknown location. I know georefecence a raster file, ...
3
votes
1answer
49 views

How to create dataset in python with creation options like in ogr2ogr with -dsco options

In ogr2ogr there is dsco option (data source creation option). e.g. ogr2ogr -f DXF -dsco trailer=trailer_buildings.dxf -dsco header=header_buildings.dxf out.dxf test_buldings_shp.shp. It works well, ...
2
votes
1answer
42 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 ...
3
votes
2answers
147 views

Converting LAS to DWG/DXF using open-source software?

Is there a way to convert LAS point clouds to DWG and/or DXF files using open source software? Also willing to script with Python - is this possible using libLAS/LASlib for example?
1
vote
0answers
27 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 ...
2
votes
2answers
99 views

dxf file in qgis

Please see the attached files…. The line type files load in ok however all text rotation values are lost when loaded into QGIS. This is most obvious when you load in OStext.dxf – please see grab_Mar....
1
vote
1answer
108 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
57 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 ...
0
votes
1answer
70 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
33 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
114 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
53 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
87 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
36 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 ...
3
votes
0answers
205 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
417 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
1k 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
41 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
60 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
358 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
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.
0
votes
0answers
98 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
14 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 photo/....
3
votes
2answers
156 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
286 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
178 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
1answer
291 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
1answer
217 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
149 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
0answers
74 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
107 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
261 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
118 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
57 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 .
1
vote
0answers
48 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 ...
3
votes
1answer
199 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 = ...
3
votes
1answer
103 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
96 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 ...