Hi,
I need some help determining if it's possible to switch the from and to measures of an event using an attribute rule.
Here's the situation. I have two linear event layers, one is used for storing work order information and a second event layer stores attributes used to populate the the work order events.
When a user is adding a new work order, the attributes need to be populated using the first point that is clicked on. When adding the work order where the from measure is less than the to measure the event is added as expected and the attributes are populated by an attribute rule.
However, in some cases the workorder will be created where the from measure will be higher that the to measure. This creates a problem as Roads and Highways throws an error as the measures are out of order.
I have tried to have the attribute rule swap the measures, but it fails. I suspect it fails because Roads and Highways validates the event measures before the attribute rule is triggered.
So I'm looking for suggestions on how I can get the second method of adding a workorder to work.
Regards