Skip to main content

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
1 answer
75 views

ArcGIS Pro doesn't see loaded DWG geodatabase

I would like to load my DWG file to ArcGIS Pro and convert it to the geodatabase file. Unfortunately, I have the problem. I am new to the ArcGIS Pro and watched this video: https://www.youtube.com/...
Geographos's user avatar
  • 4,029
0 votes
0 answers
28 views

ArcGIS Pro - empty container when adding DWG or DXF file

I am struggling with adding the DWG file to my ArcGIS Pro project. By following this video: https://www.youtube.com/watch?v=I8sbUMDbYVI https://www.youtube.com/watch?v=dZE9USM6FH8 I am struggling with ...
Geographos's user avatar
  • 4,029
1 vote
0 answers
66 views

How to combine ODA File Converter with OGR (GDAL) so that dwg is a format option

I have downloaded ogr/gdal with QGIS 3.34.1 and I have downloaded the ODA file converter from https://www.opendesign.com/guestfiles/oda_file_converter However, I am not sure how to combine the two so ...
guest_231213's user avatar
1 vote
1 answer
571 views

Python script to convert CAD DWG to shapefile

I'm trying to write a python script which will convert a CAD .dwg file to a shapefile (or GeoJSON - whichever is more viable) I don't want to have to use pyautocad as that requires AutoCAD to be ...
guest_231213's user avatar
0 votes
1 answer
127 views

How do I tie survey data to a coordinate system?

I have Record of Survey drawings from Marin County that I can plot in CAD, but I am not sure the best/easiest way to place the lot lines into a coordinate space. I found some benchmarks in the County ...
Zachary Russell Heineman's user avatar
1 vote
0 answers
36 views

DXF to ArcGIS Pro - scattering of lines

I am trying to import 3D CAD polylines (DXF file) into ArcGIS Pro. However some lines scatter randomly when importing, and I am unable to understand why, or how to prevent it. In this image, the red ...
ads's user avatar
  • 11
1 vote
0 answers
37 views

ArcPy conversion: use SQL filter when converting data?

In a standalone Python script, I want to use arcpy.conversion.ExportCAD to convert a PostgreSQL table to a .dwg file. However, I don't want to convert the entire table, just a small geographical part ...
Theo F's user avatar
  • 1,839
0 votes
0 answers
115 views

.dwg import into QGIS in mm issue

When importing a dwg into qgis with the unit set to mm it's not in the wrong place. If I switch the units to M it's in the correct place. The problem seems to be with the coordinates being off, ...
Simon Forster's user avatar
0 votes
0 answers
442 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
735 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
482 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
3 votes
1 answer
270 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
369 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
1k 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
  • 91
0 votes
0 answers
183 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
947 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
68 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
1k 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
2k 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
443 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
2k 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
3k 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
183 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
871 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
1k 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
228 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
1k 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
464 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
736 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
3k 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,441
1 vote
1 answer
1k 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
  • 399
3 votes
1 answer
17k 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
123 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
2k 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
2 answers
1k 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
149 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
336 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
  • 79
1 vote
2 answers
3k 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
  • 4,029
0 votes
0 answers
211 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
  • 641
1 vote
1 answer
1k 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
105 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
13k 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
831 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
534 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
2k 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
2k 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
656 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
265 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
  • 3,022
0 votes
0 answers
553 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
  • 931