<?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: Is it possible to count points in polygon and print out what each polygon contains in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069932#M25616</link>
    <description>&lt;LI-CODE lang="python"&gt;import arcpy, os

points = "merge_simplified_new"
polygons = "Intersect_5x5_reprojected"
out_table = "C:\Users\lcdc7\Desktop\ArcGIS\Output"

in_features = [points, polygons]
intersect_points = "in_memory/intersect_points" 
arcpy.analysis.Intersect(in_features, intersect_points)

fields = ["Grid_ID", "Name"]
point_data = [row for row in arcpy.da.SearchCursor(intersect_points , fields)]
grid_ids = list(set([p[0] for p in point_data]))

try:
    arcpy.management.Delete(out_table)
except:
    pass
arcpy.management.CreateTable(os.path.dirname(out_table), os.path.basename(out_table))
arcpy.management.AddField(out_table, "Grid_ID", "LONG")
arcpy.management.AddField(out_table, "Count", "LONG")
arcpy.management.AddField(out_table, "Name", "Text")


with arcpy.da.InsertCursor(out_table, ["Grid_ID", "Count", "Name"]) as cursor:
    for grid_id in grid_ids:
        names_in_polygon = [p[1] for p in point_data if p[0] == grid_id]
        count = len(names_in_polygon)
        unique_names = ", ".join(set(names_in_polygon))
        cursor.insertRow([grid_id, count, unique_names])&lt;/LI-CODE&gt;&lt;P&gt;p.s. This is the final code I use.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jun 2021 18:14:29 GMT</pubDate>
    <dc:creator>Cookie010103</dc:creator>
    <dc:date>2021-06-18T18:14:29Z</dc:date>
    <item>
      <title>Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069768#M25611</link>
      <description>&lt;DIV class="grid fw-wrap pb8 mb16 bb bc-black-075"&gt;&lt;DIV class="grid--cell ws-nowrap mb8"&gt;&lt;SPAN class="fc-light mr2"&gt;Viewed&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;9 times&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="question"&gt;&lt;DIV class="js-zone-container zone-container-main"&gt;&lt;DIV class="js-report-ad-button-container "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="post-layout"&gt;&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;0&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;Sorry for the weird title but here's my sample table for further description:&lt;/P&gt;&lt;P&gt;I have a original&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;point&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;layer:&lt;/P&gt;&lt;DIV class="s-table-container"&gt;&lt;BR /&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px" height="22px"&gt;ID&lt;/TD&gt;&lt;TD width="54.9574px" height="22px"&gt;Name&lt;/TD&gt;&lt;TD width="85.4119px" height="22px"&gt;X(latitude)&lt;/TD&gt;&lt;TD width="40px" height="22px"&gt;Y(longtitude)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="24px"&gt;ID1&lt;/TD&gt;&lt;TD width="54.9574px" height="24px"&gt;Dog&lt;/TD&gt;&lt;TD width="85.4119px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="40px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="24px"&gt;ID2&lt;/TD&gt;&lt;TD width="54.9574px" height="24px"&gt;Cat&lt;/TD&gt;&lt;TD width="85.4119px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="40px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="24px"&gt;ID3&lt;/TD&gt;&lt;TD width="54.9574px" height="24px"&gt;Bird&lt;/TD&gt;&lt;TD width="85.4119px" height="24px"&gt;B&lt;/TD&gt;&lt;TD width="40px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="24px"&gt;ID4&lt;/TD&gt;&lt;TD width="54.9574px" height="24px"&gt;Cat&lt;/TD&gt;&lt;TD width="85.4119px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="40px" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="24px"&gt;ID5&lt;/TD&gt;&lt;TD width="54.9574px" height="24px"&gt;Cat&lt;/TD&gt;&lt;TD width="85.4119px" height="24px"&gt;B&lt;/TD&gt;&lt;TD width="40px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="24px"&gt;ID6&lt;/TD&gt;&lt;TD width="54.9574px" height="24px"&gt;Dog&lt;/TD&gt;&lt;TD width="85.4119px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="40px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;Those points are inside a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;grid&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;layer, lets say 2x2 for instance, and the points are inside the grid. I'll try my best to demonstrate it in the follow table:&lt;/P&gt;&lt;DIV class="s-table-container"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;-&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;A&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;B&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;. . .&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(Three points, which are ID1, ID2, ID6)&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;. .&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(ID3, ID5)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(ID4)&lt;/TD&gt;&lt;TD&gt;(NULL)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;Next, I use the count_points_in_polygon functino and create a new layer, which by default adds a column NUM_POINT.&lt;/P&gt;&lt;DIV class="s-table-container"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="54.233px" height="24px"&gt;Grid_ID&amp;nbsp;&lt;/TD&gt;&lt;TD width="84.7017px" height="24px"&gt;NUM_POINT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="54.233px" height="24px"&gt;A1&lt;/TD&gt;&lt;TD width="84.7017px" height="24px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="54.233px" height="24px"&gt;A2&lt;/TD&gt;&lt;TD width="84.7017px" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="54.233px" height="24px"&gt;B1&lt;/TD&gt;&lt;TD width="84.7017px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="54.233px" height="24px"&gt;B2&lt;/TD&gt;&lt;TD width="84.7017px" height="24px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;But what I actually want is a table that shows which 'Name's are in each polygon, like the following table shows.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE width="500"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="184.361px"&gt;Grid_ID&lt;/TD&gt;&lt;TD width="163.324px"&gt;NUM_POINT&lt;/TD&gt;&lt;TD width="151.321px"&gt;&amp;nbsp;Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="184.361px" height="24px"&gt;A1&lt;/TD&gt;&lt;TD width="163.324px" height="24px"&gt;3&lt;/TD&gt;&lt;TD width="151.321px" height="24px"&gt;Dog, Cat&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="184.361px" height="24px"&gt;A2&lt;/TD&gt;&lt;TD width="163.324px" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="151.321px" height="24px"&gt;Dog&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="184.361px" height="27px"&gt;B1&lt;/TD&gt;&lt;TD width="163.324px" height="27px"&gt;2&lt;/TD&gt;&lt;TD width="151.321px" height="27px"&gt;Bird, Cat&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="184.361px" height="24px"&gt;B2&lt;/TD&gt;&lt;TD width="163.324px" height="24px"&gt;0&lt;/TD&gt;&lt;TD width="151.321px" height="24px"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any solution or keywords is much appriciated, thank you!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Jun 2021 10:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069768#M25611</guid>
      <dc:creator>Cookie010103</dc:creator>
      <dc:date>2021-06-18T10:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069779#M25612</link>
      <description>&lt;LI-CODE lang="python"&gt;import arcpy, os

