[GIS] Hierarchy not working in network analyst

arcgis-desktopNetworknetwork-analystrouting

I have created a simple network to test hierarchy. But apparently I am missing something.
I have created an attribute for my roads called hierarchy and given it values of 1 to 3. The network is set to use Hierarchy but it is apparently going through the shortest route not the hierarchy.

I am including a photo.

The red and yellow lines : hierarchy 1
The green lines: hierarchy level 2
the orange line: Hierarchy level 3

So in my photo I would imagine to go from point 1 to 2 , it should go through the red or yellow path but it goes through the orange with hierarchy 3. Am I missing something?enter image description hereenter image description hereenter image description here

! enter image description here

Best Answer

Have you followed the guidelines on these pages?

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//004700000057000000

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//004700000020000000

"Using hierarchy by default

As long as the network dataset has a hierarchy attribute, you can set any network analysis layer you create to use the hierarchy by default. To change this setting, start ArcCatalog and open the Network Dataset Properties dialog box. Click the Attributes tab, right-click the hierarchy network attribute, then click Use By Default. You can also choose to enable hierarchies in ArcMap for each network analysis layer that you add by following these steps: open the Layer Properties dialog box for your network analysis layer, click the Analysis Settings tab, then click Use Hierarchy. Alternatively, you can perform a normal analysis by unchecking Use Hierarchy. Changing hierarchy ranges

To adjust the ranges that define the hierarchy attribute, see Modifying network attributes. Keep in mind, however, that if your network dataset is read-only, you won't be able to change the hierarchy ranges."

enter image description here

enter image description here

enter image description here

Here is what I am giving you: enter image description here

Related Question