<?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 Automatic Update layer via Google Docs in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1055937#M43315</link>
    <description>&lt;P&gt;Hello all. Here is my scenario. In integromat I am:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;calling a Geojson API&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;converting data to a csv (the Geojson layer kept assigning a number field to a string hence with a csv upload I had control over the field type)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;updating the original csv file in google docs&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;said google doc is what created the feature layer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to auto append or auto overwrite the table without doing it manually in the content viewer for said layer? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FireRidge&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 08 May 2021 03:56:02 GMT</pubDate>
    <dc:creator>FireRidge</dc:creator>
    <dc:date>2021-05-08T03:56:02Z</dc:date>
    <item>
      <title>Automatic Update layer via Google Docs</title>
      <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1055937#M43315</link>
      <description>&lt;P&gt;Hello all. Here is my scenario. In integromat I am:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;calling a Geojson API&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;converting data to a csv (the Geojson layer kept assigning a number field to a string hence with a csv upload I had control over the field type)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;updating the original csv file in google docs&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;said google doc is what created the feature layer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to auto append or auto overwrite the table without doing it manually in the content viewer for said layer? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FireRidge&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 03:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1055937#M43315</guid>
      <dc:creator>FireRidge</dc:creator>
      <dc:date>2021-05-08T03:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update layer via Google Docs</title>
      <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1055979#M43316</link>
      <description>&lt;P&gt;There is an &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html#arcgis.features.managers.FeatureLayerCollectionManager.overwrite" target="_self"&gt;overwrite function&lt;/A&gt; in the Python API that will take a CSV as an input. A bit of python scripting can automate the process easily enough. It's important to note that when you add a Google Sheet to AGOL / Enterprise, all it's really doing is reading that spreadsheet as text, so if you have the CSV, you can eliminate the Google Docs step entirely.&lt;/P&gt;&lt;P&gt;Also, if your layer has a unique identifier field, you can use &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append" target="_self"&gt;append&lt;/A&gt; instead, which preserves existing settings and field types.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 14:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1055979#M43316</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-05-08T14:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update layer via Google Docs</title>
      <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056035#M43317</link>
      <description>&lt;P&gt;Thank you for the response. The csv has been a work around since the https geojson address I keep trying to add keeps giving me general error. Is there a way to clean up the geojson file (to make sure fields have the correct type) before I import nor overwrite layer?&amp;nbsp;&lt;BR /&gt;So far I can’t figure out why I keep getting an error when trying to import this geojson file —see below&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.fire.ca.gov/umbraco/api/IncidentApi/GeoJsonList?inactive=true&amp;amp;year=2021" target="_blank"&gt;https://www.fire.ca.gov/umbraco/api/IncidentApi/GeoJsonList?inactive=true&amp;amp;year=2021&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 14:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056035#M43317</guid>
      <dc:creator>FireRidge</dc:creator>
      <dc:date>2021-05-09T14:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update layer via Google Docs</title>
      <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056188#M43318</link>
      <description>&lt;P&gt;You can convert a GEOJON directly to a FeatureSet using &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.FeatureSet.from_geojson" target="_self"&gt;FeatureSet.from_geojson&lt;/A&gt;. From there, you can convert the FeatureSet to a &lt;A href="https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/" target="_self"&gt;Spatially Enabled DataFrame&lt;/A&gt;, which would let you control the field types prior to uploading / appending.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 13:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056188#M43318</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-05-10T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update layer via Google Docs</title>
      <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056410#M43319</link>
      <description>&lt;P&gt;Josh&lt;/P&gt;&lt;P&gt;You have been s super help with directing me towards a final solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to try and call&amp;nbsp;&lt;A href="https://www.fire.ca.gov/umbraco/api/IncidentApi/GeoJsonList?inactive=true&amp;amp;year=2021" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.fire.ca.gov/umbraco/api/IncidentApi/GeoJsonList?inactive=true&amp;amp;year=2021&lt;/A&gt;&lt;/P&gt;&lt;P&gt;within a google python function (https trigger)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I go down the rabbit hole ( i do not have experience with python) do you think it is possible to use the ArcGIS Python api in a google function to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;populate said geojson as a layer&lt;/LI&gt;&lt;LI&gt;Format said layer&lt;/LI&gt;&lt;LI&gt;overwrite said layer (with https trigger set on timer)&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Josh&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-10 at 1.04.40 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12992i390E42CBCE153F10/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-05-10 at 1.04.40 PM.png" alt="Screen Shot 2021-05-10 at 1.04.40 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 20:08:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056410#M43319</guid>
      <dc:creator>FireRidge</dc:creator>
      <dc:date>2021-05-10T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update layer via Google Docs</title>
      <link>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056413#M43320</link>
      <description>&lt;P&gt;I imagine you could. I have not used Google functions in ages, but I have seen users on here mention using it for certain tasks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 20:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatic-update-layer-via-google-docs/m-p/1056413#M43320</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-05-10T20:11:50Z</dc:date>
    </item>
  </channel>
</rss>

