HowTo:  Set up a restriction attribute for vehicle height in Network Analyst

相关信息
Article ID: 40781
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS for Desktop Advanced 10.1
Platforms:
Windows Windows 8

问题描述
The instructions provided describe how to set up a restriction attribute for vehicle height in Network Analyst. Restrictions can be identified for particular elements such that, during an analysis, traversing restricted elements is prohibited entirely, avoided, or even preferred.

It is possible to turn restrictions on and off at solve time using check boxes. Furthermore, a restriction can be checked but only truly restrict the element if a value entered at solve time fits certain criteria. For example, if a vehicle currently being routed is over a given weight, the weight restriction can be checked, vehicle's weight entered, a solve is run and Network Analyst finds the best route that excludes roads where the weight limit would be exceeded.

In all cases, a restriction attribute is defined using a Boolean data type such that each network element either has the restriction (the Boolean value evaluates to true) or doesn't have the restriction (the Boolean value evaluates to false).

已邀请:

EsriSupport

赞同来自:

解决方案
Follow the steps below to setup a restriction attribute specific to vehicle height. A network has certain attributes that may not allow for travel on certain segments of road, for example, vehicle height, weight, length, and so forth.
  1. Add a field to the streets.
  2. Populate each field, via an edit session or the Field Calculator, with the value that is the maximum height for roads with a low overpass. The maximum height is 10.
  3. Once all the fields are populated, right-click the Network Dataset in ArcCatalog and select Build.
  4. Right-click Network Dataset again and select > Properties > Attributes.
  5. Add a new attribute and name it MaxHeight. Change the Usage Type to Descriptor. Click the Units drop-down arrow and select the correct units.
  6. Double-click the new attribute and select both the street edge elements.
  7. Right-click and select Type > Field.
  8. Right-click again and select Value > MAXHEIGHT.
  9. Add a new attribute. Name it HeightRestriction. Set the Usage Type to Restriction.
  10. Right-click the newly added attribute, select Parameters > Add. Name the parameter Vehicle Height. This parameter is in the solver when the height of the vehicle is input.
  11. Right-click the HeightRestriction attribute again and select Evaluators.
  12. Select both the street edge elements, right-click and select Type > Function.
  13. Select both the street elements again, right-click and select Value > Properties.
  14. This brings up a dialog box. In the dialog, set MaxHeight for the Attribute or Constant field (the attribute on the road) and set Vehicle Height for the Parameter or Constant field (the manually input parameter). Click the Operator drop-down arrow and select the 'less than' symbol (<). This restricts the segment of road where the vehicle height is higher than the MaxHeight value for that street segment.
  15. Click Apply > OK. This rebuilds the network dataset. When solving, make sure to check the HeightRestriction attribute and input the vehicle height under the Attribute Parameters tab.
     If the vehicle height is greater than the value input in Step 2 for a road segment, the route cannot solve for that road.

     The maximum height attribute for the roads is 10. It does not solve along the shortest path because it violates the vehicle height restriction.

 If the value of the vehicle height is below the maximum height specified for the road, it solves along that road segment.

This is because the value does not violate the vehicle height restriction.


其它相关参考
  1. Understanding network attributes
  2. Network Elements
  3. Prepare data for use with the Network Analyst extensionInstructions provide a tutorial (data provided) with the steps for cleaning up data and adding new fields used by Network Analyst.


创建及修改时间
Created: 12/27/2012

Last Modified: 2/25/2015
原文链接
http://support.esri.com/en/kno ... 40781

要回复问题请先登录注册