<?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: Error using esriSpatialRelOverlaps in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59402#M1632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Henk,&lt;BR /&gt;&lt;BR /&gt;I tried the code with some testing data and I don't see any errors. I wonder have you tried the code with any other dataset? Can you see consistent behavior?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chelsea&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you are right. Processing data in another sde version gives no problem. Any idea what causes the error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 10:46:36 GMT</pubDate>
    <dc:creator>HenkZwols</dc:creator>
    <dc:date>2011-06-24T10:46:36Z</dc:date>
    <item>
      <title>Error using esriSpatialRelOverlaps</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59400#M1630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The VBA code below gives me this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;A subscription cannot be stored unless its event class already exists&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This happens only when using &lt;/SPAN&gt;&lt;STRONG&gt;esriSpatialRelOverlaps&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Set pFeatureLayer = pLayer
pSpatialFilter.SpatialRel = esriSpatialRelOverlaps
Set pSpatialFilter.geometry = pInFeature.ShapeCopy
Set pFeatureCursor = pFeatureLayer.FeatureClass.Search(pSpatialFilter, False)
Set pFeature = pFeatureCursor.NextFeature
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can somebody tell me what's going on? I think it has something to do with the migration to ArcGis10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings, Henk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 14:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59400#M1630</guid>
      <dc:creator>HenkZwols</dc:creator>
      <dc:date>2011-06-23T14:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error using esriSpatialRelOverlaps</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59401#M1631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Henk,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the code with some testing data and I don't see any errors. I wonder have you tried the code with any other dataset? Can you see consistent behavior?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chelsea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 16:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59401#M1631</guid>
      <dc:creator>ChaoWang</dc:creator>
      <dc:date>2011-06-23T16:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error using esriSpatialRelOverlaps</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59402#M1632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Henk,&lt;BR /&gt;&lt;BR /&gt;I tried the code with some testing data and I don't see any errors. I wonder have you tried the code with any other dataset? Can you see consistent behavior?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chelsea&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you are right. Processing data in another sde version gives no problem. Any idea what causes the error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 10:46:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59402#M1632</guid>
      <dc:creator>HenkZwols</dc:creator>
      <dc:date>2011-06-24T10:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error using esriSpatialRelOverlaps</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59403#M1633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would assume you have whereclause for the pSpatialFilter? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Could you please double check the fields and the domain to make sure there's nothing wrong with the data? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- What if we change the query here, are you still getting errors?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 23:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59403#M1633</guid>
      <dc:creator>ChaoWang</dc:creator>
      <dc:date>2011-06-24T23:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error using esriSpatialRelOverlaps</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59404#M1634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, there is a whereclause involved. But this can't be the problem, because it's working in a different sde-version where the datastructure is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't reproduce the error anymore. Someone must have fixed the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 11:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-using-esrispatialreloverlaps/m-p/59404#M1634</guid>
      <dc:creator>HenkZwols</dc:creator>
      <dc:date>2011-06-29T11:23:42Z</dc:date>
    </item>
  </channel>
</rss>

