<?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 how to recalculate spatial index in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453141#M3025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/120003_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I recalculate the spatial index for a featureclass in SQL Server programatically?&lt;/P&gt;&lt;P&gt;I already use the interfaces IIndexEdit and IGeometryDefEdit to recalculate the index by cloning the old index, following the example "RebuildSpatialIndex" in the developer help.&lt;/P&gt;&lt;P&gt;But I have to recalculate the extent because of performance issues. I can do it in ArcCatalog (Button "Neu berechnen" in the picture above), but how to reach the functionality programatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any hint!&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 07:22:42 GMT</pubDate>
    <dc:creator>FrankHochstrate</dc:creator>
    <dc:date>2015-07-31T07:22:42Z</dc:date>
    <item>
      <title>how to recalculate spatial index</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453141#M3025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/120003_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I recalculate the spatial index for a featureclass in SQL Server programatically?&lt;/P&gt;&lt;P&gt;I already use the interfaces IIndexEdit and IGeometryDefEdit to recalculate the index by cloning the old index, following the example "RebuildSpatialIndex" in the developer help.&lt;/P&gt;&lt;P&gt;But I have to recalculate the extent because of performance issues. I can do it in ArcCatalog (Button "Neu berechnen" in the picture above), but how to reach the functionality programatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any hint!&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453141#M3025</guid>
      <dc:creator>FrankHochstrate</dc:creator>
      <dc:date>2015-07-31T07:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to recalculate spatial index</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453142#M3026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grüß Dich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you looked into a Python option? This link explains an approach using ArcPy to do what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** EDITED WITH CORRECT LINK ***&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/0017/00170000014w000000.htm" title="http://resources.arcgis.com/en/help/main/10.2/0017/00170000014w000000.htm"&gt;ArcGIS Help 10.2 - Rebuild Indexes (Data Management)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** EDITED WITH CORRECT LINK ***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Viel Glück,&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 13:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453142#M3026</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2015-07-31T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to recalculate spatial index</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453143#M3027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaun-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the hint, but I couldn't find ArcPy functions, that will do the desired work.&lt;/P&gt;&lt;P&gt;I suppose, the task is "too specific", it depends on the given DBMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still hope, someone has an idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453143#M3027</guid>
      <dc:creator>FrankHochstrate1</dc:creator>
      <dc:date>2015-07-31T14:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to recalculate spatial index</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453144#M3028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the bad link. Here is the correct link. Or you can search on Rebuild Indexes under Data Management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/0017/00170000014w000000.htm" title="http://resources.arcgis.com/en/help/main/10.2/0017/00170000014w000000.htm"&gt;ArcGIS Help 10.2 - Rebuild Indexes (Data Management)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453144#M3028</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2015-07-31T15:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to recalculate spatial index</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453145#M3029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to Recalculate the &lt;STRONG&gt;Spatial Index&lt;/STRONG&gt; or the &lt;STRONG&gt;Extent&lt;/STRONG&gt; of that feature class?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453145#M3029</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-07-31T16:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to recalculate spatial index</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453146#M3030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to recalculate both. First I rebuild the spatial index but after that the feature class extend is equal to the extent of the feature dataset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/120277_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/120276_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the spatial index I have to recalculate the extent of the feature class (Button "Neu berechnen").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 06:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-recalculate-spatial-index/m-p/453146#M3030</guid>
      <dc:creator>FrankHochstrate1</dc:creator>
      <dc:date>2015-08-03T06:23:36Z</dc:date>
    </item>
  </channel>
</rss>