points = "Point_layer_or_feature_class"
polygons = "Polygon_layer_or_feature_class"
out_table = "PathToOutputTable"

# Intersect points and polygons
in_features = [points, polygons]
intersect_points = "memory/intersect_points"  # this is for ArcGIS Pro
# intersect_points = "in_memory/intersect_points"  # this is for ArcMap
arcpy.analysis.Intersect(in_features, intersect_points)

# you now have a point feature class with the attributes of the original points and the attributes of the polygon the points are in.

# read the data into a list
fields = ["Grid_ID", "Name"]
point_data = [row for row in arcpy.da.SearchCursor(intersect_points , fields)]

# get the grid ids from the polygons
grid_ids = [row[0] for row in arcpy.da.SearchCursor(polygons, ["Grid_ID"])]
# if you don't care about polygons with 0 points in them, use this instead:
# grid_ids = list(set([p[0] for p in point_data]))

# create out_table
try:
    arcpy.management.Delete(out_table)
except:
    pass
arcpy.management.CreateTable(os.path.dirname(out_table), os.path.basename(out_table))
arcpy.management.AddField(out_table, "Grid_ID", "LONG")
arcpy.management.AddField(out_table, "Count", "LONG")
arcpy.management.AddField(out_table, "Name", "Text")

# for each grid_id, search point_data for all points with that grid_id, get the count and all names, write the result into out_table
with arcpy.da.InsertCursor(out_table, ["Grid_ID", "Count", "Name"]) as cursor:
    for grid_id in grid_ids:
        names_in_polygon = [p[1] for p in point_data if p[0] == grid_id]
        count = len(names_in_polygon)
        unique_names = ", ".join(set(names_in_polygon))
        cursor.insertRow([grid_id, count, unique_names])&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Jun 2021 11:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069779#M25612</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-06-18T11:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069794#M25613</link>
      <description>&lt;P&gt;I will try this soon, should this work in normal ArcGIS or Qgis? Anyways Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:09:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069794#M25613</guid>
      <dc:creator>Cookie010103</dc:creator>
      <dc:date>2021-06-18T13:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069795#M25614</link>
      <description>&lt;P&gt;This is for ArcGIS! Comment out line 9 or 10, depending on whether you work with ArcGIS Pro or ArcMap.&lt;/P&gt;&lt;P&gt;I'm very sure you could do something like that in QGIS, but I dont know how, as I don't work with QGIS.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:15:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069795#M25614</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-06-18T13:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069930#M25615</link>
      <description>&lt;P&gt;I must say I'm an absolute beginner to python in GIS, mostly using the default functions for analysis. During the process several problems occurred.&lt;/P&gt;&lt;P&gt;1. Assuming the 'PathToOutputTalbe' is a variable where the table should be generated, So I created an empty file for it, but I'm not so sure about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. It returns this error message, and generates almost a blank table as a result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Runtime error 
