<?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 ArcGIS API for Python and Credit Usage/Best Practices in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-api-for-python-and-credit-usage-best/m-p/770239#M658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to using the ArcGIS API for Python and starting to experiment with some of its capabilities. My concern is the number of credits I might consume and best practices for avoiding credit usage if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I am creating feature layers in which some of the fields will be populated using ESRI Field Apps (Collector for ArcGIS/Survey123). After each survey, I need a script to run and calculate values for other fields based on the survey data. The feature layers are currently stored in AGOL but I learned field calculator definitions are not saved so my alternative was to prepare a script to run after each survey. In addition to calculating fields, I also need to intersect the survey points with two other feature layers and populate those values in the table. I see the overlay uses credits, is there a way to get around this such as having output saved to a view similar to the join tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best practice 1 or 2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1)&amp;nbsp; Use the ArcGIS API for Python to download survey data after each survey and then run script for all calculations and intersect locally with 0 credit usage? Upload/append survey records to hosted feature layer with post-processed survey results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2)&amp;nbsp; Create a script using the ArcGIS API for Python to run all field calculations including intersect on survey data but with zero credit usage (is this possible?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 22:27:48 GMT</pubDate>
    <dc:creator>kmsmikrud</dc:creator>
    <dc:date>2020-02-03T22:27:48Z</dc:date>
    <item>
      <title>ArcGIS API for Python and Credit Usage/Best Practices</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-api-for-python-and-credit-usage-best/m-p/770239#M658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to using the ArcGIS API for Python and starting to experiment with some of its capabilities. My concern is the number of credits I might consume and best practices for avoiding credit usage if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I am creating feature layers in which some of the fields will be populated using ESRI Field Apps (Collector for ArcGIS/Survey123). After each survey, I need a script to run and calculate values for other fields based on the survey data. The feature layers are currently stored in AGOL but I learned field calculator definitions are not saved so my alternative was to prepare a script to run after each survey. In addition to calculating fields, I also need to intersect the survey points with two other feature layers and populate those values in the table. I see the overlay uses credits, is there a way to get around this such as having output saved to a view similar to the join tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best practice 1 or 2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1)&amp;nbsp; Use the ArcGIS API for Python to download survey data after each survey and then run script for all calculations and intersect locally with 0 credit usage? Upload/append survey records to hosted feature layer with post-processed survey results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2)&amp;nbsp; Create a script using the ArcGIS API for Python to run all field calculations including intersect on survey data but with zero credit usage (is this possible?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 22:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-api-for-python-and-credit-usage-best/m-p/770239#M658</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2020-02-03T22:27:48Z</dc:date>
    </item>
  </channel>
</rss>

