<?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 Updating attributes of a feature layer in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/updating-attributes-of-a-feature-layer/m-p/802464#M2098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing code to update attributes of ArcGIS Online feature layers using local data, arcgis online data or arcgis server data. I have been mostly successful using either edit_feature with updates (very slow) or calculate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I'm adding/moving polygon attributes to points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate is much faster, but when processing a lot of features (looping) it tends to time out. Also, calculate you have to be aware of special characters that sql doesn't like and escape them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just wondering if anyone has different approaches to this. I have started looking into join_features, but haven't written anything yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2019 20:25:10 GMT</pubDate>
    <dc:creator>RobertMEIER</dc:creator>
    <dc:date>2019-03-18T20:25:10Z</dc:date>
    <item>
      <title>Updating attributes of a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/updating-attributes-of-a-feature-layer/m-p/802464#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing code to update attributes of ArcGIS Online feature layers using local data, arcgis online data or arcgis server data. I have been mostly successful using either edit_feature with updates (very slow) or calculate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I'm adding/moving polygon attributes to points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate is much faster, but when processing a lot of features (looping) it tends to time out. Also, calculate you have to be aware of special characters that sql doesn't like and escape them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just wondering if anyone has different approaches to this. I have started looking into join_features, but haven't written anything yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/updating-attributes-of-a-feature-layer/m-p/802464#M2098</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2019-03-18T20:25:10Z</dc:date>
    </item>
  </channel>
</rss>

