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

3
votes
1answer
223 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
104 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 ...
2
votes
2answers
210 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
529 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
74 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 ...
7
votes
1answer
155 views

Geoserver dxf plugin - How to export attributes labels?

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 I have added for each vector layer a ...
1
vote
0answers
84 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
270 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 ...
1
vote
1answer
722 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
2k 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
429 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
186 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
51 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
239 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 ...
3
votes
1answer
234 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
223 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
546 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
64 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 ...
1
vote
1answer
186 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 ...
0
votes
1answer
588 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
0answers
192 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
2k 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 ...
2
votes
1answer
333 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 ...
1
vote
1answer
88 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
2k 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
3answers
2k 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 ...
3
votes
1answer
4k views

Exporting QGIS contour attributes in DXF file?

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 using the ...
3
votes
2answers
1k 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 ...
6
votes
1answer
1k 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
112 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
2answers
115 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 ...
0
votes
1answer
648 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 ...
2
votes
1answer
964 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 ...
2
votes
1answer
1k 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 ...
5
votes
2answers
1k 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
3k 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
169 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
158 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
153 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
3answers
2k 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
2answers
223 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 ...
2
votes
5answers
3k 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
3k 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 ...
0
votes
0answers
47 views

Convert Shp to Dxf with QGIS [duplicate]

8.0. I have asked this before and seen similar but not the same (all of which I Have not got an answer to so not a duplicate). But is there a way to export a shp as a dxf so that it will not crash ...
2
votes
1answer
2k 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 ...
2
votes
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 Origin"...
1
vote
0answers
531 views

How to import 3D geometries from DXF, VRML or X3D into PostGIS 2

we plan to develop a webbased 3D GIS using PostGIS 2 and GeoServer with a W3DS. The architecture works fine, but i have problems to import 3D geometries into PostGIS. The geometries come from AutoCAD ...
1
vote
1answer
462 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 ...