<?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: Error with calculating time lapse polygons in Public Transit Questions</title>
    <link>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104411#M495</link>
    <description>&lt;P&gt;The addFields() method was added to the arcpy.nax solver objects in ArcGIS Pro 2.7, so that's why you're seeing an error in 2.6.3.&lt;/P&gt;&lt;P&gt;The best solution is for you to update your software to the latest (Pro 2.8.2), or at least 2.7, if you're able.&lt;/P&gt;&lt;P&gt;The alternative solution is to fall back to the older, slower ArcMap version of these tools:&amp;nbsp;&lt;A href="https://arcg.is/1u8WKS" target="_blank"&gt;https://arcg.is/1u8WKS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2021 15:01:38 GMT</pubDate>
    <dc:creator>MelindaMorang</dc:creator>
    <dc:date>2021-10-04T15:01:38Z</dc:date>
    <item>
      <title>Error with calculating time lapse polygons</title>
      <link>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104363#M494</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;I'm trying to run the Prepare Time Lapse Polygons tool to create a bunch of service areas from my public transit-enabled network data set but I receive the following error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Failed to get Service Area result from parallel processing.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;concurrent.futures.process._RemoteTraceback:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;"""&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\concurrent\futures\process.py", line 175, in _process_worker&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;r = call_item.fn(*call_item.args, **call_item.kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;File "C:\Users\corrag\OneDrive - Tyrens Group\Dokument\GIS-grundata\_ArcToolboxes\TransitNetworkAnalysisTools\TransitNetworkAnalysisTools_0.5.1\parallel_sa.py", line 401, in solve_service_area&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;sa.solve(time_of_day)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;File "C:\&lt;EM&gt;...\...&lt;/EM&gt;\_ArcToolboxes\TransitNetworkAnalysisTools\TransitNetworkAnalysisTools_0.5.1\parallel_sa.py", line 285, in solve&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;self.sa_solver.addFields(arcpy.nax.ServiceAreaInputDataType.Facilities, field_defs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;AttributeError: 'ServiceArea' object has no attribute 'addFields'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;"""&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;The above exception was the direct cause of the following exception:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;File "C:\&lt;EM&gt;...\...&lt;/EM&gt;\_ArcToolboxes\TransitNetworkAnalysisTools\TransitNetworkAnalysisTools_0.5.1\parallel_sa.py", line 529, in solve_sa_in_parallel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;result = future.result()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\concurrent\futures\_base.py", line 425, in result&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;return self.__get_result()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\concurrent\futures\_base.py", line 384, in __get_result&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;raise self._exception&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;AttributeError: 'ServiceArea' object has no attribute 'addFields'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Service Area script failed.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Failed to execute (PrepareTimeLapsePolygons).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Based on the messages this happens right after the tool calculates the first set of service areas:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;Solving Service Areas in parallel...&lt;/PRE&gt;&lt;PRE&gt;Finished Service Area calculation 1 of 24.&lt;/PRE&gt;&lt;P&gt;I am able to use the Calculate Accessibility Matrix and Calculate Travel Time Statistics tools without error, and the built-in Service Area tool in ArcGIS Pro also works for me. I am running ArcGIS Pro 2.6.3.&lt;/P&gt;&lt;P&gt;Here are the input parameters that I've used:&lt;/P&gt;&lt;P&gt;Facilities t_central_hpl&lt;BR /&gt;Output Time Lapse Polygons C:\...\...\Default.gdb\t_central_hpl_PrepareTimeLapsePolygons&lt;BR /&gt;Network Data Source ND_316518_Ostgotatrafiken&lt;BR /&gt;Travel Mode PublicTransport&lt;BR /&gt;Cutoff Times 15;30;45&lt;BR /&gt;Cutoff Time Units Minutes&lt;BR /&gt;Start Day (Weekday or YYYYMMDD date) 20211115&lt;BR /&gt;Start Time (HH:MM) (24 hour time) 07:00&lt;BR /&gt;End Day (Weekday or YYYYMMDD date) 20211115&lt;BR /&gt;End Time (HH:MM) (24 hour time) 08:55&lt;BR /&gt;Time Increment (minutes) 5&lt;BR /&gt;Travel Direction Toward Facilities&lt;BR /&gt;Geometry At Cutoff Disks&lt;BR /&gt;Geometry At Overlap Overlap&lt;BR /&gt;Maximum Number of Parallel Processes 4&lt;BR /&gt;Barriers&lt;BR /&gt;Precalculate Network Locations true&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/101257"&gt;@MelindaMorang&lt;/a&gt;&amp;nbsp; do you have any idea what I can do to fix this, or any other information that would be useful for you to diagnose the problem?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 11:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104363#M494</guid>
      <dc:creator>corrag</dc:creator>
      <dc:date>2021-10-04T11:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error with calculating time lapse polygons</title>
      <link>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104411#M495</link>
      <description>&lt;P&gt;The addFields() method was added to the arcpy.nax solver objects in ArcGIS Pro 2.7, so that's why you're seeing an error in 2.6.3.&lt;/P&gt;&lt;P&gt;The best solution is for you to update your software to the latest (Pro 2.8.2), or at least 2.7, if you're able.&lt;/P&gt;&lt;P&gt;The alternative solution is to fall back to the older, slower ArcMap version of these tools:&amp;nbsp;&lt;A href="https://arcg.is/1u8WKS" target="_blank"&gt;https://arcg.is/1u8WKS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 15:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104411#M495</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2021-10-04T15:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error with calculating time lapse polygons</title>
      <link>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104684#M496</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/101257"&gt;@MelindaMorang&lt;/a&gt;&amp;nbsp;! Thanks for confirming that this has to do with the version of ArcGIS Pro I'm running and not some other problem with my data set. I'll see if it's possible for me to upgrade to a newer version of ArcGIS Pro.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 09:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/public-transit-questions/error-with-calculating-time-lapse-polygons/m-p/1104684#M496</guid>
      <dc:creator>corrag</dc:creator>
      <dc:date>2021-10-05T09:35:41Z</dc:date>
    </item>
  </channel>
</rss>

