<?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>idea Enhance Describe to enable ArcPy to determine SDE storage type (ST_GEOMETRY, etc) in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idi-p/973888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;From ArcPy I would like to be able to determine the storage type (ST_GEOMETRY, SDO_GEOMETRY, SDEBINARY) of data stored in relational databases via ArcSDE in order to either report on how spatial data is stored, or to determine what operations it is likely to support.&lt;BR /&gt;&lt;BR /&gt;This has also been discussed at &lt;A href="http://gis.stackexchange.com/questions/17373/how-to-determine-storage-type-st-geom-oracle-from-arcpy-python" target="_blank"&gt;Stack Exchange GIS&lt;/A&gt;.

&lt;!-- content transformation source ID: 087E00000004Efz --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 01:52:57 GMT</pubDate>
    <dc:creator>GraemeBrowning</dc:creator>
    <dc:date>2012-06-13T01:52:57Z</dc:date>
    <item>
      <title>Enhance Describe to enable ArcPy to determine SDE storage type (ST_GEOMETRY, etc)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idi-p/973888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;From ArcPy I would like to be able to determine the storage type (ST_GEOMETRY, SDO_GEOMETRY, SDEBINARY) of data stored in relational databases via ArcSDE in order to either report on how spatial data is stored, or to determine what operations it is likely to support.&lt;BR /&gt;&lt;BR /&gt;This has also been discussed at &lt;A href="http://gis.stackexchange.com/questions/17373/how-to-determine-storage-type-st-geom-oracle-from-arcpy-python" target="_blank"&gt;Stack Exchange GIS&lt;/A&gt;.

&lt;!-- content transformation source ID: 087E00000004Efz --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 01:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idi-p/973888</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2012-06-13T01:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Describe to enable ArcPy to determine SDE storage type (ST_GEOMETRY, etc)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/973889#M9944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I am in the process of migrating storage, I'm kinda shocked that this is not part of the Describe Object.&amp;nbsp; I am migrating 36 datasets,&amp;nbsp; some are failing in the process and then I need to go into ArcCatalog and indivdually click on each feature class to see what has been migrated.&amp;nbsp; This is kinda silly.&amp;nbsp; Please add the Geometry Storage Type to a property of the feature class.&amp;nbsp; Thanks!

&lt;!-- content transformation source ID: 00aE000000DwhG2 --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 15:09:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/973889#M9944</guid>
      <dc:creator>ChristinaKellum</dc:creator>
      <dc:date>2015-09-21T15:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Describe to enable ArcPy to determine SDE storage type (ST_GEOMETRY, etc)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/973890#M9945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Python example for this workaround, note placement of database connection file&lt;BR /&gt;&lt;BR /&gt;# -*- coding: utf-8 -*-&lt;BR /&gt;&lt;BR /&gt;import arcpy, subprocess, sys, codecs, os&lt;BR /&gt;reload(sys) # See stackoverflow question 2276200&lt;BR /&gt;sys.setdefaultencoding('utf-8')&lt;BR /&gt;&lt;BR /&gt;os.chdir("C:\\Program Files\\ArcGIS\\ArcSDE\\commands\\bin")&lt;BR /&gt;arcpy.env.workspace = r'P:\\Database\\Connection_to_Database.sde'&lt;BR /&gt;password = u"Type_Your_PassWord"&lt;BR /&gt;&lt;BR /&gt;desc = arcpy.Describe(arcpy.env.workspace)&lt;BR /&gt;&lt;BR /&gt;# Print Connection properties&lt;BR /&gt;&lt;BR /&gt;cp = desc.connectionProperties&lt;BR /&gt;server = cp.server&lt;BR /&gt;instance = cp.instance&lt;BR /&gt;database = cp.database&lt;BR /&gt;user = cp.user&lt;BR /&gt;version = cp.version&lt;BR /&gt;&lt;BR /&gt;print "\nDatabase Connection Properties:"&lt;BR /&gt;print "% -12s %s" % ("&amp;nbsp; Server:", server)&lt;BR /&gt;print "% -12s %s" % ("&amp;nbsp; Instance:", instance)&lt;BR /&gt;print "% -12s %s" % ("&amp;nbsp; Database:", database)&lt;BR /&gt;print "% -12s %s" % ("&amp;nbsp; User:", user)&lt;BR /&gt;print "% -12s %s" % ("&amp;nbsp; Version:", version)&lt;BR /&gt;print&lt;BR /&gt;&lt;BR /&gt;# Get a list of data sets and feature class&lt;BR /&gt;datasetList = arcpy.ListDatasets()&lt;BR /&gt;datasetList.sort()&lt;BR /&gt;datasetList.append("")&lt;BR /&gt;&lt;BR /&gt;for dataset in datasetList:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(dataset.encode('cp1252'))&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList = arcpy.ListFeatureClasses("*", "All", dataset)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList.sort()&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Loop through the list&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fcList:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if dataset == "":&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(" "),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print('&amp;nbsp;&amp;nbsp; '),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(fc.encode('cp1252')),&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sdelayer = u"sdelayer -o describe_long -l " + fc + ",shape -D " + database + " -i " + instance + " -u " + user + " -p " + password&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = subprocess.check_output(sdelayer.encode('cp1252'))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Layer_Type = output.partition("Layer Type")[2].strip()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Layer_Type = Layer_Type.partition(":")[2].strip()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Layer_Type = Layer_Type.partition("Creation Date")[0].strip()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(Layer_Type)&lt;BR /&gt;&lt;BR /&gt;print('\nPress Enter to continue ...')&lt;BR /&gt;raw_input()&lt;BR /&gt;&amp;nbsp;

&lt;!-- content transformation source ID: 00aE000000E3gT2 --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 08:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/973890#M9945</guid>
      <dc:creator>IngmarAlbinson</dc:creator>
      <dc:date>2015-10-27T08:09:54Z</dc:date>
    </item>
    <item>
      <title>Add the geometryStorage method to the arcpy describe object</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/922082#M21025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ArcGIS Pro arcpy describe object contains a geometryStorage method for GDB Feature classes that isn't available on the "regular" arcpy describe object.&amp;nbsp; This is a very handy attribute it should be added to the regular arcpy describe method return attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/922082#M21025</guid>
      <dc:creator>AJR</dc:creator>
      <dc:date>2016-06-03T13:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add the geometryStorage method to the arcpy describe object</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/922083#M21026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this is a duplicate of:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/ideas/5770"&gt;Enhance arcpy.Describe(obj) to show geometryStorage&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 02:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/922083#M21026</guid>
      <dc:creator>PaulDavidson1</dc:creator>
      <dc:date>2016-09-16T02:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Describe to enable ArcPy to determine SDE storage type (ST_GEOMETRY, etc) - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/1220515#M21616</link>
      <description>&lt;P&gt;Although this is an old idea, we'd like to draw attention to some documentation that will help users if they find themselves in this thread.&lt;/P&gt;&lt;P&gt;Users are now able to use ArcPy to determine the storage engine type using arcpy.Describe().&amp;nbsp; I've included a link to the most recent doc for the Describe function, as well as a technical article for additional clarification if needed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Describe Function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/gdb-featureclass-properties.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/gdb-featureclass-properties.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ESRI Technical Article: How to report geometry storage type used for all spatial data in an Enterprise Geodatabase using Python.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/technical-article/000026361" target="_blank"&gt;https://support.esri.com/en/technical-article/000026361&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for the Ideas!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 21:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/enhance-describe-to-enable-arcpy-to-determine-sde/idc-p/1220515#M21616</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2022-10-10T21:50:14Z</dc:date>
    </item>
  </channel>
</rss>

