Now, you have a new feature class in the Habitat feature dataset. Next you will set a domain for this feature class. Geodatabase Domain One of the useful tools for attribute value validation is using a geodatabase domain. It can be as simple as setting values for an attribute field like Yes/No or a range from 0 to 100; it can also be as complex as having a list of vegetation types. In the following steps, you will learn how to create a geodatabase domain from a table stored in the geodatabase. Open ArcMap, and add the new feature class wetland_habitat to your map. You can see that no spatial data is displayed in the map, and the attribute table is empty as well. This is because this feature class does not contain any features (geometry) yet. In ArcToolbox, click Data Management Tools Domains Table To Domain, and select and enter the following parameters in the dialog window: Input: RatingCodes Code Field: Rating_codes Description Field: Descriptions Input Workspace:WRIA9.gdb Domain Name: Rating_codes Domain Description: Descriptions Update Option: Append Close ArcMap. In ArcCatalog right click the WRIA9.gdb click Properties to open the Database Properties dialog window click the Domains tab to see if the new domain you just created is listed there. To apply the geodatabase domain to a field, right click the wetland_habitat to open the Feature Class Properties dialog window click the Fields tab select the Rating field set the Domain in the Field Properties to Rating_codes.
Now, you have a new feature class in the Habitat feature dataset. Next you will set a domain for this feature class. Geodatabase Domain One of the useful tools for attribute value validation is using a geodatabase domain. It can be as simple as setting values for an attribute field like Yes/No or a range from 0 to 100; it can also be as complex as having a list of vegetation types. In the following steps, you will learn how to create a geodatabase domain from a table stored in the geodatabase. Open ArcMap, and add the new feature class wetland_habitat to your map. You can see that no spatial data is displayed in the map, and the attribute table is empty as well. This is because this feature class does not contain any features (geometry) yet. In ArcToolbox, click Data Management Tools Domains Table To Domain, and select and enter the following parameters in the dialog window: Input: RatingCodes Code Field: Rating_codes Description Field: Descriptions Input Workspace:WRIA9.gdb Domain Name: Rating_codes Domain Description: Descriptions Update Option: Append Close ArcMap. In ArcCatalog right click the WRIA9.gdb click Properties to open the Database Properties dialog window click the Domains tab to see if the new domain you just created is listed there. To apply the geodatabase domain to a field, right click the wetland_habitat to open the Feature Class Properties dialog window click the Fields tab select the Rating field set the Domain in the Field Properties to Rating_codes.