Traceback (most recent call last):
  File "&amp;lt;string&amp;gt;", line 30, in &amp;lt;module&amp;gt;
SystemError: error return without exception set&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Also, I might not be descriptive enough that the grid layer is actually a polygon, which should have its spacial value showed in the final result so I can visualize it on the map. In my case it's the 'left', 'right', 'top', 'bottom' column I assume.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I came up with the idea that can I simply generate 4 fields, but it didnt work as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.management.AddField(out_table, "Left", "FLOAT")
arcpy.management.AddField(out_table, "Right", "FLOAT")
arcpy.management.AddField(out_table, "Top", "FLOAT")
arcpy.management.AddField(out_table, "Bottom", "FLOAT")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;  At this point I might just post my original working table for your better understanding.&amp;nbsp; The desired result is that I can clink on a polygon, and read how many 'Names' are there in the selected polygon. Thank you and sorry for the dumb questions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16324iBAA0DB2C3B5B108D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16323i929F97CF70D18AD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 18:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069930#M25615</guid>
      <dc:creator>Cookie010103</dc:creator>
      <dc:date>2021-06-18T18:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069932#M25616</link>
      <description>&lt;LI-CODE lang="python"&gt;import arcpy, os

points = "merge_simplified_new"
polygons = "Intersect_5x5_reprojected"
out_table = "C:\Users\lcdc7\Desktop\ArcGIS\Output"

in_features = [points, polygons]
intersect_points = "in_memory/intersect_points" 
arcpy.analysis.Intersect(in_features, intersect_points)

fields = ["Grid_ID", "Name"]
point_data = [row for row in arcpy.da.SearchCursor(intersect_points , fields)]
grid_ids = list(set([p[0] for p in point_data]))

try:
    arcpy.management.Delete(out_table)
except:
    pass
arcpy.management.CreateTable(os.path.dirname(out_table), os.path.basename(out_table))
arcpy.management.AddField(out_table, "Grid_ID", "LONG")
arcpy.management.AddField(out_table, "Count", "LONG")
arcpy.management.AddField(out_table, "Name", "Text")


with arcpy.da.InsertCursor(out_table, ["Grid_ID", "Count", "Name"]) as cursor:
    for grid_id in grid_ids:
        names_in_polygon = [p[1] for p in point_data if p[0] == grid_id]
        count = len(names_in_polygon)
        unique_names = ", ".join(set(names_in_polygon))
        cursor.insertRow([grid_id, count, unique_names])&lt;/LI-CODE&gt;&lt;P&gt;p.s. This is the final code I use.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 18:14:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1069932#M25616</guid>
      <dc:creator>Cookie010103</dc:creator>
      <dc:date>2021-06-18T18:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1072087#M25627</link>
      <description>&lt;P&gt;Absolutely &lt;STRONG&gt;NO CODE&lt;/STRONG&gt; is required to answer this question just a little knowledge on the correct usage of the &lt;A href="https://desktop.arcgis.com/en/arcmap/10.6/tools/analysis-toolbox/spatial-join.htm" target="_self"&gt;SPATIAL JOIN&lt;/A&gt; tool.&lt;/P&gt;&lt;P&gt;The trick is to set the Merge rule to&amp;nbsp;&lt;STRONG&gt;JOIN&lt;/STRONG&gt; on your Name field in the field mapping as shown below. Also adjust field length as required.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_1-1624550463219.png" style="width: 751px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16866i28BF6245705FA90E/image-dimensions/751x445?v=v2" width="751" height="445" role="button" title="DuncanHornby_1-1624550463219.png" alt="DuncanHornby_1-1624550463219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The output is a new FeatureClass grid with join count and concatenation of values from your Name field, see example below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_2-1624550505311.png" style="width: 585px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16867i2A0F41DE52730527/image-dimensions/585x512?v=v2" width="585" height="512" role="button" title="DuncanHornby_2-1624550505311.png" alt="DuncanHornby_2-1624550505311.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any code is overkill and I suspect slower if your datasets get very large.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 16:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1072087#M25627</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-06-24T16:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count points in polygon and print out what each polygon contains</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1072454#M25630</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/494313"&gt;@Cookie010103&lt;/a&gt;: Sorry, kinda forgot about this thread. You should absolutely use Duncan's solution.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;: This is great, thanks! Sometimes I jump to using code without checking out tools I don't know... TIL&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 06:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/is-it-possible-to-count-points-in-polygon-and/m-p/1072454#M25630</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-06-25T06:19:32Z</dc:date>
    </item>
  </channel>
</rss>

