<?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 Generate List of all Features within a GDB in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674862#M52221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a way to generate one complete list of all feature classes within all feature datasets inside a gdb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I execute the script below, it generates multiple lists of feature classes for each dataset within the gdb.&amp;nbsp; Is there a way to combine each of these separate lists of feature classes into one complete list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

gdb = r"...path to some gdb"

arcpy.env.workspace = gdb

dsList = arcpy.ListDatasets("*", feature_type="Feature")
dsList.sort()
for ds in dsList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print ds

...list of datasets...

for ds in dsList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList = arcpy.ListFeatureClasses("*", feature_type="ALL", feature_dataset=ds)
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList.sort()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print fcList

...separate lists of feature classes per feature dataset...&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 04:27:51 GMT</pubDate>
    <dc:creator>mpboyle</dc:creator>
    <dc:date>2021-12-12T04:27:51Z</dc:date>
    <item>
      <title>Generate List of all Features within a GDB</title>
      <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674862#M52221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a way to generate one complete list of all feature classes within all feature datasets inside a gdb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I execute the script below, it generates multiple lists of feature classes for each dataset within the gdb.&amp;nbsp; Is there a way to combine each of these separate lists of feature classes into one complete list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

gdb = r"...path to some gdb"

arcpy.env.workspace = gdb

dsList = arcpy.ListDatasets("*", feature_type="Feature")
dsList.sort()
for ds in dsList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print ds

...list of datasets...

for ds in dsList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList = arcpy.ListFeatureClasses("*", feature_type="ALL", feature_dataset=ds)
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList.sort()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print fcList

...separate lists of feature classes per feature dataset...&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:27:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674862#M52221</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2021-12-12T04:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Generate List of all Features within a GDB</title>
      <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674863#M52222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;fcList = []

for dataset in arcpy.ListDatasets():&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in arcpy.ListFeatureClasses("*", "ALL", dataset):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList.append(fc)

for fc in arcpy.ListFeatureClasses():
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList.append(fc)

print fcList&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674863#M52222</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-12T04:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Generate List of all Features within a GDB</title>
      <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674864#M52223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;‌.&amp;nbsp; That works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674864#M52223</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2015-02-23T15:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Generate List of all Features within a GDB</title>
      <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674865#M52224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second code sample in the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//03q300000023000000" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Help 10.2 - ListFeatureClasses (arcpy)&lt;/A&gt; gets you most of the way there.&amp;nbsp; The code below is adapted from the second code example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
import os

gdb = #
arcpy.env.workspace = gdb

datasets = arcpy.ListDatasets(feature_type='feature')
datasets = [''] + datasets if datasets is not None else []

fcList = []
for ds in datasets:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in arcpy.ListFeatureClasses(feature_dataset=ds):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList.append(os.path.join(gdb, ds, fc))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # fcList.append(os.path.join(ds, fc)) # if you don't want gdb path included
fcList.sort()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Esri sample code, beyond providing the functional framework, incorporated two notable tips/ideas/practices.&amp;nbsp; The first is that including an empty string '' in the &lt;SPAN style="font-family: courier new,courier;"&gt;datasets&lt;/SPAN&gt; list will allow the datasets loop to include the feature classes that aren't in a data set, i.e., the feature classes that are in the root/base of the geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second is that &lt;SPAN style="font-family: courier new,courier;"&gt;os.path.join&lt;/SPAN&gt; is used to create the full path of the feature classes being listed.&amp;nbsp; If you are going to do any further processing of the list of feature classes, having the full path to them in the list makes the next steps easier.&amp;nbsp; Even if you are just listing feature classes to know what is present, including the data set along with the feature class will provide for more context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:27:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674865#M52224</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T04:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generate List of all Features within a GDB</title>
      <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674866#M52225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having a bit of a unique problem with this code. &amp;nbsp;I used a bit of the code above to nest the ListFeatureClasses inside of the ListDatasets. &amp;nbsp;Under my ListFeatureClasses section I'm trying to use arcpy.Describe to extract the geometry storage type of the feature class. &amp;nbsp;I've hit a wall where if the feature class and the feature dataset have the exact same name my second &lt;STRONG&gt;for&lt;/STRONG&gt; statement is closing out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;os, arcpy, time
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;from &lt;/SPAN&gt;time &lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;clock, strftime, localtime

