<?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: Count point that have matching attribute in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40199#M3209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/geoanalytics-desktop/summarize-attributes.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/geoanalytics-desktop/summarize-attributes.htm"&gt;Summarize Attributes—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are your UID data text (that look like numbers) or numbers?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/analysis/summary-statistics.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/analysis/summary-statistics.htm"&gt;Summary Statistics—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Counts for summaries.&lt;/P&gt;&lt;P&gt;Are you coding for this? or just looking for associated tools? since there are many other options that don't require an advanced license or limited output capabilities&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2020 01:27:30 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2020-07-16T01:27:30Z</dc:date>
    <item>
      <title>Count point that have matching attribute</title>
      <link>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40198#M3208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with an asset with data that consist of polylines and points. There are a lot of points that are created after work orders from field workers. These point have the same Uid as the specific Line segment. Relationship between line and point are One-to-Many. They are not necessarily intersecting. I would to&amp;nbsp;add a field to the polyline attribute table to show total count of these points are matching with the line Uid.&lt;IMG __jive_id="500425" alt="Point and line illustration" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/500425_Screen Shot 2020-07-15 at 4.55.10 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lines&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" height="176" style="border: 1px solid #c6c6c6;" width="271"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 129px;"&gt;object Id&lt;/TH&gt;&lt;TH style="width: 119px;"&gt;Uid&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 129px;"&gt;1&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 129px;"&gt;2&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 129px;"&gt;3&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 129px;"&gt;4&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 129px;"&gt;5&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;722000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 129px;"&gt;6&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;723000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Points&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" height="374" style="border: 1px solid #c6c6c6;" width="413"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="width: 135px; height: 25px;"&gt;object Id&lt;/TH&gt;&lt;TH style="width: 155px; height: 25px;"&gt;date&lt;/TH&gt;&lt;TH style="width: 89px; height: 25px;"&gt;Uid&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;1&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/4/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;2&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/4/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731002&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;3&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/12/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;4&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/12/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731003&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;5&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/12/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;722000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;6&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/19/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;7&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/19/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731003&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;8&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/19/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;722000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;9&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/27/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;731000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 135px; height: 25px;"&gt;10&lt;/TD&gt;&lt;TD style="width: 155px; height: 25px;"&gt;6/27/2020&lt;/TD&gt;&lt;TD style="width: 89px; height: 25px;"&gt;722000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" height="176" style="border: 1px solid #c6c6c6;" width="271"&gt;&lt;THEAD style="border: inherit solid inherit;"&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 129px;"&gt;object Id&lt;/TH&gt;&lt;TH style="width: 119px;"&gt;Uid&lt;/TH&gt;&lt;TH style="width: 119px;"&gt;count&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border: inherit solid inherit;"&gt;&lt;TR style="border: inherit solid inherit;"&gt;&lt;TD style="width: 129px;"&gt;1&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731000&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit;"&gt;&lt;TD style="width: 129px;"&gt;2&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731001&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit;"&gt;&lt;TD style="width: 129px;"&gt;3&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731002&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit;"&gt;&lt;TD style="width: 129px;"&gt;4&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;731003&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit;"&gt;&lt;TD style="width: 129px;"&gt;5&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;722000&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit;"&gt;&lt;TD style="width: 129px;"&gt;6&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;723000&lt;/TD&gt;&lt;TD style="width: 119px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 23:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40198#M3208</guid>
      <dc:creator>KennyYue</dc:creator>
      <dc:date>2020-07-15T23:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count point that have matching attribute</title>
      <link>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40199#M3209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/geoanalytics-desktop/summarize-attributes.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/geoanalytics-desktop/summarize-attributes.htm"&gt;Summarize Attributes—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are your UID data text (that look like numbers) or numbers?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/analysis/summary-statistics.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/analysis/summary-statistics.htm"&gt;Summary Statistics—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Counts for summaries.&lt;/P&gt;&lt;P&gt;Are you coding for this? or just looking for associated tools? since there are many other options that don't require an advanced license or limited output capabilities&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 01:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40199#M3209</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-07-16T01:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count point that have matching attribute</title>
      <link>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40200#M3210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UID data is in numeric.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for option out here. because the point features are actually from a feature service sourced from another platform. I checked your recommendation for using Summarize Attribute, it works well to generate a&amp;nbsp;table&amp;nbsp;and join back with the line feature using the UID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you other suggestion in such situation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 03:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40200#M3210</guid>
      <dc:creator>KennyYue</dc:creator>
      <dc:date>2020-07-16T03:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count point that have matching attribute</title>
      <link>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40201#M3211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That workflow is fine.&amp;nbsp; If you were scripting you could exploit numpy to get the unique&amp;nbsp;UID s and their counts and use&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/data-access/extendtable.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/data-access/extendtable.htm"&gt;ExtendTable—Data Access module | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to add the results back into the polyline featureclass as a permanent join.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 08:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/count-point-that-have-matching-attribute/m-p/40201#M3211</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-07-16T08:30:06Z</dc:date>
    </item>
  </channel>
</rss>

