<?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: How to set more than one cost attributes in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415025#M8703</link>
    <description>&lt;P&gt;I'm sorry to revive this thread but I had a question about public transit tutorial. For my closest facility solver, all of the values of total_walktime are null, when total_publictransittime has non-null values. Does total_publictransittime include the walk time? Or is the fact that the total_walktime is null means that it did not correctly calculate and incorporate walk time? Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 21:22:15 GMT</pubDate>
    <dc:creator>MarcusB9999</dc:creator>
    <dc:date>2024-04-24T21:22:15Z</dc:date>
    <item>
      <title>How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254573#M2537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using arcpy.na.solve to find the best transit route using network converted from GTFS data.&amp;nbsp; I need two cost attributes to be combined: public transit time and walk time. How should I set up the travel mode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I use for public transit only (which works fine):&lt;/P&gt;&lt;P&gt;travel_mode = "Public transit time"&lt;/P&gt;&lt;P&gt;arcpy.na.MakeRouteAnalysisLayer('TransitNetwork_ND','Route',travel_mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:43:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254573#M2537</guid>
      <dc:creator>jianhedu</dc:creator>
      <dc:date>2019-12-17T21:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254574#M2538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jane.&amp;nbsp; What do you mean by you "need two cost attributes to be combined"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you created your network dataset using the template provided with the tutorial in the ArcGIS Pro documentation, then the "Public transit time"&amp;nbsp;travel mode is already configured to calculate walk time along streets and transit time along transit lines.&amp;nbsp; When you solve a network analysis problem (like a Route) using "Public transit time" as the travel mode, it finds the optimal solution by considering the time it takes to walk along streets and ride public transit.&amp;nbsp; You don't need to configure anything specific.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 01:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254574#M2538</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2019-12-18T01:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254575#M2539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying, Melinda.&amp;nbsp; My analysis needs to separate the walking time and the transit time on train/bus.&amp;nbsp; And due to the size of my data, I need to use Python command to do the Network Analysis instead of clicking on buttons on the menu.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tested the menu options (so that I can create my arcPy commend accordingly), I found that the output route file only provides values for "Total_PublicTransitTime" if I choose "Mode: Public trasnit time " in the "Travel Settings" banner in the Network Analysis.&amp;nbsp; The output column "Total_walktime" will be "null". However, if I clicked on the blue&lt;/P&gt;&lt;P&gt;sum sign and check both "PublicTransitTime" and "WalkTime", the output file will give me the walk time I need. Is there anyway to include this option into the python command?&amp;nbsp;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/476500_pastedImage_1.png" /&gt;&amp;nbsp;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/476504_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254575#M2539</guid>
      <dc:creator>jianhedu</dc:creator>
      <dc:date>2019-12-18T14:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254576#M2540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to generate values for "wait time", "walk time" and "transit time" separately?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 16:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254576#M2540</guid>
      <dc:creator>jianhedu</dc:creator>
      <dc:date>2019-12-18T16:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254577#M2541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you create your Route layer in python, use the accumulate_attributes parameter to accumulate the WalkTime attribute.&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/network-analyst/make-route-analysis-layer.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/network-analyst/make-route-analysis-layer.htm"&gt;Make Route Analysis Layer—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that the Total_PublicTransitTime will include the walking time, so to get the transit+wait time, subtract off the Total_WalkTime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 22:39:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254577#M2541</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2019-12-19T22:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254578#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, there is not currently a way to separate the wait time from the transit time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 22:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254578#M2542</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2019-12-19T22:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254579#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2019 12:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/254579#M2543</guid>
      <dc:creator>jianhedu</dc:creator>
      <dc:date>2019-12-20T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415025#M8703</link>
      <description>&lt;P&gt;I'm sorry to revive this thread but I had a question about public transit tutorial. For my closest facility solver, all of the values of total_walktime are null, when total_publictransittime has non-null values. Does total_publictransittime include the walk time? Or is the fact that the total_walktime is null means that it did not correctly calculate and incorporate walk time? Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 21:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415025#M8703</guid>
      <dc:creator>MarcusB9999</dc:creator>
      <dc:date>2024-04-24T21:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415037#M8704</link>
      <description>&lt;P&gt;Assuming you have configured your PublicTransitTime cost attribute according to our tutorials and/or used our network dataset template, then solving using this cost attribute works as follows: the travel time along public transit edges in the network uses the transit schedules and models riding transit, and the travel time along street edges in the network uses walking time along those streets.&amp;nbsp; So, solving using PublicTransitTime is a complete solution to model a traveler who can take transit but must walk along streets to get from their initial location to transit stop, make transfers between stops, and get from the final transit stop to their destination.&amp;nbsp; You don't need to add anything else to the analysis to make it correctly model walking when not using transit.&lt;/P&gt;&lt;P&gt;The WalkTime cost attribute is a completely separate cost attribute that is configured in our template primarily to support accumulation.&amp;nbsp; If you set this as an Accumulate Attribute, it will tell you how much travel time was walking because it returns the walk time value along streets and returns 0 for transit lines.&amp;nbsp; You can read about Accumulate Attributes in &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/closest-facility-analysis-layer.htm" target="_self"&gt;this documentation page&lt;/A&gt; for closest facility layers (it's a long page, so search for "Accumulate Cost Attributes".)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 21:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415037#M8704</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2024-04-24T21:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to set more than one cost attributes</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415041#M8705</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 21:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/how-to-set-more-than-one-cost-attributes/m-p/1415041#M8705</guid>
      <dc:creator>MarcusB9999</dc:creator>
      <dc:date>2024-04-24T21:46:27Z</dc:date>
    </item>
  </channel>
</rss>

