Site icon GIS Tuto

Configuring Tables Based on Domains in ArcGIS Pro

The next step involves configuring the information and verifying the functionality of the domains. In a new map, any layer from the geodatabase can be loaded using the “Add Data” button. For this example, the layer “ROAD_L” will be used.

To view the attribute table, right-click on the layer in the Contents panel and select “Attribute Table”. In the table, some fields may show only encoded values. The fields “DESCRIPTION”, “ROA_DESC”, and “USE_DESC” might initially appear empty, which is why they do not display the information associated with the domains.

Encoded Attribute Table.

To populate these fields with meaningful values, it is sufficient to enter the corresponding codes. This can be done manually or by using the “Calculate Field” tool. For instance, by right-clicking on the “ROA_DESC” field and choosing “Calculate Field”, it is possible to copy the associated code.

In the expression field, the formula !ROA_COD! should be entered. This refers to the field where the domain codes are stored. Once applied, the values defined in the domain will be displayed automatically.

When selecting a cell within a domain field in the attribute table, a drop-down list of valid values becomes available. For example, entering the number 1 will result in the display of the domain value “STREET”. The same method applies to the fields “DESCRIPTION” and “USE_DESC”.

Attribute Table with Domain Information.

Are Subtypes the Same as Domains?

Domains in ArcGIS Pro are configured at the geodatabase level and can be assigned to any field across multiple layers within that geodatabase. Subtypes, on the other hand, are specific to a single feature class. They allow for defining a controlled list of values for a specific field within that individual layer.

Exit mobile version