Skip to main content

DWG to SHP - Data Interoperability / FME Workbench

In my previous post I discussed about the issues faced in CAD to GIS conversion when using basic utilities of ArcGIS. In this post I will discuss the route taken by me to convert a set of DWG files to SHP format.

If you are working with a data pertaining to a large area or data with a large number of layers Data Interoperability extension for ArcGIS becomes very essential. While Data Interoperability can handle nearly 100 data formats, FME Desktop on which Data Interoperability is based on can handle 300+ formats. Whatever conversion you need these software have an answer - cad to gis (shp, geodatabase, kml, 3d pdf etc.)

I was involved in a project containing CAD drawings spread across several files. This technically is known as data in tiled format. Though FME has facilities to work on tiled data I decided to take up another route. That is, I used AutoCAD to stitch together all the files. This enabled me to do a reality check on the data quality - arrangement of layer components. It came to light that layers were mixed up, which often is the case with CAD drawings. Working with AutoCAD enabled me to correct such anomalies and also reduce the number of layers. 

While the direct read feature of ArcGIS collectively depicts all the layers in the form of points, lines, polygons etc. an FME Workspace depicts all the layers as they are in AutoCAD as shown in figure below. Buildin.. and Compo.. seen in left are the two layers in AutoCAD which are known as reader feature types in FME terminology. Same feature types seen at right are the writer feature types, that are the output layers in shapefile format(in my case). The readers and writers are seen in a workspace as soon as our requirements are defined. 
Fig. FME Workspace
Enhanced by Zemanta

Comments

Popular posts from this blog

Turning off a Dell Laptop Monitor: Keyboard shortcut(s)

I am someone who is particular about power savings and I don't leave appliances powered on when not in use. The same applies to computing devices - be it a smartphone or a PC/Laptop. I power off the desktop monitor when I step out for a tea break or hit Fn+F2 on my Lenovo laptop that turns off the display. Recently, I got a Dell Laptop and I was surprised to discover that Dell does not provide any shortcut to turn off the display. This led to some exploration and I found two ways to achieve that which are outlined below - 

Resolving INS-20802: Oracle Net Configuration Assistant failed error on Windows 10

I was all excited about the migration to Windows 10 until I had to install Oracle client 12.1.0.2 on it. The Oracle client installation used to fail miserably at the last stage with this error named INS-20802.

Nginx - Solution for 10060: A connection attempt failed because the connected party did not properly respond

I was in the process of setting up Nginx to serve as the reverse proxy for Nexus Repository Manager OSS. However, the Nexus repository started loading really slowly post this and used to repeatedly display disconnected and reconnected messages. The Nginx log file used to log the below error - <timestamp> [error] 3240#3632: *1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: <ip address="">, server: <fqdn>, request: "GET /nexus HTTP/1.1", upstream: "http://[::1]:8081/nexus", host: "<fqdn>"