Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dxf]

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.

2
votes
0answers
1k views

Export dxf files for use in Sketchup

the export to dxf seems like it worked, but Sketchup will not import it. I don't think this is a Sketchup issue, as Sketchup imports other dxf files just fine.
2
votes
0answers
344 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
354 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
1answer
6k 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
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
2answers
57 views

Default output file type when exporting to CAD

The default format for export format for ArcGIS 10.1 is DWG_2010. Is there any way to change it to another format? In my case I need it to DXF_2000. The only known way to export to cad for me is right ...
1
vote
2answers
164 views

How can I delete from attribute table in a dxf file in ArcGIS?

I have tried delete one row from an attribute table in a dxf file, but I can't. ArcMap said I need to export that to a geodatabase or something similar. What exactly should I do? From step to step, ...
1
vote
2answers
209 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
1answer
368 views

Exporting georeferenced image (jpeg, png) to .dxf file in QGIS?

Is it possible to export a georeferenced image, such as a jpeg with a world file, to a .dxf file using QGIS version 2.14.21? The resulting .dxf file would only be the georeferenced image with no ...
1
vote
2answers
286 views

v.in.dxf not working properly in GRASS toolbox in QGIS 2.18.11

I am using the GRASS v.in.dxf tool from the GRASS plugin to import some contours in QGIS. Everything seems fine, but the tool does not import all the contours. There are no additional options in this ...
1
vote
2answers
166 views

Why can't I select all polygons in my DXF layer?

I am importing dxf file into QGIS. The file contains polygons. For some reason, when I select them only some of them are selected. Why can't I select all off them. Here is how it looks like: (yellow ...
1
vote
3answers
4k views

How to convert Shapefiles to 3D DXF?

I'm using QGIS version 1.8.0-Lisboa and I'm trying to convert a vector line file and it's not working. I right click on the layer>Save as>Autocad file>DXF. After that I try to open the output file in ...
1
vote
1answer
103 views

Exporting symbols rather than points in .dxf

I have a map I've made in QGIS which is points from a .csv file. These have then be turned into different symbols based on what they represent and then the sizes of said symbols based on values in the ...
1
vote
1answer
320 views

Convert shapefile into DXF file including Hebrew labels in QGIS 2.18

I try to convert this polygon shapefile into DXF including Hebrew labels (this is the QGIS screenshot): The data source encoding is UTF8 I opened the dxf file in AutoCad - but there no features in ...
1
vote
1answer
79 views

Changing python code, to only import points from dxfs (or to only import lines)?

edit - This code no longer works in the new version of QGIS (QGIS 3.0) If I paste it into the python console it generates a series of requests for the CRS but then imports nothing. QGIS 3.0 has moved ...
1
vote
2answers
178 views

Batch import all vector types of hundreds of DXF files?

When importing dxfs, you get a window asking you to select vector layers to add. With all the dxfs I've imported so far, that has had two layers called entities, one of which is points and one of ...
1
vote
1answer
688 views

Trying to Save QGIS layer as a DXF; output is always really tiny

In multiple files on multiple computers, I've tried to export a layer in my QGIS file as a DXF so that I can open it in AutoCAD. I've tried this for GPS located trails, contour lines, and a few other ...
1
vote
1answer
91 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 ...
1
vote
1answer
1k 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
824 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
884 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
1k views

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
331 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
657 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
382 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
873 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
2answers
63 views

Importing a georeferenced DWG/ DXF into QGIS

I work in an ecological consultancy and we would save money on mapping tiles if we could import DWG files into QGIS, they must be georeferenced however as we need to draw on various habitats ...
1
vote
1answer
23 views

Creating new layers and DXF export

I have a small .OSM map which has some rules set up based of whether it's deemed a primary road, secondary road, path etc. What I would like to do is branch each one of these out to its own layer for ...
1
vote
1answer
77 views

Too many features in QGIS DXF import: 1 Feature per Column

The company I work for do a considerable amount of field surveys, and export the data directly from the GPS (Leica GS08) to DXF files. Whenever I try to open a DXF file (with lines and points), the ...
1
vote
1answer
155 views

Exporting a DXF file to be geolocated in QGIS

My cave survey freeware can export its cave map in DXF format, where XYZ coordinates are orthogonal meters from the origin station (0,0,0 by default). A user asks me to export this DXF so that it ...
1
vote
1answer
108 views

Need to edit and rearrange Text points in QGIS

I have thousands of points currently saved as a Drawing Interchange file that I brought into a QGIS project. Each point has attributes that has one bar of text assigned to it. I need to add a word ...
1
vote
1answer
192 views

extract layers by name from DXF file to multiple destination files using ogr2ogr command line

Is this possible to extract layers of a DXF file into multiple files using ogr2ogr command line ? Let us say my DXF file consists of 2 layers : ROAD and HOME. I want my output to be some kml files. ...
1
vote
2answers
65 views

Getting existing rotational value in QGIS?

I have one DXF file for and I loaded in QGIS canvas. In attribute table I did not found any angle for label. How can we know the existing angle in which the label displayed?
1
vote
1answer
5k views

Convert OpenStreetMap to AutoCAD/DXF/DWG with LAYERS

Spatial Manager for AutoCAD would be the best, but it has an associated cost. Are there any other methods? I tried using QGIS without useful results. OpenStreetMaps appears all on one layer. How can ...
1
vote
1answer
178 views

Importing points from a DXF file into ArcMap 10.2

I can import LineStrings, polygons, annotations from a DXF file into ArcMap (and arcpy) but I can't import Points from the same DXF file (neither with arcpy). No error is reported, simply no features ...
1
vote
1answer
67 views

Clipping a DXF file in GRASS

I have a large DXF format three dimensional DTM triangulation file from a LiDAR survey (about 3.5 GB file). I wish to extract part of it from inside a polygon. I was impressed that GRASS successfully ...
1
vote
1answer
278 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 ...
1
vote
1answer
248 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
2answers
632 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
1answer
350 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
1answer
4k 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
2answers
413 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
324 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
104 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
1answer
804 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
1answer
309 views

QGIS dxf2shp text angle problem [duplicate]

I am trying to convert from dxf to shp. Any text layer when converted has attributes including text, height, and angle. The angle is in radians, and I can see that it is in degrees in the dxf file. ...
1
vote
0answers
61 views

QGIS to .DXF export: labels do not appear

I have been trying to export a shp layer in QGIS 2.18 to dxf with some labels using the export to DXF tool included in QGIS, but somehow, the labels won't appear on the export. I have tried changing ...
1
vote
0answers
85 views

Exporting from QGIS to .dxf as blocks

I'm exporting from QGIS 3.4 to ACAD .dxf format. Since I made this in QGIS 2.18 all features exported were blocks in Autocad, but now I find out that every single geometry is exported explosed in the ....
1
vote
0answers
38 views

Export marker line to DXF [duplicate]

I was wondering if there is a way to export in DXF from QGIS (version 3.4.4) this type of line (The one with the "E" as a pattern). Here is how the line was created Currently, when I export this ...
1
vote
0answers
105 views

Èxport DXF from shapefile with layer styles in QGIS

I have Mastermaps 3 layers with layer styles on QGIS. This is exported with Project -> Import/ Export -> Export project to DXF with the following settings; However when this is imported to ...