&lt;SPAN style="color: #000080; font-weight: bold;"&gt;try&lt;/SPAN&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp; sdeConn = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"Database Connections&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\\&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;washsde_rlis_sde.sde"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;arcpy.env.workspace = sdeConn
&amp;nbsp;&amp;nbsp;&amp;nbsp; oFileHeaders = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"FeatureDataset,FeatureClass,Geometry"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;oListTime = time.asctime()

&amp;nbsp;&amp;nbsp;&amp;nbsp; f = &lt;SPAN style="color: #000080;"&gt;open&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"K:/Workgroups/GISITS/ADMIN_DBA_Projects/Binary2SQLGeometry/WashSDE_RLIS_fcGeom.csv"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"w"&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"SDE Connection: " &lt;/SPAN&gt;+ sdeConn + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"List Created On: " &lt;/SPAN&gt;+ oListTime + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;)

&amp;nbsp;&amp;nbsp;&amp;nbsp; datasets = arcpy.ListDatasets(&lt;SPAN style="color: #660099;"&gt;feature_type&lt;/SPAN&gt;=&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'feature'&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp; datasets = [&lt;SPAN style="color: #008000; font-weight: bold;"&gt;''&lt;/SPAN&gt;] + datasets &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if &lt;/SPAN&gt;datasets &lt;SPAN style="color: #000080; font-weight: bold;"&gt;is not None else &lt;/SPAN&gt;[]
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;datasets

&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'Datasets in geodatabase: ' &lt;/SPAN&gt;+ &lt;SPAN style="color: #000080;"&gt;str&lt;/SPAN&gt;(datasets) + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(oFileHeaders + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;)

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;for &lt;/SPAN&gt;ds &lt;SPAN style="color: #000080; font-weight: bold;"&gt;in &lt;/SPAN&gt;datasets:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;for &lt;/SPAN&gt;fc &lt;SPAN style="color: #000080; font-weight: bold;"&gt;in &lt;/SPAN&gt;arcpy.ListFeatureClasses(&lt;SPAN style="color: #660099;"&gt;feature_dataset&lt;/SPAN&gt;=ds):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; desc = arcpy.Describe(fc)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vFile = desc.file
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vPath = desc.path
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vGeometry = desc.geometryStorage
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(ds + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"," &lt;/SPAN&gt;+ vFile + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"," &lt;/SPAN&gt;+ vGeometry + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;(ds + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"," &lt;/SPAN&gt;+ vFile + &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"," &lt;/SPAN&gt;+ vGeometry)
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close()
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;except&lt;/SPAN&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;arcpy.GetMessage(&lt;SPAN style="color: #0000ff;"&gt;1&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;arcpy.GetMessage(arcpy.GetMessageCount() - &lt;SPAN style="color: #0000ff;"&gt;1&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="346949" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/346949_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a type 1 exception when its trying to deal with the RLIS.RLIS.boundary feature class in the similarly named RLIS.RLIS.BOUNDARY feature dataset. &amp;nbsp;The SDE instances is named RLIS and the database users is named RLIS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674866#M52225</guid>
      <dc:creator>RichardCrucchiola</dc:creator>
      <dc:date>2021-12-12T04:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generate List of all Features within a GDB</title>
      <link>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674867#M52226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find the original listing data functions (ListDatasets, ListFeatureClasses, ListFiles, etc...) rather clunky to work with compared to other options.&amp;nbsp; The ArcPy &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/walk.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Walk &lt;/A&gt;function is good for finding or enumerating data sets.&amp;nbsp; In this case, though, since you are focused on specific geodatabases and want additional properties of data sets, like geometry storage type, I think the old &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-functions/describe.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Describe &lt;/A&gt;class is best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code below will go through a geodatabase and print out the data set names, types, and geometry storage if applicable.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os

gdb &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# path to geodatabase&lt;/SPAN&gt;

full_path &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# Specify whether dataset name should be full or relative&lt;/SPAN&gt;

desc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Describe&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gdb&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; child &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; desc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;children&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datasets &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;child&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; child&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;children
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; ds &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; datasets&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{},{},{}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;catalogPath&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;replace&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; full_path &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; gdb &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sep&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;datatype&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometryStorage &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; hasattr&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ds&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"geometryStorage"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:28:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/generate-list-of-all-features-within-a-gdb/m-p/674867#M52226</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T04:28:02Z</dc:date>
    </item>
  </channel>
</rss>

