<?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 Implementation of script for bus waiting stops in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/implementation-of-script-for-bus-waiting-stops/m-p/578811#M5544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to add waiting time in bus stops in several ways (elevation fields, sub-segments, etc), but nothing worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now trying to use this script I've found in Internet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (SourceID of turn's FromEdge is equal to pedestrian feature class SourceID) and (SourceID of turn's ToEdge is equal to bus route feature class SourceID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add delay of x time to cost&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add delay of 0 time to cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this script works to add the waiting time in bus stops from streets to bus lines, that's what I want. But I don't know what should I substitute in that script from what I've got.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have these tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Streets &lt;A href="http://gyazo.com/c5ff76ab62dd137d14ff7cfcff3f464e" title="http://gyazo.com/c5ff76ab62dd137d14ff7cfcff3f464e"&gt;Gyazo - c5ff76ab62dd137d14ff7cfcff3f464e.png&lt;/A&gt;&amp;nbsp; (a_29 is the time I want to use for people walking)&lt;/P&gt;&lt;P&gt;Bus lines &lt;A href="http://t.co/UDkbw53pe3" title="http://t.co/UDkbw53pe3"&gt;Gyazo - ec68559edcb5f413ebc2be157754a545.png&lt;/A&gt;&amp;nbsp; (there are 12 bus lines. This capture is from 1 of them)&lt;/P&gt;&lt;P&gt;Bus stops &lt;A href="http://t.co/Nbsubfdw9c" title="http://t.co/Nbsubfdw9c"&gt;Gyazo - 77f6f7e5f995d79cff8158527f710bc9.png&lt;/A&gt;&amp;nbsp; (same, I have 12 bus stops layers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose also that script is in Bus stops time parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2015 19:40:59 GMT</pubDate>
    <dc:creator>Osorio_ArjonaJoaquín</dc:creator>
    <dc:date>2015-06-23T19:40:59Z</dc:date>
    <item>
      <title>Implementation of script for bus waiting stops</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/implementation-of-script-for-bus-waiting-stops/m-p/578811#M5544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to add waiting time in bus stops in several ways (elevation fields, sub-segments, etc), but nothing worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now trying to use this script I've found in Internet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (SourceID of turn's FromEdge is equal to pedestrian feature class SourceID) and (SourceID of turn's ToEdge is equal to bus route feature class SourceID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add delay of x time to cost&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add delay of 0 time to cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this script works to add the waiting time in bus stops from streets to bus lines, that's what I want. But I don't know what should I substitute in that script from what I've got.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have these tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Streets &lt;A href="http://gyazo.com/c5ff76ab62dd137d14ff7cfcff3f464e" title="http://gyazo.com/c5ff76ab62dd137d14ff7cfcff3f464e"&gt;Gyazo - c5ff76ab62dd137d14ff7cfcff3f464e.png&lt;/A&gt;&amp;nbsp; (a_29 is the time I want to use for people walking)&lt;/P&gt;&lt;P&gt;Bus lines &lt;A href="http://t.co/UDkbw53pe3" title="http://t.co/UDkbw53pe3"&gt;Gyazo - ec68559edcb5f413ebc2be157754a545.png&lt;/A&gt;&amp;nbsp; (there are 12 bus lines. This capture is from 1 of them)&lt;/P&gt;&lt;P&gt;Bus stops &lt;A href="http://t.co/Nbsubfdw9c" title="http://t.co/Nbsubfdw9c"&gt;Gyazo - 77f6f7e5f995d79cff8158527f710bc9.png&lt;/A&gt;&amp;nbsp; (same, I have 12 bus stops layers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose also that script is in Bus stops time parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 19:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/implementation-of-script-for-bus-waiting-stops/m-p/578811#M5544</guid>
      <dc:creator>Osorio_ArjonaJoaquín</dc:creator>
      <dc:date>2015-06-23T19:40:59Z</dc:date>
    </item>
  </channel>
</rss>

