[GIS] Converting feature class with domains to SHP file

convertshapefile

I have a feature class which has coded value domain associated with it. The code and the description are different. For example, I have coded value domain for pipe diameter. For pipe diameter of 8" I have assigned coded value 1. Now, when I convert the feature class to shapefile I understand that it assigns the coded value not the description.

I know that I can convert those values using field calculator but I have 20 coded values. It will take considerable amount of time to do this operation.

Is there a script/tool that I can use which can assign description not the coded value for that attribute column when converting from FC to SHP?

Best Answer

Probably the easiest way to accomplish this is to use the Domain to Table tool to convert the domain into a DBF table, join the domain table to the featureclass, then export the joined tables to shapefile, which will preserve both the original attributes and the joined description.

If you need to replicate this task often, consider turning this process into a ModelBuilder tool and turn it into a nearly one-click tool.