As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
0 answers
22 views

QGIS export to DXF scale issue

I'm trying to make a Nolli map. I was able to convert all the buildings in my chosen area to black vectors and export them to DXF, but when I open the resulting DXF file, the drawing is not scaled ...
Xavier Rhino's user avatar
0 votes
0 answers
54 views

Import DXF/DWG in QGIS not at correct location

I have multiple DXF files in CRS EPSG 3857. I would like to import this data into QGIS and convert it into another CRS (EPSG 28992). I've tried importing the DXF file both through the built-in DXF/DWG ...
Jori1224's user avatar
1 vote
0 answers
143 views

Importing DWG from CAD to QGIS 3.28 failed

I have a problem with import DWG file from CAD. Unill today was no problem to import because every month I am adding something to CAD drawing (new walls from archaeology excavation) and then upload to ...
Tome's user avatar
  • 11
0 votes
0 answers
148 views

QGIS : Problem in importing geopackage that was created from a .dwg file

I have an AutoCAD .dwg file of stream/channels and hydraulic engineering data. I want to use it in QGIS (3.22.14-Białowieża) for some geoprocessing tasks. The steps I want to take are: Convert the *....
Karan Mahajan's user avatar
2 votes
1 answer
75 views

Change colour of a QGIS layer derived from import of a DWG

When I use QGIS to import layers of a DWG drawing to a gpkg, the corresponding layer seems to retain the colour it had in the DWG, and any subsequent changes to the symbology of the layer in terms of ...
Campbell Smith's user avatar
-1 votes
1 answer
103 views

Cannot Import DWG file into QGIS

I have a DWG file that I want to open in QGIS. However, whenever I try to import it I keep getting this error message. Is the problem possibly the geopackage, as it only has one blank table? I also ...
Ian Moffit's user avatar
1 vote
0 answers
277 views

Opening DWG file in QGIS

I am working on a landscape design in QGIS and I was sent an old DWG file with contour lines that I would like to use in QGIS. I would like to import the controur lines, but I am having issues. When I ...
Adamski's user avatar
  • 45
0 votes
0 answers
109 views

Plotting an image in right location (leaflet/folium)

So, I have some civil engineering plans that I'd like to plot in a web map using folium. I tried to plot the CAD files directly by exporting them to GeoJSONs. This worked OK but a lot of information ...
suryaya's user avatar
0 votes
0 answers
41 views

Converting CAD solids as closed MultiPatches using ArcGIS Pro

I have DWG files with solids geometries. When I'm using CAD to GeoDatabase on ArcGIS Pro (2.9), some of the solids converted as closed multipatches and some as open multipatches. By running Is Closed ...
Ofir's user avatar
  • 622
0 votes
0 answers
117 views

How to convert UTM coordinate to DMS without zone?

The AutoDesk DWG TrueView 2017 can provide coordinate from the .dwg file, i think 5 digits is the UTM and it didnt provide the Zone area so i cannot convert to DMS, how to apply to QGIS GCP table?
user212324's user avatar
2 votes
2 answers
249 views

I am importing layers from a DWG file into QGIS, and they are visible in the "Layers" panel, but they are not visible in the layout

I am very new to QGIS. I have a DWG file containing vector layers and I am using Project>Import/Export>Import Layers from a DWG/DXF. Some layers are then visible in the map, but others are not. ...
Ryan Khavari's user avatar
1 vote
1 answer
61 views

Wrong legend after DWG import in QGIS

I successfully imported DWG file into QGIS (3.22.11) and all vector features are displayed correctly, but only on the map. In the Layer docking window all lines are black and polygons are blue. In ...
flisior's user avatar
  • 47
3 votes
1 answer
575 views

Importing layers from DWG and they aren't appearing on my QGIS map

I am extremely new to QGIS and havent been able to find a solution to this problem I ran into when trying to upload a .dwg file I was given. I imported the file using Project > Import/Export > ...
Corinne's user avatar
  • 33
1 vote
0 answers
686 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?
Ma Fo's user avatar
  • 671
1 vote
2 answers
255 views

QGIS crashes when loading DWG file in Georeferencer

I am trying to use QGIS to georeference a CAD file. I open Raster/Georeferencer and then click on the Open Raster icon. The first time I tried this it warned me that it would only accept DWG R2000 [...
P. Krause's user avatar
1 vote
2 answers
910 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 ...
Mads Skjern's user avatar
1 vote
1 answer
955 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 ...
Mads Skjern's user avatar
1 vote
1 answer
138 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.
Avigail Newman-Cohen's user avatar
0 votes
1 answer
595 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?
Abdulrahman Barakat's user avatar
2 votes
1 answer
683 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 ...
Bill's user avatar
  • 91
0 votes
0 answers
149 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, -...
Steve Bennett's user avatar
0 votes
1 answer
873 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?
Oanh's user avatar
  • 9
0 votes
0 answers
275 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)? ...
Kay's user avatar
  • 31
1 vote
1 answer
211 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 ...
Mauro's user avatar
  • 39
0 votes
2 answers
1k 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. ...
joseph_k's user avatar
  • 1,421
1 vote
1 answer
927 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 ...
YuvalM's user avatar
  • 377
3 votes
1 answer
10k 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 ...
Christina's user avatar
1 vote
1 answer
82 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?
gis kavmedida's user avatar
0 votes
0 answers
1k 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'...
McGrawson's user avatar
2 votes
1 answer
935 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 ...
Rpitt's user avatar
  • 21
1 vote
0 answers
113 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 ...
Re1ease's user avatar
  • 95
0 votes
2 answers
220 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?
parul's user avatar
  • 69
1 vote
2 answers
1k 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 ...
Geographos's user avatar
  • 3,771
0 votes
0 answers
149 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 ...
geofee's user avatar
  • 621
1 vote
1 answer
407 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 ...
Uft93's user avatar
  • 11
0 votes
0 answers
85 views

Joining area that has been split into many .dwg or .gml files

How do I merge multiple adjacent (1) dwg or (2) gml files into a continuous map using free software or online?
ראלף מהנובר's user avatar
1 vote
1 answer
8k 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 ...
ClearMappingCo's user avatar
3 votes
1 answer
594 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....
kadarivan's user avatar
1 vote
0 answers
353 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 ...
Mardymonkey's user avatar
1 vote
1 answer
1k 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/...
Dan's user avatar
  • 19
4 votes
1 answer
2k 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?
Tomeczeg's user avatar
2 votes
1 answer
1k 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 ...
joe_gerner's user avatar
1 vote
1 answer
473 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....
Nic Pickers's user avatar
2 votes
0 answers
214 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 ...
sn1ks's user avatar
  • 2,595
0 votes
0 answers
430 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 ...
user16032's user avatar
  • 879
0 votes
1 answer
326 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 ...
birks's user avatar
  • 249
2 votes
2 answers
8k views

Importing 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 ...
Dominic Sheldon's user avatar
0 votes
0 answers
100 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 ...
MLasebikan's user avatar
0 votes
1 answer
579 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, ...
Ben's user avatar
  • 43
0 votes
1 answer
527 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 ...
Graviton's user avatar
  • 928