After adding restriction attribute i have now two netwrok attributes
- Length (Cost)
- ActiveOnly (Restriction)
I put following code for that field. I have a status field in my source dataset which contains following values (Active, ACTIVE, Planned, , Constructed) I want to use all active roads for routing and want to make other roads non-traversable so i used following code:
Then i defined a travel mode "Car" and enabled the restriction attribute for it.
Problem is when i create a network this gets created and when i build the network i get following error.
When i checked the Build Errors file i am getting this
ObjectID: 1426, Network object evaluator error. ObjectID: 1425, Network object evaluator error.