<?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: retrieveTravelModes returning travel modes not defined in my dataset in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/retrievetravelmodes-returning-travel-modes-not/m-p/236317#M2378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is resolved now and I would like to share the solution so i am answering my own question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried publishing multiple network datasets and the issue was same. This was causing an issue in configuring the directions widget in Web App Builder as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this is resolved now. I am using ArcGIS Portal and it turns out this was configured in portal settings. I have to remove the default settings of portal (Under Organization -&amp;gt; Utility Services -&amp;gt; Directions and Routing -&amp;gt; Routing Utilities URL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was overriding the travel modes which I published in my network service. Now when I removed this from our staging portal I am getting the correct travel modes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2019 06:31:04 GMT</pubDate>
    <dc:creator>MuhammadAli6</dc:creator>
    <dc:date>2019-10-01T06:31:04Z</dc:date>
    <item>
      <title>retrieveTravelModes returning travel modes not defined in my dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/retrievetravelmodes-returning-travel-modes-not/m-p/236316#M2377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am observing a very strange behavior. I have published a network service&amp;nbsp;on version 10.61.&lt;/P&gt;&lt;P&gt;When i click on&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;.../NAServer/Route/retrieveTravelModes?f=json&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get following travel modes which are not defined in my network data set.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Walking Time&lt;/LI&gt;&lt;LI&gt;Rural Driving Distance&lt;/LI&gt;&lt;LI&gt;Driving Time&lt;/LI&gt;&lt;LI&gt;Driving Distance&lt;/LI&gt;&lt;LI&gt;Walking Distance&lt;/LI&gt;&lt;LI&gt;Rural Driving Time&lt;/LI&gt;&lt;LI&gt;Trucking Time&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When i try to get travel mode on the same network data using&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arcpy.na.GetTravelModes&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get following travel modes which i defined in my network data set.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Avoid Planned Roads&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried publishing same network dataset twice on my server but i am observing the same behavior.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i am missing here ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 05:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/retrievetravelmodes-returning-travel-modes-not/m-p/236316#M2377</guid>
      <dc:creator>MuhammadAli6</dc:creator>
      <dc:date>2019-05-28T05:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: retrieveTravelModes returning travel modes not defined in my dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/retrievetravelmodes-returning-travel-modes-not/m-p/236317#M2378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is resolved now and I would like to share the solution so i am answering my own question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried publishing multiple network datasets and the issue was same. This was causing an issue in configuring the directions widget in Web App Builder as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this is resolved now. I am using ArcGIS Portal and it turns out this was configured in portal settings. I have to remove the default settings of portal (Under Organization -&amp;gt; Utility Services -&amp;gt; Directions and Routing -&amp;gt; Routing Utilities URL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was overriding the travel modes which I published in my network service. Now when I removed this from our staging portal I am getting the correct travel modes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/retrievetravelmodes-returning-travel-modes-not/m-p/236317#M2378</guid>
      <dc:creator>MuhammadAli6</dc:creator>
      <dc:date>2019-10-01T06:31:04Z</dc:date>
    </item>
  </channel>
</rss>

