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
11 views

CAD file lines have loops that are supposed to be polygons-Viewing in ArcGIS Pro

I am working off of ARCGIS Pro 2.9 and I opened up an AutoCAD DWG file and this is what it looks like: Those Turquoise circles are supposed to be ROW (Polygons) but the CAD file drew them as : ...
user avatar
0 votes
0 answers
15 views

Generate GeoJSON for map of building without Geographical base map

We have a CAD drawing of a building (DWG & DXF) and are looking to use that building map in an interactive chart with D3 and GeoJSON. I'm using a free online tool to convert the DWG to GeoJSON ...
user avatar
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
1 vote
2 answers
70 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 [...
user avatar
0 votes
0 answers
20 views

Importing Survey Triangles in DWG format to QGIS

I have a DWG with survey triangles of a site. I want to import this into QGIS so I can convert these triangles as a DEM in QGIS. When I use import function it just adds all the layers into QGIS. How ...
user avatar
  • 1
0 votes
0 answers
23 views

Export kilometrage of line in shapefile to DWG/DXF

I've got a polyline in a shapefile (represents an electric-line). I want to produce a kilometrage (for intervals of 100m and 500m) for this line and finally export it to AutoCAD. When it comes to do ...
user avatar
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
1 vote
1 answer
53 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.
user avatar
0 votes
1 answer
125 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?
user avatar
2 votes
1 answer
165 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 ...
user avatar
  • 91
0 votes
0 answers
54 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, -...
user avatar
0 votes
1 answer
269 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?
user avatar
  • 9
0 votes
0 answers
89 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)? ...
user avatar
  • 31
1 vote
1 answer
49 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 ...
user avatar
  • 39
0 votes
2 answers
434 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. ...
user avatar
  • 1,391
1 vote
1 answer
315 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 ...
user avatar
  • 145
2 votes
1 answer
5k 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 ...
user avatar
1 vote
1 answer
43 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?
user avatar
0 votes
0 answers
476 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'...
user avatar
1 vote
1 answer
324 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 ...
user avatar
  • 11
1 vote
0 answers
69 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 ...
user avatar
  • 85
0 votes
2 answers
89 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?
user avatar
  • 69
0 votes
2 answers
369 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 ...
user avatar
  • 3,546
0 votes
0 answers
90 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 ...
user avatar
  • 531
1 vote
1 answer
125 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 ...
user avatar
  • 11
0 votes
0 answers
47 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.
user avatar
1 vote
1 answer
4k 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 ...
user avatar
3 votes
1 answer
345 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....
user avatar
1 vote
0 answers
152 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 ...
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/...
user avatar
  • 19
3 votes
1 answer
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?
user avatar
2 votes
1 answer
944 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 ...
user avatar
1 vote
1 answer
285 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....
user avatar
2 votes
0 answers
143 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 ...
user avatar
  • 2,219
0 votes
0 answers
259 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 ...
user avatar
  • 851
0 votes
1 answer
203 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 ...
user avatar
  • 249
2 votes
2 answers
6k 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 ...
user avatar
0 votes
0 answers
59 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 ...
user avatar
0 votes
1 answer
499 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, ...
user avatar
  • 43
0 votes
1 answer
444 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 ...
user avatar
  • 928
1 vote
1 answer
355 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 ...
user avatar
1 vote
0 answers
58 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,...
user avatar
  • 91
0 votes
1 answer
264 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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
  • 293
2 votes
0 answers
294 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/...
user avatar
0 votes
0 answers
996 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. ...
user avatar
  • 53
1 vote
0 answers
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 ...
user avatar
  • 11
1 vote
0 answers
169 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 ...
user avatar
  • 11
3 votes
0 answers
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 ....
user avatar
  • 31