Is there a way to create attribute subdomains in ArcGIS with clauses? For example, if I'm editing a line feature class of pipes, I create a domain for the pipe type to be either plastic or metal. I want to setup another domain field "Rusted" with a yes/no value. When editing the data in ArcMap, if the pipe is metal, I should get a yes/no coded value option on the "Rusted" field. If it is plastic, I want the "Rusted" field to calculate N/A or perhaps give me other options.
Answer
I think what you are actually trying/wanting to do is create subtypes as shown in the graphic here. You can then apply domains by subtype.
In your example type would be a domain of plastic and metal, which in turn would be subtypes, and then metal would have a domain of yes/no for rusted, but plastic would have a domain of N/A or whatever other option.
The only other way I know to address this is with Feature Templates, but that would just pre-fill out values as opposed to restricting them.
No comments:
Post a Comment