I am familiar with database concepts, but I am still new to data modelling in the ArcGIS world. Based on my learning so far, I thought I would be using domains to achieve the desired result of restricting possible options for an attribute, but am beginning to doubt that now.
I would like to put together a pair of related tables. The first will contain all available streets types and second the actual streets constrained by the types listed in the first table using the equivalent of a foreign key constraint.
First table's attributes:
- Unique Key (ID) as a string
- Street Type Name
- Street Type Abreviation
Example record : ST, "Street", "St."
Second table's attributes:
- Unique Key (ID) as a string
- Street Name
- Street Type Unique Key
- Street Direction
Example record : MN1, Main, ST, "East"
As you can see, my intention is that the third attribute of the second table is constrainted by the IDs of the first table (ST in my examples).
When I started looking at domains, I was assuming that a domain could be dynamically based on a table and so as new entries are added to the underlying table, the domain's list of available options also grows. Is this not the case? Is there another mechanism I should be looking at to accomplish this?
Cheers,
Paul