<?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: arcpy desc hasSpatialindex in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783356#M152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I refreshed the catalog but still the same result.&lt;/P&gt;&lt;P&gt;Actually we migrated SDE database from Oracle 11g to Oracle 12c Exadata. it was migrated using data dump process. During the migration, we got error randomly that spatial index exist for some layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the migration, we found that many layers missing their spatial index using&amp;nbsp; the Arccatalog.&lt;/P&gt;&lt;P&gt;I used the above script to get the list instead of viewing each layer in Arccatalog. unfortunately the script provided wrong results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, in Arccatalog, the spatial index buttons (add,delete, rebuild) options are not enabled even though it displays the message that the layer has no spatial index.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2019 12:33:30 GMT</pubDate>
    <dc:creator>venaktesa_kumarNatarajan</dc:creator>
    <dc:date>2019-07-18T12:33:30Z</dc:date>
    <item>
      <title>arcpy desc hasSpatialindex</title>
      <link>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783354#M150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run python script&amp;nbsp;using following code&lt;/P&gt;&lt;P&gt;desc = arcpy.Describe(fc)&lt;BR /&gt; sindex = str(desc.hasSpatialIndex)&lt;BR /&gt; stype = desc.featureType&lt;BR /&gt; print str(fc)+ "--"+sindex + "--"+stype&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns the feature class name and type correctly.&amp;nbsp; but it doesnt return the correct value for hasSpatialIndex.&lt;/P&gt;&lt;P&gt;It returns the values as true when the ArcCatelog show that the layer doesnt have spatial index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 07:44:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783354#M150</guid>
      <dc:creator>venaktesa_kumarNatarajan</dc:creator>
      <dc:date>2019-07-18T07:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy desc hasSpatialindex</title>
      <link>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783355#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was catalog refreshed when you checked?&lt;/P&gt;&lt;P&gt;Did you try to delete the spatial index? You will get an error if the spatial index doesn't exist which would confirm that it doesn't exist.&lt;/P&gt;&lt;P&gt;More on spatial indices&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-spatial-indexes-in-the-geodatabase.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-spatial-indexes-in-the-geodatabase.htm"&gt;Spatial indexes in the geodatabase—Geodatabases | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 09:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783355#M151</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-07-18T09:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy desc hasSpatialindex</title>
      <link>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783356#M152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I refreshed the catalog but still the same result.&lt;/P&gt;&lt;P&gt;Actually we migrated SDE database from Oracle 11g to Oracle 12c Exadata. it was migrated using data dump process. During the migration, we got error randomly that spatial index exist for some layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the migration, we found that many layers missing their spatial index using&amp;nbsp; the Arccatalog.&lt;/P&gt;&lt;P&gt;I used the above script to get the list instead of viewing each layer in Arccatalog. unfortunately the script provided wrong results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, in Arccatalog, the spatial index buttons (add,delete, rebuild) options are not enabled even though it displays the message that the layer has no spatial index.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 12:33:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/783356#M152</guid>
      <dc:creator>venaktesa_kumarNatarajan</dc:creator>
      <dc:date>2019-07-18T12:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy desc hasSpatialindex</title>
      <link>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/1016816#M690</link>
      <description>&lt;P&gt;got the same issue with ArcGIS Desktop 10.6.1, ArcSDE 10.6.1 on Oracle11g&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 12:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/arcpy-desc-hasspatialindex/m-p/1016816#M690</guid>
      <dc:creator>TomasPokorny</dc:creator>
      <dc:date>2021-01-14T12:20:39Z</dc:date>
    </item>
  </channel>
</rss>

