<?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 How to access feature collection in notebooks in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/how-to-access-feature-collection-in-notebooks/m-p/1089628#M348</link>
    <description>&lt;P&gt;I am a newbie to notebooks and I am trying to write a program which uses aggregation to find out how many points are within a polygon and append that information to a field in the same polygon.&amp;nbsp; I used the aggregate points function and used it without "output_name" parameter. It ran successfully and returned a feature collection. Now, I have no clue on how to access the feature collection. Screenshot is attached. I would appreciate any help.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 15:43:53 GMT</pubDate>
    <dc:creator>Anish_Adhikari</dc:creator>
    <dc:date>2021-08-17T15:43:53Z</dc:date>
    <item>
      <title>How to access feature collection in notebooks</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/how-to-access-feature-collection-in-notebooks/m-p/1089628#M348</link>
      <description>&lt;P&gt;I am a newbie to notebooks and I am trying to write a program which uses aggregation to find out how many points are within a polygon and append that information to a field in the same polygon.&amp;nbsp; I used the aggregate points function and used it without "output_name" parameter. It ran successfully and returned a feature collection. Now, I have no clue on how to access the feature collection. Screenshot is attached. I would appreciate any help.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 15:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/how-to-access-feature-collection-in-notebooks/m-p/1089628#M348</guid>
      <dc:creator>Anish_Adhikari</dc:creator>
      <dc:date>2021-08-17T15:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to access feature collection in notebooks</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/how-to-access-feature-collection-in-notebooks/m-p/1095459#M371</link>
      <description>&lt;P&gt;Hi Anish!&lt;/P&gt;&lt;P&gt;You can add the result to a map widget for visualization–&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;m = gis.map()&lt;BR /&gt;m&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;m.add_layer(auditcountmru)&lt;/P&gt;&lt;P&gt;You can also convert the output to a Spatially Enabled DataFrame–&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;import pandas as pd&lt;BR /&gt;auditcountmru_sedf = pd.DataFrame.spatial.from_layer(auditcountmru.layers[0])&lt;/P&gt;&lt;P&gt;Here is a sample notebook that might be helpful!&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=72b8bd5c398e4eaa97cf2e58659ff489" target="_self"&gt;Data Summarization: Construction permits, part 2/2&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please let me know if that works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lingtao&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 21:31:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/how-to-access-feature-collection-in-notebooks/m-p/1095459#M371</guid>
      <dc:creator>xlt208</dc:creator>
      <dc:date>2021-09-03T21:31:36Z</dc:date>
    </item>
  </channel>
</rss>

