The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
inverse cost barriers
Discussion created by
on Jul 27, 2011
on Jul 28, 2011 by mrice-esristaff
Show 0 Likes
Does anyone know if it is possible to set up polygon barriers such that they are a reward instead of to be avoided?
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jul 28, 2011 7:59 AM
Yes, this can be done. There are two types of polygon barriers: restricted polygon barriers and scaled polygon barriers. When you create your polygon barrier, you can open its properties (right-click the barrier in the Network Analyst Window and click 'Properties...') and see its associated field values. Make sure the 'BarrierType' field value is set to 'Scaled Cost'. Then, assuming you are solving on cost attribute X, set the 'Attr_X' field value to some positive value less than 1 (e.g., 0.25). This field value sets the scale factor applied to cost attribute X for all underlying network elements covered by the polygon. Setting this value less than 1 effectively causes the solvers to "prefer" these areas more than they would have normally. You can adjust the scale factor depending on how much you wish to prefer these polygon areas.
Show 0 Likes
Retrieving data ...
Invalid SSL certificate found. PKIX path building failed
Journal Story Map won't open esri.com
Custom spatial reference support
How to wait for MapView to Load?