Hi
You know there is Shape_Length field with the length of line features, which is calculated automatically.
I basically want to make my FT/TF_Minutes fields doing smth like the same - i ve got also Speedlimit field with km/hour, so the question is if it is pissible to calculate FT/TF_Minutes automatically everytime i change Speedlimit or Create new obj and so on.
The expressions seems to look like this:
FT_MINUTES
[SHAPE_Length] * 60 / ([Spdlimit_F] * 1000)
TF_MINUTES
[SHAPE_Length] * 60 / ([Spdlimit_B] * 1000
but i have no idea where can i put it. First i thought about Default Value in Feature Class properties, but it didnt work.
So i started my topic here cause its related to Network Analyst...
Thanks
You know there is Shape_Length field with the length of line features, which is calculated automatically.
I basically want to make my FT/TF_Minutes fields doing smth like the same - i ve got also Speedlimit field with km/hour, so the question is if it is pissible to calculate FT/TF_Minutes automatically everytime i change Speedlimit or Create new obj and so on.
The expressions seems to look like this:
FT_MINUTES
[SHAPE_Length] * 60 / ([Spdlimit_F] * 1000)
TF_MINUTES
[SHAPE_Length] * 60 / ([Spdlimit_B] * 1000
but i have no idea where can i put it. First i thought about Default Value in Feature Class properties, but it didnt work.
So i started my topic here cause its related to Network Analyst...
Thanks
If you want the calculations to be part of the feature (or shapefile), you can create the fields the use the field calculator to fill them in. If you just want it in the network dataset, you add them when you get to the network attributes. Look at #23 and 24 in the Network Analyst tutorial, Exercise 1: http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000005t000000).
I don't know if the calculations/evaluators are dynamic - you might need to rebuild the network (one step with the toolbox) or recalculate the fields (if you make them part of the feature.)