Curb Zone relationship to Curb Area(s) #88
Replies: 4 comments 3 replies
-
Good catch - seems like we should go with option 2. |
Beta Was this translation helpful? Give feedback.
-
I think the original intention was that there would really be only one Area surrounding a Zone. Though Areas can overlap other Areas. So that's option 1. But I can see that there could be more than one Area that overlaps a Zone and if so then an array would work, so that's option 2. Might need to do some diagraming to see how this could play out on a curb/street/neighborhood. I'm actually inclined to keep it as option 1 since it is simpler unless there is a use case for option 2. |
Beta Was this translation helpful? Give feedback.
-
I think now that we have identified some scenarios, we are in agreement here. I made |
Beta Was this translation helpful? Give feedback.
-
According to the Curb Area definition:
This suggests a one-to-many relationship between a Curb Zone and Curb Areas
On the Curb Zone spec, the
curb_area_id
field only makes room for a one-to-one relationship between a Curb Zone and a Curb Area.We either need to:
curb_area_id
tocurb_area_ids
and make the type an array of UUIDsBeta Was this translation helpful? Give feedback.
All reactions