43
votes
Importing DWG into QGIS project?
In the newer versions of QGIS (2.18+) there was a feature implemented to import .dwg-files into geopackages (.gpkg).
This feature can be found under:
Project >> DWG/DXF-import
In order to make it ...
5
votes
How to convert MXD to DWG File
As far as I know, which may not be very far, you can't do that. An mxd is a separate document from the data it contains. Many CAD programs can use shapefiles, although again you wouldn't get symbology....
5
votes
Workflow to convert a DWG CAD file to a shapefile
You say that you're open to using FME for this but don't want to run in a Windows environment. Good news, as of FME 2014, FME now runs on a Mac as a "technical preview".
With FME, you can bypass ...
5
votes
Workflow to convert a DWG CAD file to a shapefile
Once you coverted the DWG to DXF you should be able to use GDAL/OGR. Note that you have to use DXF version 2000 (http://www.gdal.org/ogr/drv_dxf.html).
I have recently used ogr2ogr with the -gcp (...
5
votes
Accepted
Importing CAD polyline symbology into same polyline but converted to feature class?
I actually figured this out while I was typing my question. I decided to still submit the question, and supply an answer just in case it helps someone else.
You need to go into the Layer Properties, ...
5
votes
Accepted
Existing C++ libraries that convert ESRI shapefile to DXF/DWG
GDAL supports open ESRI Shapefile and save it as DXF.
The C++ API intro is here: https://gdal.org/ogr_apitut.html
5
votes
Can't open DWG file in QGIS 3.16
Its probably the version of the DWG - QGIS doesn't like newer versions of CAD files.
Your best bet is to try and save it as an older DWG/DXF file.
4
votes
Accepted
Why are some CAD lines invisible in ArcMap?
I have an answer, thanks to the insightful comment by FelixIP. Felix suggested exploding the linework might fix this issue. I passed this suggestion to the client, who said the following in reply:
...
4
votes
Converting from dgn to shp or dwg files using QGIS?
update (early May 2017). GDAL supports DGN v8 from version 2.2.0. More info about the driver. Not tried this yet so can't vouch for completeness.
New OGR/vector drivers:
...
- DGNv8 driver: read-...
4
votes
Accepted
How to quickly add a DWG with multiple layers?
There is a plugin: Another DXF Importer / DXF2Shape Converter that can give you the ability to import DXF files and categorize it by layer. The plugin also give you the ability to convert each layer ...
4
votes
Accepted
Accuracy/ Positional error in converting GIS data from one format to another
Yes and no.
Some formats will have precision limitations. So a coordinate of:
2.809808098098098089089098
Might be rounded to:
2.8098080981
There may also be issues with how a file format ...
3
votes
Accepted
Convert multi-layer DWG into several KML or geoJSON files (one per layer)
I ended up making a node.js script which uses ogr2ogr through the command line.
It calls ogr2ogr through a spawned child process to keep it async.
ogr2ogr -f GeoJSON -s_srs epsg:2154 -t_srs epsg:...
3
votes
Accepted
Keeping polygon from becoming polyline when converting polygon feature class to .dwg using ArcMap
No, I do not think this is possible.
I have very little knowledge of AutoCAD, but from my limited understanding this is why I think that is the case.
The way ArcMap and AutoCAD handle geometries is ...
3
votes
Accepted
Converting LAS to DWG/DXF using open-source software?
You may use las2ogr (las utility application), but your GDAL libraries must be built with libLAS.
Convert las file to txt using las2txt (las utility application) and use ogr2ogr converting CSV file to ...
3
votes
Georeferencing CAD drawing against point data and/or raster image?
In ArcMap, turn on imagery, zoom to where the CAD drawing should fit. Add the CAD dwg, turn on Georeferencing toolbar. Under it "Fit to Display" it should bring the dwg into the current view. Now pick ...
3
votes
Accepted
Convert CAD to graphics for layout template in ArcGIS
Not sure if I'm understanding completely, but in Layout view you can insert the dwg as an object (Insert >Object... >Create from File). This will save you from re-drawing and it definitely won't show ...
3
votes
Accepted
Extracting vector information from a .dwg file into a QGIS environment?
You can try the plugin Another DXF Importer/Converter, or in QGIS 3 try the import DWG to geopackage function under Project in the menu bar.
Neither option will fully preserve everything exactly as ...
3
votes
Convert DWG to SHP in QGIS?
Convert from DWG to DXF to SHP:
Download and open ODA File converter: https://www.opendesign.com/guestfiles
Convert DWG to DXF (Choose lastest year - mine was 2018 - ASCII DXF)
Use QGIS Plugin '...
3
votes
Accepted
Overlay AutoCAD drawing on QGIS desktop shapefiles
Try Project > Import/Export > Import Layers from DWG/DXF
This will ask you to specify the location of a new geopackage that the imported layers will be added to, and will ask for the source ...
3
votes
Accepted
Exactly what does it mean that CAD file is georeferenced?
In surveying, we called "the world file" the georeferenced portion of a file. It tells the GIS or mapping software where the file is located and at what scale to display it at.
If a CAD ...
2
votes
Converting from dgn to shp or dwg files using QGIS?
QGIS well supports dxf (and will support dwg in future versino as we hear). I usually use the free 'Teigha file converter' to convert my dwg files to dxf.
https://www.opendesign.com/guestfiles/...
2
votes
Reprojecting DWG file using AutoCAD?
I was able to do this in ArcGIS for Desktop when I:
Defined the spatial reference of the DWG in ArcCatalog.
Exported the DWG to a GDB (in ArcCatalog).
Opened the annotation in the DWG in ArcMap, and ...
2
votes
How to use Data Driven Pages to generate shapefiles instead of generating PDF?
This will export individual features from a feature class into separate shapefiles based on a name in a field. You will LIKELY need to work with the field names because it will work very differently ...
2
votes
Georeferencing a CAD file and converting to SHP in ArcGIS without distance distortion
You have commented "when i georef the shapefile" which makes me think your procedure is astray. Perhaps you are defining a Projected Coordinate System on a shapefile in a Geographic Coordinate System ...
2
votes
Publishing AutoCad *.dwg files into HTML?
DWG Browser might be what you are looking for. There is a free demo of it but the program itself is not very expensive.
http://www.graytechnical.com/software/dwg-browser/
2
votes
Convert multi-layer DWG into several KML or geoJSON files (one per layer)
It should be quite easy by using DXF, ogr2ogr, and GDAL SQLite SQL dialect http://www.gdal.org/ogr_sql_sqlite.html.
Demo:
Download some sample data, for example http://justcad.com/jcsample.dxf
Use ...
2
votes
When opening dwg files are there hidden fields by default in Layer Properties of ArcMap 10.3.1
If you are unable to find what you need by right clicking on the layer and accessing properties and turning fields off/on under the 'Fields' tab, then you'll have to do a few extra steps by creating a ...
2
votes
Accepted
Convert .dwg to .shp via FME
The simplest solution is to join the two sides together by dragging connections from each input to each output (click on the yellow arrow and drag a line from it to the equivalent red one). Then press ...
2
votes
DWG/DXF-Import , fid numbers differ?
Using FID field for managing your data is not proper since this column is filled in automatically by application. You can't delete or change that field, at least in most applications you shouldn't be ...
2
votes
Read CRS from DXF/DWG in QGIS
If QGIS does not read it than you'll have to play the CRS dwg guessing game:
Add control layer in Q that you know the CRS
Add in the dwg or dxf file
In Q change the project>properties>CRS to any ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dwg × 133arcgis-desktop × 35
qgis × 32
autocad × 27
cad × 22
shapefile × 21
dxf × 19
georeferencing × 16
convert × 14
export × 11
arcmap × 9
import × 9
arcgis-10.1 × 8
fme × 8
coordinate-system × 6
arcpy × 4
gdal × 4
mapinfo × 4
open-source-gis × 4
autocad-map × 4
qgis-3 × 3
arcgis-10.2 × 3
arcgis-pro × 3
dem × 3
file-geodatabase × 3