Select to view content in your preferred language

Create a Network Cost based on a segment calculated score

70
1
2 weeks ago
JWest1
by
New Contributor II

I have a network dataset and it has a field that has been calculated from various attributes to generate a segment score from 0 - 1. I need to use this as a network cost to generate routing solutions but am unable to figure out how to get the Network Dataset Properties to find and utilize the attribute field in the costs or restrictions menus.

 

0 Kudos
1 Reply
JaySandhu
Esri Regular Contributor

Perhaps the best way to start is to run through the tutorial for creating network dataset here:

Create a network dataset—ArcGIS Pro | Documentation

Say you have a field called segment_score You will need to add a cost attribute called something like segment_cost and then set it to a field script of type python with the result value being !segment_score!

Hope that helps.

Jay Sandhu

0 Kudos