Questions tagged [dwg]

DWG (DraWinG) is a binary file format used for storing two and three dimensional design data and metadata. It is the native format for several CAD packages including DraftSight, AutoCAD, IntelliCAD (and its variants) and Caddie.

Filter by
Sorted by
Tagged with
1
vote
1answer
43 views

Uploading *.dwg layers to QGIS

I have many *.dwg layers I want to upload. How do I upload them without losing information? I usually convert them to *.dxf but I realised it merged everything into one layer.
0
votes
1answer
46 views

How to export shapefile to DWG file with symbology

I can export shapefile to CAD file with symbology. I export polygon from ArcGIS desktop to CAD file but I always exported without its symbology. Is there any method to keep its symbology?
0
votes
1answer
37 views

GDAL/OGR convert AutoCAD DWG to shapefile

I'm trying to come up with a Python script to convert CAD files to shapefiles. The Open() calls don't error they just return None. I've tried with and without the 'CAD' driver specified. GDAL version ...
0
votes
0answers
42 views

Create custom projection for CAD data with no projection information

I have a CAD file (DWG) that need to load into a GIS. It does not have any projection information, just its own internal coordinate system: Extent: (287073.083996, -667765.958872) - (857074.052952, -...
0
votes
1answer
65 views

Is there a tool that directly exports a .DWG map with coordinates to GEOTIFF?

Input: AutoCAD Output: GeoTIFF Is there a tool that directly exports a .DWG map with coordinates to GEOTIFF?
0
votes
0answers
37 views

Import of DWG into QGIS is very slow. Is my computer the problem?

I'm working on some projects that have CAD data as the basis which I import into QGIS. For the last project, this has taken over 36h. Is my computer too slow and, if so, which part (RAM or processor)? ...
0
votes
0answers
27 views

How to convert shapefile to AutoCAD DWG using a 1:1 scale in ArcGIS Desktop?

I have a potential job that has a requirement of delivering a boundary in AutoCAD. These are the requirements: Digital copy of wetland delineation in AutoCAD shall be provided, with the survey at 1:1 ...
1
vote
1answer
47 views

From DWG to shapefile

I can't export a project (road) from AutoCAD Map3D to shapefile (QGIS). I tried also with Leica Infinity, but the only data I have exported are my benchmarks, but not the polylines of the road. I ...
0
votes
2answers
143 views

Can't open DWG file in QGIS 3.16

I'm trying to import a DWG file into QGIS. I tried with both 3.16 and 3.4 versions. Not able to open in either version. Attached is the screenshot of the error. Downloaded a sample DWG from internet. ...
1
vote
1answer
163 views

DWG to GeoJSON in QGIS 3.18

I am Using QGIS 3.18 or 3.10. I have imported a DWG file with many layers and many type of features (hatch, point, polyline). I want to converts them to GeojSON format. Is there a way to export all ...
2
votes
1answer
3k views

Error when trying to import DWG file in QGIS 3.10.9

I am trying to import a DWG file (from Autodesk AutoCAD 2019) into QGIS using the Import tool (Project>Import/Export>Import files from DWG/DXF). I have been following the steps as detailed in ...
1
vote
1answer
37 views

Option to export from ArcMap 10.7 to CAD not in group

Is there an option to prevent ArcMap 10.7 from exporting CAD polygons as group? I am using ArcMap to export layers to CAD as DWG. Does someone know how to prevent ArcMap to export polygons as group?
0
votes
0answers
234 views

DWG Import: How to resolve vector <t> too long?

I'm attempting to import a schematic layout however in the DWG/DXF import menu, I get the "vector too long" error message for ~1400 entities. It's my first time importing a DWG file, so I'...
1
vote
1answer
130 views

Converting DWG to shapefile - include annotations in the point attribute table

I am working with a GPS system (Magnetfield system) that cannot easily export the data collected into a shapefile - it creates an individual shapefile for each point taken rather than exporting the ...
1
vote
0answers
55 views

Exporting shapefile to DWG

I need export a shapefile to DWG using Java. I have seen many examples of how to export a DWG file to PDF, but I have not found any that directly export from shapefile to DWG . Is it possible to do ...
0
votes
2answers
64 views

Overlay AutoCAD drawing on QGIS desktop shapefiles

I have sewerage network data in shapefiles. I want to overlay with drawing.dwg file so i can update shape files in QGIS. How to directly open drawing.dwg file in QGIS desktop?
0
votes
1answer
253 views

Georeferencing imported DWG layer using QGIS

I would like to georeference a DWG layer using QGIS 3. I have imported the DWG layer saved by Microsoft Office Visio Professional. After import I have a nice lookup like below. The problem is, that I ...
0
votes
0answers
75 views

QGIS 3 export PostGIS layers to DWG

I'm having three PostGIS layers (points, lines, polygons) that I'd like to export to a single DWG file. So far, I could export the layers as an AutoCAD DXF file with a right-click on the layer and ...
1
vote
1answer
77 views

How can I create a shapefile from a .dwg file?

I'm working on extracting various weather data from a specified region for a project. I've obtained the map for the area and isolated my part specifically on AutoCAD. Now I have a .dwg file which ...
0
votes
0answers
42 views

How do I join an area that has been split into many .dwg or .gml files?

How do I merge a bunch of adjacent (1) dwg or (2) gml files into a continuous map using free software or online? Thanks.
1
vote
1answer
2k views

Convert DWG to SHP in QGIS?

Given files by client: .dwg .bak QGIS doesn't like it; FREECAD doesn't like it; RhinoCAD doesn't like it or Illustrator. QGIS > Project > Import as .dwg/.dxf actually asks for .gdb, which doesn't ...
3
votes
1answer
264 views

How to batch the import of DWG files in QGIS?

I can import and open DWG files to geopackage one-by-one with the Project -> Import/Export -> Import Layers from DWG/DXF command. This window use the QgsDwgImporter cpp function: https://github....
1
vote
0answers
123 views

Adding coordinate system to .dwg in order to convert to .shp

I have a number .DWG files that appear to have no georeferencing or coordinate system attached. They were probably created in line with OS master mapping. My aim is to try and convert the lines in ...
1
vote
1answer
851 views

Georeferencing DWG using QGIS?

I am using QGIS 3.4.11 on Windows 10 x64. I have three large DWG files that are the output of a survey (each roughly 5MB). No problem to import them into QGIS as geopackages using the built in DXF/...
3
votes
1answer
1k views

Exporting attributes from QGIS to .dxf/dwg

I have a QGIS point layer with attributes in table. I want to export a layer with some of the attributes as a CAD block with attributes. Is it possible to do something like this?
2
votes
1answer
730 views

Read CRS from DXF/DWG in QGIS

I want to import DXF/DWG files in QGIS, therefore I use the import function. The problem is, that I have to know the crs of the CAD file. Is there any way to get the crs in QGIS, because I have no ...
1
vote
1answer
213 views

Extracting vector information from a .dwg file into a QGIS environment?

I have a few CAD files in the .dwg format and I am trying to extract the data into a QGIS environment. The CAD files have a large number of different layers that represent different types of assets eg....
2
votes
0answers
121 views

Importing DWG into QGIS loses points

I want to import a DWG file into QGIS (3.8.1). I do this via Project > Import/Export > Import Layers from DWG/DXF. Everything works fine, the imported data looks almost like the original DWG - with ...
0
votes
0answers
186 views

dwg in QGIS - which CRS?

I got a dwg-file which I imported in QGIS, it is displayed allright. There was a prj-file which stated that that the CRS should be EPSG 31258, which I used for importing the file. However it does no ...
0
votes
1answer
156 views

Converting DWG surface to line feature class in file geodatabase using FME?

I have a DWG file with autocad_surfaces. I want to export these to a line, so that I can use it in ArcGIS Pro. How can I convert the features from surfaces to lines in an ArcGIS File Geodatabase ...
2
votes
2answers
6k 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 ...
0
votes
0answers
48 views

ArcGIS drops some elevation values when converting to 3D or DWG format

I have a shapefile of 2' contours that I've converted into dwg format. I have an existing elevation field (double) in the shapefile that's populated with my elevation values. When it converts to dwg ...
0
votes
1answer
446 views

Converting DWG to GDB and maintaining style with Data Interoperability in ArcGIS Pro?

I am attempting to Convert a DWG to a geodatabase for online publishing and use in collector. The conversion itself is fine, however I am also attempting to maintain style, i.e. annotation, colour, ...
0
votes
1answer
397 views

Existing C++ libraries that convert ESRI shapefile to DXF/DWG [closed]

Is there any C++ library that can convert ESRI Shapefile to DXF/DWG file? I seek a link/or sample on how this can be done with the said C++ library. I'm aware that one can do this with ArcGIS ...
1
vote
1answer
321 views

Creating polygon from lines, using the lines' attributes?

I'm trying to transform lines into polygons with the attributes. The lines are from a dwg file. I tried to use "feature to polygons" but doesn't preserve the attribute. I tries to transform lines to ...
1
vote
0answers
56 views

CAD file creation in custom software

I've worked a little with basic exporting of CAD .DXF files from our software using GDAL. We want to do more sophisticated things, like importing and creating georeferenced files with multiple layers,...
0
votes
1answer
244 views

Mapping attributes from input shapefile to output CAD file using FME?

I'm trying to do a simple data conversion using FME where I take a point shapefile and convert it to CAD (DWG). Even though I have connected the attributes I want mapped into the output file, the ...
1
vote
0answers
2k views

Export MapInfo Plan to DXF

I would like to export a plan from MapInfo into DWG format. This exported DWG will be used by a laser cutter to engrave the vector outlines into wood. I'm aware of the Universal Translator tool ...
2
votes
0answers
289 views

Georeferencing Cadastral map in DWG using AutoCAD Map 3D?

I want to georeference a cadastral map in dwg format. I have the lat-long of 3+ points on the map but do not have the scale. I tried "Set Location" in Autocad Map 3D but it references using the lat/...
0
votes
0answers
893 views

Convert GeoTIFF to DWG

I like to convert a georeferenced tif-file into a dwg-drawing. At first I convert the raster into a polygon. The result is Grey-coloured picture When I "Export to CAD" the polygon it is still Grey. ...
1
vote
0answers
1k views

DWG/DXF conversion to DEM file

I have got a detailed CAD drawing (DWG format) showing a house plan and topographic survey. I want to use the heights from the topo survey to create a digital elevation map in QGIS. I have tried a ...
1
vote
0answers
159 views

Exporting Layers to Cad with Seed file Changes size and Location On ArcMap

Some background information before I go into the issue. I am working on project that takes place in Erie county New York. The shapefiles consist of 2 line layers and 2 point layers. The files were ...
3
votes
0answers
3k views

Exporting to DWG using QGIS?

I am an architecture student with no experience with QGIS. However, I need some .dwg drawings of a town in Italy called Certaldo. I found detailed drawings for the town and had to download it as a ....
0
votes
0answers
146 views

Convert AutoCAd file (.dwg) to shapefile [duplicate]

I have a CAD file to convert into shapefile. Unfortunately, I don't have access to AutoCAD, MapInfo or ArcGIS atm. All I have access to is QGIS. I'll need to convert this CAD file to shapefile to be ...
2
votes
1answer
863 views

Convert CAD to graphics for layout template in ArcGIS

I've received a CAD template and need to use this as an ArcGIS layout template. I can go to layout view in ArcGIS and "convert features to graphics" as suggested in this answer. This answer suggests ...
0
votes
0answers
54 views

Getting started -Importing files [duplicate]

How do I start? I want to open a DXF or a DWG file and then to export it to a KML file to be used in google earth. Have no idea how to start doing so.
1
vote
0answers
584 views

Converting AutoCAD drawings to QGIS shapefiles

I am having problems converting an AutoCAD 2012 drawing (.dwg) file to a shapefile (.shp) in a QGIS project I am working on using the Coordinate Reference System ...
1
vote
1answer
987 views

Converting dwg to shapefile using arcpy and ArcGIS js

The following code in arcpy is used to convert a dwg file into shapefile and it works perfectly when you run it within ArcMap: import sys, zipfile, arcpy, os, traceback from arcpy import env # Set ...
1
vote
1answer
625 views

How to convert multipatch file in .dwg format to polygon in .shp format?

I have a multipatch file in .dwg format, which I wish to convert to .shp file format. When I right click on it to export it to .shp format, then all the data does not gets converted. I am using ...
0
votes
1answer
928 views

From DWG to Shapefile: How to extract the channels length of water courses?

I have a DWG file with the drainage system of a small town. I need to open it on ArcGIS and get the total length of the channels that are part of one of the watersheds in the city. When I convert the ...