CAD users beware! While ArcGIS supports the mapping of CAD data, ArcPad – ESRI’s field software – does not. Though it is no problem to convert CAD data into the geodatabase format, the handling of CAD annotation can present challenges. In this article, I will walk you through a problem one of my clients was having and the solution I came up with.
Background
My client has a Trimble GeoXH GPS unit on which they use ArcPad to collect field data. I was contacted to help them clean up their GIS data. In addition to maintaining GIS data, they also had several CAD files. They wanted to consolidate all of the data into one efficient geodatabase. I designed and created a new geodatabase for them and converted/imported the CAD data into it. Among the CAD data were very detailed roads data that my client wanted to use as background data in ArcPad. In CAD format, the roads were stored as lines and the road names were stored in a CAD annotation feature class. When I converted the CAD data into the geodatabase format, two feature classes were created: Roads – which contains the line data, and Roads_Annotation – a point feature class that contains the road names. See the figure below.

Raw CAD data and converted geodatabase objects

The raw CAD data as rendered in ArcMap

Roads_Annotation layer and labels as rendered in ArcMap
It would be nice to use the road names from the Roads_Annotation layer as labels in the Roads layer. I could accomplish this by joining the two tables if only there were a key field. Alas, there is not.
There is an Import CAD Annotation tool available in ArcToolbox that will convert a CAD annotation feature class into a geodatabase annotation feature class. The annotation will look exactly as it does in the raw CAD data. I used this tool to create the Annotation_rds feature class that works great in ArcMap. ArcPad, however, does not support annotation feature classes.
The Problem
My client wanted both the roads and the road names to appear in ArcPad. With no other options, I needed to find a way to use the Roads_Annotation point feature class to label the roads properly.
The Solution
Here’s how I made the Roads_Annotation point layer mimic the raw CAD annotation. First, I symbolized the points so that they do not appear on the map. I did this by choosing a basic ESRI point symbol that does not contain an outline, such as Circle 1, and then shrinking the size down to 7 points – any small size will work. In the color palette selector, I chose “no color”, see below.

Use the Symbol Selector to make the points invisible
The effect is that the points do not appear even though the layer is turned on.
Next, I needed to make the labels orient with the roads. Upon inspection, I discovered that the Roads_Annotation feature class contains an attribute field called TxtAngle. The values range between 0 and 90 and represent the orientation angle of the original CAD annotation.
The default behavior for labels of point features in ArcMap is for the labels to be placed horizontally at a designated location around the point. This works for point data, but not for my line data. Fortunately, the default behavior can be changed. From the labels tab in the layer properties, I chose the option to place the labels at an angle specified by a field in the table. This allows ArcMap to position the labels as they were originally designed in CAD, see below.

Use the label placement options to align the labels based on a designated field

Now when my client checks data out for use in ArcPad, the Roads and Roads_Annotation layers both can be checked out as reference data. This is an easy way to provide a light-weight and detailed labeled roads layer in ArcPad.
Hey Michele!
Great information and glad to see stuff like this being posted. while not a huge Arc user, it is good for me to know when others discuss issues like this.
I am also glad to have gotten this through an email blast… I don’t get to hit your site and the blast enabled me to quickly hit the link and find out what your up to. Hope all is well and I look forward to more of your Blog posts!
JB
January 27th, 2010 permalinkHey Joe Bob -
Great to hear from you! CAD data is used a lot in the GIS world and it presents a few potential pitfalls. This is one that a client of mine had.
Hope all is well with you.
Michele
January 29th, 2010 permalink