Replies: 1 comment
-
@sagarrat7 thanks for the question - there are a few things to unpack here: first vs. next: The In this example, the sequence of detour events capture the full detour route as a driver experiences it. To drive around the work zone on I-35, a driver will use road F22, then US 69, then IA 210. Each of those segments is represented as a different detour road event. The first event (detour segment on F22), will be referred to as such by the other two segments. Each segment points to the next segment in the detour (F22 -> US 69, US 69 -> IA 210). relating with other work zones/detours: There's some guidance in the header to the RelatedRoadEventType - if a work zone or detour event is part of a sequence, we recommend only pointing to the first in a sequence. The first road event in a sequence or recurrence is treated as the "head" of a group and pointing only to the first event minimizes the number of relationships specified. In these situations, end users will need to find the "first" road event and iterate through all linked "next" road events to find all related road events. overall: None of these are "rules", per se - you could use even fewer relationships to get the same structure across, but this approach balances the amount of information shared with the manipulation required to define all the relationships. Here's a color-coded diagram of how all of these relationships are used in this example: |
Beta Was this translation helpful? Give feedback.
-
Are there rules to follow when relating road events to each other? In Scenario 4, the work zone event (id
a15f7570-b7e6-4367-8ad9-3a462eea65dd
) is related to the detour event with idcf1092ba-3b8d-4e91-81ef-daa4a98662e1
.Why this segment, and not any of the other two detour segments?
That detour segment (id
cf1092ba-3b8d-4e91-81ef-daa4a98662e1
) is related to both the work zone event and another detour,4d151e7d-11d8-4b99-a192-51e189da0de7
, which is marked as next-in-sequence. Why is this sequence?This detour segment (id
4d151e7d-11d8-4b99-a192-51e189da0de7
) has these detour relations:Why is one of these first vs next? Is it related to the flow of traffic, or is it arbitrary?
Beta Was this translation helpful? Give feedback.
All reactions