Select to view content in your preferred language

Network analysis using restriction attributes

870
3
04-27-2023 06:56 AM
Labels (3)
1113
by
Emerging Contributor

Sorry for arcpro in Korean, not English. And I'm not sure if my English writing is correct. I would be grateful if you could understand my situation.

I want to analyze the network using restriction attributes.
I checked the URL below, but I don't know how to write the script.

https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/restriction-attributes.htm#ESRI_SECT...

I want to use vbscrpit.
[class1_re] is a text syntax, and I want to classify and use it as follows using attribute values.
The value of "1" is prefer (high), and I want to use this road with low risk in my research.
"2"is an avoid (low), moderate risk less preferred road than 1 and better than 3.

"3" is avoid (high), and it is set as high risk. I want to avoid this road as much as possible.

 

I want to set Parameters and Evaluator .

As shown in the figure below, in case of avoid(high), should [class1_re] = 3 be set in the field script of evluator?

Or do I need to modify the value of the parameter?

I tried referring to the URL below, but I don't know how to do it because there is no example.

https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/use-parameters-with-network-attribut...

https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/types-of-evaluators-used-by-a-networ...

If you have time, any help would be greatly appreciated.

 

그림1.png

0 Kudos
3 Replies
1113
by
Emerging Contributor

Or, was it wrong to plan in the same way as above?
Should I use cost attributes?

0 Kudos
1113
by
Emerging Contributor

It's not exact, but I set the name of the parameter to the field value, the type to text to fit the field, and I entered the default value of 3, which is the value I set as high risk.

In the case of the evaluator, it is not clear, but it is set as a field name such as edge or junction.

As a result of the analysis, high risk (setting: avoid (high)) was bypassed, and low risk (prefer (high) was analyzed.

If I've misunderstood, please tell me, I'd really appreciate it.

그림2.png

0 Kudos
1113
by
Emerging Contributor

wrong way..

0 Kudos