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
0answers
11 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
30 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 ...
1
vote
2answers
922 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 ...
2
votes
1answer
46 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
44 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
4k 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
34 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
35 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 ...
6
votes
4answers
2k views

Is it possible to create 3D dxf with OGR?

Does anyone know if it's possible to create a 3D dxf with OGR. I would like to assign our contour lines a z value and export them to dxf for some cad work. PS I know FME can do this, however I would ...
2
votes
1answer
59 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
51 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
60 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
193 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, ...
4
votes
2answers
1k views

postgis error: when adding features geometry has z dimension but column does not

I have to define a geometry column in PostGIS for 2D points, but when I try to import points from DXF to postgres I get the following message: "postgis error: when adding features geometry has z ...
0
votes
1answer
35 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 ...
0
votes
1answer
58 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 ...
3
votes
2answers
290 views

QGIS DXF file projection match

I need to use this file on a map but I am not able to match the projection with the others I have, primarily data downloaded from OSM (city of Boston). I read many articles, I have repeatedly tried to ...
0
votes
0answers
115 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 ...
1
vote
0answers
67 views

Exporting SHP files into Autocad readeable files

I have a full water supply network drawn in a shapefile which I created using Qgis 2.2.0. Now I need to export it into a format that enables me to open it in AutoCAD. I am trying to export it as a dxf ...
1
vote
1answer
433 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 ...
0
votes
0answers
48 views

Convert to DXF not displaying correctly in CAD

I am trying to export to DXF in QGIS 2.2.0, when I import in (AllyCAD 3.6) the shape of the polygons do not match my reference shape. I presume it has something to do with projections, but I have ...
2
votes
0answers
55 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
1answer
71 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 ...
2
votes
2answers
319 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
244 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.
1
vote
3answers
742 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? ...
0
votes
2answers
2k 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 ...
4
votes
2answers
1k views

TIN Creation from 3D Contour File

I'm currently trying to import a 3D contour file into a Quantum GIS project. My question is, how can I export the DXF file from Microstation with height information? I already have imported it to the ...
2
votes
5answers
4k 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 ...
5
votes
2answers
552 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 ...
5
votes
5answers
4k 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.
1
vote
0answers
249 views

Sketchup importing dxf/dwg [closed]

How do I import a dxf file into sketchup so that it appears in the vertical plane & not the horizontal plane? I'm trying to import a elevation, not a floor plan so I need it in the vertical plane. ...
0
votes
1answer
1k 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. That's super. I save it as .dxf. The contours don't have any attributes or data. That's bad, because I want to make a 3D ...
6
votes
1answer
606 views

How do I convert a .dxf to a .shp containing a field with height information in QGIS?

I received two .dxf for my project that represent my area of interest. One of them contains buildings, the other one terrain elevation. They both are 3D. I can convert them to shapefiles successfully ...
0
votes
1answer
88 views

How can I access second (or even third) level attributes in a vector layer and add them to the attribute table? [closed]

I got some .dxf file containing buildings I need for my map. The file loads nicely into QGIS and I converted sucessfully to shape. I still can find the Information I need (the buildings height) in the ...
0
votes
0answers
134 views

Running OGR conversion to dxf within QGIS

I would like to automate a conversion process which converts a polygon vector dataset (either sqlite or shp) to a dxf using a named column as layer name for the dxf file. The column / layer name is ...
0
votes
1answer
349 views

ogr2ogr DXF to PostgreSQL some LINESTRING coordinates mirrored to the negative longitude

I have been using ogr2ogr GDAL tool to migrate geospatial data from DXF file to PotgresQL database without much problems. But now there is a special problem I can not fix. I have a DXF file with ...
0
votes
2answers
75 views

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

Hy everybody! 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 ...
2
votes
0answers
334 views

.dxf export in QGIS 2.0.1 gives hatches instead of polylines

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 ...
1
vote
1answer
506 views

Export Postgis Geometry POINT as Label text to DXF or DGN

I really need to export, by the ogr2ogr command or similar, text information related to a geometry position from my PostgreSQL(with PostGIS) database to an AutoCAD DXF layer file or to a Microstation ...
1
vote
1answer
776 views

Export all visible layers in map view window to DXF (as one)

I'm looking to find a way of exporting all that is visible in the map view window to a dxf file. That is to say, multiple features from multiple layers, all at once. Can this be done?
2
votes
1answer
102 views

Relationship between DXF's entities and objects

I'm trying to parse a raw .dxf file. Inside the Entities section I can see the polylines I'm looking for (they contain bus routes) and I inside the Objects section I can see each route's data (bus ...
1
vote
0answers
114 views

Error when converting .shp to .dxf

I have created a polygon shape file in Erdas Imagine 9.2 from a raster image. I want to export it to .dxf or .dgn for further processing. When I export the .shp to .dxf in Global Mapper, large ...
1
vote
1answer
106 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 ...
3
votes
1answer
3k views

DXF format for QGIS

I am trying to import some DWG files into QGIS. I am using ODA to convert the DWG files to DXF and then want to use the Dxf2Shp converter plugin in QGIS. The ODA converter has many options for the ...
2
votes
3answers
623 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 ...
4
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 ...
2
votes
1answer
813 views

How to convert lines from dxf to polygons?

I have several dxf files. Each file, contains the 0 layer. The 0 layer contains lines (which make a closed polygon). In each dxf the lines have their color and line width. I do not have autocad or ...
5
votes
2answers
905 views

Python: How to export Shapely objects to DXF file

Using shapely package for Python how to export the resulting shapely objects such as buffer to a DXF file?
3
votes
2answers
180 views

Is it possible to create CAD file from shapefile and also create CAD blocks from the database fields

I am trying to find out if there is any software or plugin/code that I can bundle that will take a shapefile and export it to a CAD file with CAD blocks generated so our CAD mappers can just move the ...