Convert DWG to SHP
Turn DWG documents into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop DWG files on the dialor turn it to pick what to do
CAD drawings as GIS layers.A zip of shapefiles, split by points, lines and polygons, in the drawing's coordinate system.
What you get
One zip file. It holds a shapefile for each kind of geometry the drawing contains among points, lines and polygons. Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts.
The coordinates stay in the source's coordinate system. The attributes become UTF-8 columns.
What changes
Column names are cut to 10 characters. Lists and nested values become JSON text.
Features without a geometry are left out.
What is left behind
Paper space layouts, colors, line weights and text styles are dropped.
LibreDWG first writes the drawing as a DXF. It leaves out proxy objects that add-on applications store, and objects it does not understand. Those objects do not appear in the shapefiles.
Files that are refused
Drawings saved by AutoCAD R12 or older are refused. A file that is cut before its EOF marker stops with
input_corrupted.
DWG and SHP.What each format is.
The formats
AutoCAD Drawing
AutoCAD's own drawing format, the most common file of architects, engineers and CAD tools.
- Extensions
- .dwg
- MIME type
- image
/vnd .dwg - Kind
- Documents
Shapefile
Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.
- Extensions
- .shp.zip .shz .shp
- MIME type
- application
/x -shapefile +zip - Kind
- Text and data
In your code.The same DWG to SHP conversion through the API, for your app or your agent.
$ cv convert report.dwg report.shp.zip$ cv convert report.dwg report.shp.zipQuestions.What people ask about DWG to SHP.
Yes. The shapefiles are written in the source's coordinate system, and each one has a .prj part.
A shapefile holds one kind of geometry. The zip has one shapefile for each kind among points, lines and polygons that the drawing contains.
No. Colors, line weights and text styles are dropped, along with paper space layouts.
The file is cut before its EOF marker. The conversion stops with input_corrupted when that happens.