Main menu:
5. Conversion of data > 5.4 Communication with other GIS programs
5.4.3 Import GIS Data from AutoCAD
Level of expertise required for this Chapter: Advanced
TCPD has many ‘sector layouts’ (Local Plans) in AutoCAD format. It is envisaged, to convert these drawings to geographically referenced data at LUPMIS, which can be correlated and linked to the other GIS data. Two different approaches (through DXF or DWG files) are explained below.
Be aware, that most AutoCAD files are not georeferenced and have incomplete topology (for example, lines are not snapped, polygons still to be converted from lines, etc).
- - - - -
A) If you have AutoCAD installed and access to the raw AutoCAD file, it is recommended to save the drawing as a DXF file.
You can convert the DXF file to Map Maker DRA format through the standard import procedure (see Chapter 5.4.1: Main menu > Utilities > Vector utilities > Import files > DXF)
- - - - -
B) If you have received a drawing file (DWG file) of AutoCAD, but can not convert it to a DXF file, you have to use a GIS utility program:
1. Convert DWG file to SHP with a utility program, which is available at the Internet or from TCPD-HQ / LUPMIS either as freeware or shareware for a small fee. Contact HQ for the latest support (email below).
Current favourite is the shareware CAD2Shape (see also Annex 7 for installation of GIS utilities). Purchase directly from the internet or contact TCPD-HQ / LUPMIS.
Select folder and file > Select Polyline > Save …. shp
- - - - -
2. Convert the SHP file to DRA file.
Follow Chapter 5.4.1 for a description of the process. At the Import ArcView Shape file, step 2 window, you don’t have to tick ‘Import database’, because AutoCAD drawings do not have an attached database.
- - - - -
3. Edit the line map.
At Map Maker, load the converted DRA file, and have a look at the lines. You might have to copy it to live layer, and edit, i.e. snap lines, delete lines etc.
- - - - -
4. Georeference the map.
Follow Chapter 5.2.5 on georeferencing the map. In most cases, it will be sufficient to have two reference points, of which the coordinates are known.
- - - - -
5. Check the data.
Like any other converted data, also drawing files have to be quality-checked. Overlay known correct features to the map, such as GPS-tracked roads.