<?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: RegionGroup fails due to inaccessible VAT file in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/regiongroup-fails-due-to-inaccessible-vat-file/m-p/69509#M5704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only way I got it to work is to exclude the LINK...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so 'NO_LINK' instead of 'ADD_LINK'... no need for VAT file anymore, I guess, so no error message?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Dec 2011 03:26:50 GMT</pubDate>
    <dc:creator>MaartenHofman1</dc:creator>
    <dc:date>2011-12-17T03:26:50Z</dc:date>
    <item>
      <title>RegionGroup fails due to inaccessible VAT file</title>
      <link>https://community.esri.com/t5/python-questions/regiongroup-fails-due-to-inaccessible-vat-file/m-p/69508#M5703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what are possible reasons for this region group failure?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CheckOutExtension("Spatial")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outDispBuffRG = RegionGroup(DispBuffBinary, "EIGHT", "WITHIN", "ADD_LINK")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outDispBuffRG.save(DispBuffRG)
except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; Executing: RegionGroup C:/GIS/LCI/Distributietest/RSP/s1\dpb_rsp_s1 C:\GIS\LCI\Distributietest\RSP\s1\RegionG_dpb_1 EIGHT WITHIN ADD_LINK #&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Wed Dec 14 23:19:59 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010159: Unable to open VAT file of C:\GIS\LCI\Distributietest\RSP\s1\RegionG_dpb_1\RegionG_dpb_1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010067: Error in executing grid expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (RegionGroup).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed at Wed Dec 14 23:20:00 2011 (Elapsed Time: 1,00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why does it want to open the VAT of a raster that doesn't exist yet? To write data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An earlier call of RegionGroup in the same script (but with different datasets) works just fine, even though the syntax is the same...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I am adapting a script which was originally written for a ArcGIS 9.3 tool.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 03:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/regiongroup-fails-due-to-inaccessible-vat-file/m-p/69508#M5703</guid>
      <dc:creator>MaartenHofman1</dc:creator>
      <dc:date>2011-12-15T03:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: RegionGroup fails due to inaccessible VAT file</title>
      <link>https://community.esri.com/t5/python-questions/regiongroup-fails-due-to-inaccessible-vat-file/m-p/69509#M5704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only way I got it to work is to exclude the LINK...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so 'NO_LINK' instead of 'ADD_LINK'... no need for VAT file anymore, I guess, so no error message?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2011 03:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/regiongroup-fails-due-to-inaccessible-vat-file/m-p/69509#M5704</guid>
      <dc:creator>MaartenHofman1</dc:creator>
      <dc:date>2011-12-17T03:26:50Z</dc:date>
    </item>
  </channel>
</rss>

