<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting a restriction on a network in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568261#M5477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi thanks for this,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I'm using ArcGIS 10 on a Windows 7 paltform.&amp;nbsp; I'd seen this tutorial, and kind of followed it.&amp;nbsp; I'm trying to do something much simpler, I'm really building a pedestrian network and simply want to exlude roads that pedestrians have not access to.&amp;nbsp; I finally got a workaround using hierarchy.&amp;nbsp; All my hierarchy =1 roads happened to be ones that pedestrians could not use, and I managed to set up an exlusion for these using a function in the evaluator based on this that excluded them and this seems to work on route solvers now - I'm still not clear about how my original approach did not work though.&amp;nbsp; I now have a different and more serious problem with my network - I'll post a separate shout out for help on this, as I think this is about connectivity rather than restrictions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2012 09:11:59 GMT</pubDate>
    <dc:creator>GavinRudge</dc:creator>
    <dc:date>2012-11-19T09:11:59Z</dc:date>
    <item>
      <title>Setting a restriction on a network</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568259#M5475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a road link with a field called DescTerm which contains a string descriptor of the type of road.&amp;nbsp; I want to create a restriction which excludes the use of motorways in my nearest facility and service area calculations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using catalog I went into the properties of the network dataset, in the attributes tab created a new restriction. In the evaluators I used the following syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;restricted = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If [DescTerm]="Motorway" Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;restricted = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End If&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I entered restricted in the value box. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I rebuilt the data set, brought it into a new map and set up a couple of points to create a route.&amp;nbsp; The name of the restriction&amp;nbsp; appeared already ticked in the restrictions portion of the analysis settings window of the network properties, so assumed everything was working OK, but my routes will not avoid the motorways.&amp;nbsp; Can anyone tell me where I went wrong. Also when I use identify to select a section of a restricted road I see that the along property is traversable and only the against is restricted.&amp;nbsp; I set the same evaluator for the from/to road links as the to/from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions for how to get this restriction working properly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gavin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 18:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568259#M5475</guid>
      <dc:creator>GavinRudge</dc:creator>
      <dc:date>2012-11-18T18:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a restriction on a network</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568260#M5476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,Which version of arcgis are you using? Please refer this for 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0047000001s5000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0047000001s5000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 01:52:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568260#M5476</guid>
      <dc:creator>RamB</dc:creator>
      <dc:date>2012-11-19T01:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a restriction on a network</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568261#M5477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi thanks for this,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I'm using ArcGIS 10 on a Windows 7 paltform.&amp;nbsp; I'd seen this tutorial, and kind of followed it.&amp;nbsp; I'm trying to do something much simpler, I'm really building a pedestrian network and simply want to exlude roads that pedestrians have not access to.&amp;nbsp; I finally got a workaround using hierarchy.&amp;nbsp; All my hierarchy =1 roads happened to be ones that pedestrians could not use, and I managed to set up an exlusion for these using a function in the evaluator based on this that excluded them and this seems to work on route solvers now - I'm still not clear about how my original approach did not work though.&amp;nbsp; I now have a different and more serious problem with my network - I'll post a separate shout out for help on this, as I think this is about connectivity rather than restrictions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 09:11:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/setting-a-restriction-on-a-network/m-p/568261#M5477</guid>
      <dc:creator>GavinRudge</dc:creator>
      <dc:date>2012-11-19T09:11:59Z</dc:date>
    </item>
  </channel>
</rss>

