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

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.


SSL VPN: Configuring and Using Forticlient on Ubuntu, creating a Launcher

Is your primary OS at home Linux and do you use Windows only to connect to your work PC over VPN or to attend meetings? Do you often wish to connect to your work VPN from a Linux PC?  If your answer is 'Yes' to the above questions, I have an answer if your workplace uses Fortinet SSL VPN. Note that it's possible to connect to Fortinet and other VPNs like Cisco VPN from Linux through the inbuilt network manager by installing additional tools but this post would focus on using the standard Forticlient for accessing the resources on your work network.
Obtaining Forticlient The most important thing to note w.r.t. using Forticlient for Ubuntu (or any Linux distro) is to note that the client is not publicly available for download from the official website. You will have to ask your IT department to download the client for you, in case they haven't provided it.

Troubleshooting a Constantly Freezing Windows 10 PC

On my Windows 10 Home, I was being bugged by constant freezes which forced me to hard reboot now and then. Since I use Ubuntu as my primary OS, I chose to adjust with this for long. However, this became more of a trouble in the recent times with Windows starting up at 98% CPU usage and every process actually showing 0% CPU usage. That's when I decided to get into the root of the problem and resolve it. I was confident that the hardware was fine since Ubuntu worked perfectly all the time.
It turned out that many Windows 10 users, especially those who upgraded from previous versions of Windows 7 or 8 / 8.1 faced similar freezing issues. The answers at Windows Forums by Microsoft staffers generally suggested using the command sfc /scannow to verify that system files were intact. However, most users found it unhelpful and that didn't help me either.