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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
36 views

How to create a 3D DXF from ARCGEN with gdal ogr2ogr?

From ARCGEN (Esri ArcInfo Generate) I want to create a DXF with distinguishable layers: import_polz.pol The transformation to a three-dimensional shapefile runs flawlessly with gdal ogr2ogr: ogr2ogr ...
user avatar
1 vote
1 answer
79 views

Exporting dxf from Revit to QGIS, loss of coordinates

I'm trying to combine Revit and QGIS. It's mostly about exporting Revit files as DXF and opening them in QGIS. Every file, no matter how I try to work with the projection in Revit (survey point and ...
user avatar
1 vote
1 answer
26 views

DXF to GeoJSON issue

I'm trying to convert DXF file to GeoJSON. Layer name: entities Geometry: Unknown (any) Warning 1: One or several characters couldn't be converted correctly from CP1254 to UTF-8. This warning will ...
user avatar
2 votes
1 answer
51 views

Move points to a Z-value?

I want to export a 800k points, which correspond to a DEM (terrain elevation) to Rhino. Currently, I tried to export a CSV with X,Y,Z coordinates based on the point attributes, however, there seems to ...
user avatar
  • 361
1 vote
1 answer
56 views

How to export DXF lines and polylines into one shapefile in QGIS

I imported a DXF file into QGIS and now after editing it, I wish to save different parts of it as a shapefile. When I go to save the layers by highlighting the ones I want and pressing right click >...
user avatar
  • 140
1 vote
0 answers
17 views

ArcMap ModelBuilder: Select Annotation from iteration of CAD (.dxf) files and then import them into a geodatabase

I'm trying to build a model which exports the "Annotations" and the "Area", "Line", "CadDoc" (after running the Import from CAD tool) of several DXF files and ...
user avatar
  • 161
0 votes
0 answers
30 views

Save/convert geopackage to DWG

Is there a way to save data from a geopackage to a DXF/DWG without saving each layer to a DXF in the process and then stitching them together in CAD?
user avatar
  • 621
0 votes
0 answers
49 views

How to import CAD drawings into QGIS?

I have a dxf with a polygon. This polygon has an area of 680279.678 m² in Autocad. When i import it into QGIS and calculate the area in the field calculator with area($geometry) i get 680281.25 I ...
user avatar
  • 1
0 votes
0 answers
79 views

Python in QGIS to convert from dxf to shapfile

Within the QGIS python console, I'm trying to convert a dxf file into a shp file. I run this section of code, and am not getting an error but no output file is generated. Wondering if I'm missing ...
user avatar
  • 43
0 votes
0 answers
46 views

Changing the output DXF version when exporting with ogr2ogr

I am exporting a DXF file from a PostgreSQL database. If I use the OSGeo4W installed with the 3.8 vesrion of QGIS, the dxf version will be a newer one than what I would get if I would use the OSGeo4W ...
user avatar
  • 195
1 vote
1 answer
32 views

ogr2ogr DXF_FEATURE_LIMIT_PER_BLOCK error

I am trying to convert a DXF to GeoJSON using ogr2ogr However, I am getting the below error: Limit of 10000 features for block ____ reached. If you need more, set the DXF_FEATURE_LIMIT_PER_BLOCK ...
user avatar
3 votes
1 answer
64 views

Export Project to DXF dialog using Python

I'm trying to run 'Export Project to DXF' in QGIS using the Python console. The intention is to export multiple vector layers, as defined by a Theme Visibility State, in the same way as if you ...
user avatar
  • 33
1 vote
2 answers
124 views

Exactly what does it mean that CAD file is georeferenced?

According to a post like this, a DWG/DXF can be "georeferenced", but not all are. I guess the same is true for other CAD formats too. But exactly what does that mean that a CAD file is ...
user avatar
1 vote
1 answer
67 views

Checking DWG/DXF file is georeferenced

I'm working on importing a DWG into QGIS, possibly by first converting the DWG to DXF, but am not having luck with it. According to a post like this, a DWG/DXF can be "georeferenced", but ...
user avatar
0 votes
0 answers
30 views

Feature count of my QGIS geopackage vector layer different by 1 less feature, than when the layer is exported as a DXF

So when I put the geopackage into QGIS the feature count says there are 7519 features. I then export this layer as a DXF and when I open it in Rhino it states there are 7520 hatches. See images below. ...
user avatar
0 votes
0 answers
51 views

Error in projection from a DXF file

I have imported a .dxf file created in Autocad into QGIS interface over an OpenStreetMap raster layer base map. They are both in ETRS89 and I am trying to make them match by modifying SRC of both ...
user avatar
1 vote
1 answer
45 views

"Resize" arbitrary coordinates (inches) to EPSG46

I'm using ogr2ogr to transform an AutoCAD (DXF) file to GeoJSON. The GeoJSON file is generated, but with very large coordinates, for example "coordinates": [ [ [ 6319.645968701713173, 9523....
user avatar
0 votes
0 answers
63 views

Some features in QGIS layer will export to DXF but others (in same layer ) will be missing

Everything I've ever exported to dxf (Project-> Export...) has worked or if not it has been somehow explicable and fixable. I don't understand why, if I have nine features on a layer, all identical ...
user avatar
0 votes
0 answers
45 views

Changing center of projection of an SVG using QGIS, then exporting back to SVG with new projection

I'm new to GIS and the innerworkings of, well, how a map projection is produced. I simply want to change the map projection center of an Equal Earth Projection map I have from Greenwich Meridian to ...
user avatar
0 votes
0 answers
50 views

GeoJSON vector labels as paths not as points/divIcons

I'm developing a page with a map using Leaflet. I have an issue with generating the vector based on a GeoJSON. The dxf file is converted to a GeoJSON format using QGIS plugin (Bulk vector export as ...
user avatar
0 votes
0 answers
42 views

DXF overlay problem in QGIS

I need to import and overlay in my QGIS project some geometries from a PDF (definitely not georeferenced). I ran the PDF cleanup procedure on Inkscape and exported it as a DXF file.Next, I started a ...
user avatar
1 vote
1 answer
97 views

Georeference DXF file which don't has any SRS assigned

I have a DXF file which I converted from DWG (CAD) file. I convert it GeoJSON using ogr2ogr but the output coordinates are out range of WGS 84. I think it's been assigned with the random coordinates. ...
user avatar
0 votes
0 answers
37 views

QGIS DXF export creating hatches with no area in AutoCAD

I am having some issues with a DXF export from QGIS. When i open the DXF file in AutoCAD, the hatches that are generating to represent the polygons in QGIS are all generating without areas. Is there ...
user avatar
  • 53
0 votes
0 answers
44 views

Setting geo-coordinates for DXF file to EPSG:4326 CRS in GeoPandas not working

I am trying to following this article (that uses 'EPSG:32719)as an example - to geo-reference my DXF file to lat/long coordinates with the EPSG:4326 CRS. The x and y after the translation are not even ...
user avatar
  • 353
1 vote
0 answers
59 views

Does Leaflet have corresponding components that can convert the data parsed by dxf into geojson?

I plan to import cad files on the web and then use Leaflet to render an editable map. I have used dxf-parser to parse the dxf file, Is there any component of Leaflet that can convert dxf data into ...
user avatar
  • 11
0 votes
0 answers
17 views

Tracing not working with DWG-turned-KMZ file in QGIS

I have this layer that came from a CAD software and was converted to KMZ so I can use in GIS (somehow the DWG and DXF doesn't import properly in QGIS). It's a line geometry which represents an outline ...
user avatar
  • 1,127
0 votes
0 answers
35 views

Exporting contours with elevation from QGIS to CARLSON SURVEY/INTELLICAD

Using QGIS 3.20, the GRASS plugin did not work properly, I am unsure why, and I have tried following along with some YouTube videos but have not been able to export elevations along with the exported ....
user avatar
  • 1
0 votes
0 answers
45 views

QGIS 3.16 DXF to GeoJSON loses extents

I am trying to export a DXF file with polygon outline letters to GeoJSON to place on a map at a certain latitude and longitude. I was hoping to set the project type () and the extents to do this but ...
user avatar
  • 353
2 votes
1 answer
44 views

Is it possible to export POINT and LINE in the same DXF from POSTGRESQL using OGR2OGR?

I have two tables in a pg database. One with annotations/points and one with linestrings. I would like to export both of them to the same dxf file with ogr2ogr. Is it possible at all somehow? I have ...
user avatar
  • 195
0 votes
0 answers
75 views

Drawing from .dxf-import to QGIS is situated off the CRS

I created a drawing (extent of an area) in Autocad LT 2021 which I want to import to QGIS. In QGIS are the boundaries of a city which should be overlayed with my drawing. My drawing is already ...
user avatar
  • 1
1 vote
0 answers
22 views

Absorb data from dxf texts to near lines

So, I have 2 dxf files, one with lines and another with nodes (they used to be texts measuring the lines), and I need to extract the text from those nodes and assign it to their corresponding lines. ...
user avatar
  • 333
0 votes
1 answer
71 views

Exporting SHP to DXF without attributes

I have exported a polygon shapefile in QGIS 3.16 as a DXF by selecting 'Feature symbology' as the Symbology export options. When I open it in Global Mapper and use 'Feature Info Tool' to select a ...
user avatar
  • 451
1 vote
2 answers
71 views

Visualizing shapefile in CAD the same as GIS

I have a shapefile of conifer trees in QGIS 3.16 that I exported as dxf and opened in Global Mapper. In QGIS, the area covered by conifers is easily recongnizable with the blue color as in IMG1. In ...
user avatar
  • 451
1 vote
1 answer
93 views

How to convert MDB to DXF with labels using ogr2ogr?

I have to convert some 700 MDB files (parcel layer). I want to generate DXF from from them. I tried ogr2ogr -f "DXF" d:\01Chitapol_1Ka.dxf d:\01Chitapol_1Ka.mdb This gives me the lines. I ...
user avatar
  • 8,119
0 votes
0 answers
58 views

Update extents in QGIS 3 layer?

I have imported a DXF file into QGIS 3 and it displays fine but I want to change the extents to a different location. The Layer Properties/Update Extents does nothing if I pick it:
user avatar
  • 353
2 votes
1 answer
62 views

Using QgsDxfExport in Python script leads to crash

I am trying to export a QgsDxfLayer from QgsVectorLayer, but it crashes at dxf.addLayers().Might I forget something essential ? ... dxfLayers = [] dxfLayers.append(QgsDxfExport.DxfLayer(vecLayer, -1)) ...
user avatar
  • 71
1 vote
1 answer
144 views

How can I do to export shapefile with symbology.svg COLORED to DXF format?

I created a shapefile categorized by characteristics, and I assigned to each element a SYMBOL.svg COLORED with Design Effects. I want to export the shape with the characteristics of the colored ...
user avatar
  • 19
0 votes
1 answer
73 views

Exporting DXF in 1:1 Scale

I'm trying to export a parcel map as a DXF to scale. Initially I was having issues because my projection was set to WGS 84. I looked through questions on GIS Stack Exchange and learned that I needed ...
user avatar
1 vote
0 answers
33 views

Export vector file in DXF

I used QGIS a lot last year for Dutch cadastral maps purposes. Since December 2020 I notice something has changed when I export maps to dxf. Exports have always been as Vectorfile. Lately they become ...
user avatar
  • 11
1 vote
1 answer
146 views

Warning: skipping unsupported geometry type 'Compound Curve' when using v.transform

I am trying to transform data in QGIS from a DXF file. I keep getting the error: Warning: skipping unsupported geometry type. Compound Curve when I do a v.transform. Eventually, I want to store the ...
user avatar
0 votes
0 answers
159 views

GeoServer export DXF with colors and labels

I have GeoServer 2.15.1 with the DXF export plugin installed and I would like to export my layers with the colors and labels shown on the GeoServer. When I export all layers of both line and polygon ...
user avatar
1 vote
0 answers
54 views

Converting linestring of the imported DXF to a closed polygon

Is there a way to convert linestring of the imported DXF file to a closed polygon? I am using QGIS 3.10.
user avatar
  • 11
1 vote
0 answers
56 views

Exporting Layer to .dxf file

I am trying to export my layer in a .dxf file. My code right now looks like this: dxfExport = QgsDxfExport() layers = [QgsDxfExport.DxfLayer(self.iface.activeLayer())] settings = self.iface.mapCanvas()...
user avatar
  • 203
2 votes
2 answers
2k views

How to export labels from QGIS to CAD?

When using the export function via Project -> Import/Export my labels do not appear in CAD afterwards. I checked the "Export as MTEXT" box and tried using different scales. But I cannot ...
user avatar
0 votes
2 answers
249 views

QGIS 3.14 with GRASS 7 error on batch dxf export

I tried to do a batch export of 19 geopackage layers to dxf and got an error I don't understand (I don't speak Python very well). First error of 19 pasted in below from my log, all of them the same. ...
user avatar
  • 165
0 votes
0 answers
48 views

Creating DXF from WFS Saves Slowly

I'm currently required to periodically pull cadastral lines from a WFS server and my current methodology is resulting in slow saves. I first query a very large layer within the WFS with a known ...
user avatar
0 votes
1 answer
774 views

Converting GeoDataFrame to DXF using GeoPandas [closed]

I have ten geodataframe; I would like to export each one of them to DXF: geodataframes= [gdf1,gfd2,gdf2] for geodataframe in geodataframes: #geodataframe to dxf it would be possible?
user avatar
  • 191
0 votes
2 answers
119 views

DXF file conversion

I am a new qgis user. Learning how to georeference .pdfs and .jpgs etc. I have a georeferenced pdf survey plat that I converted into a vector. I am now attempting to convert it into a dxf file so I ...
user avatar
0 votes
1 answer
292 views

Reprojecting .dxf file

In connection with an archaeological project, I have data in .dxf format (lines and polygons). When I import them to QGIS, however, it positions them 8000 km southeast. I tried to change the CRS (WGS ...
user avatar
0 votes
1 answer
1k views

QGIS: exporting contours to DXF with height values

I am using this video tutorial to create ground contours for a noise model in iNoise. https://www.youtube.com/watch?v=JxCxBREEqG0 See tutorial 8 https://dgmrsoftware.com/products/inoise/gallery/ When ...
user avatar
  • 1

1
2 3 4 5 6