<?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 SOLVED:  Simple python code snipet to summarize basic contents/metrics of a geodatabase in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/solved-simple-python-code-snipet-to-summarize/m-p/1306008#M70839</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I often find myself getting data in a geodatabase format, and usually first thing I want to do is just get a basic sense of contents.&amp;nbsp; Im sure others do/feel the same way.&amp;nbsp; If you are not familiar with it, the XRay addon for ArcCatalog has been/is great for listing feature classes, fields, domains, etc.&amp;nbsp; The one thing it doesnt provide is feature counts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I havent been able to find something lightweight and simple to get the feature count information as well, so just spent a few minutes and wrote a very low-tech python code snippet.&amp;nbsp; It will go through a geodatabase and print each feature class name, type, and number of records.&amp;nbsp; It will also total number of feature classes and total feature at end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a python code snippet (I saved just as .txt file) that you can&amp;nbsp; load (or copy/paste) to run within Arc Pro or ArcMap in command line.&amp;nbsp; Just make sure to change reference to GDB on line 5.&amp;nbsp; Below is exerpt of results that I ran in Pro&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NealBanerjee_0-1688609499577.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74877i8224270F8BD5825C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NealBanerjee_0-1688609499577.png" alt="NealBanerjee_0-1688609499577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 02:12:25 GMT</pubDate>
    <dc:creator>NealBanerjee</dc:creator>
    <dc:date>2023-07-06T02:12:25Z</dc:date>
    <item>
      <title>SOLVED:  Simple python code snipet to summarize basic contents/metrics of a geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/solved-simple-python-code-snipet-to-summarize/m-p/1306008#M70839</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I often find myself getting data in a geodatabase format, and usually first thing I want to do is just get a basic sense of contents.&amp;nbsp; Im sure others do/feel the same way.&amp;nbsp; If you are not familiar with it, the XRay addon for ArcCatalog has been/is great for listing feature classes, fields, domains, etc.&amp;nbsp; The one thing it doesnt provide is feature counts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I havent been able to find something lightweight and simple to get the feature count information as well, so just spent a few minutes and wrote a very low-tech python code snippet.&amp;nbsp; It will go through a geodatabase and print each feature class name, type, and number of records.&amp;nbsp; It will also total number of feature classes and total feature at end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a python code snippet (I saved just as .txt file) that you can&amp;nbsp; load (or copy/paste) to run within Arc Pro or ArcMap in command line.&amp;nbsp; Just make sure to change reference to GDB on line 5.&amp;nbsp; Below is exerpt of results that I ran in Pro&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NealBanerjee_0-1688609499577.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74877i8224270F8BD5825C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NealBanerjee_0-1688609499577.png" alt="NealBanerjee_0-1688609499577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 02:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/solved-simple-python-code-snipet-to-summarize/m-p/1306008#M70839</guid>
      <dc:creator>NealBanerjee</dc:creator>
      <dc:date>2023-07-06T02:12:25Z</dc:date>
    </item>
  </channel>
</rss>

