<?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: Select By Location fails with XY event layer in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267110#M9147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you trying exporting the event layer out to a shapefile first?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2013 20:18:04 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2013-02-15T20:18:04Z</dc:date>
    <item>
      <title>Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267109#M9146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I create an XY event layer in GCS_WGS_1984.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using this layer as the selecting features in Select by Location fails with a 999999 error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use this layer as the target, or in Buffer, the tool fails with 000339: ...does not have OIDs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this why it is failed in Select by Location? I inherited a python script that was written to use such as layer as the selecting features. Did this used to work? Why doesn't it now? I would think that the OIDs for the selecting layer should not matter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 18:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267109#M9146</guid>
      <dc:creator>HarryBowman</dc:creator>
      <dc:date>2013-02-15T18:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267110#M9147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you trying exporting the event layer out to a shapefile first?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 20:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267110#M9147</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2013-02-15T20:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267111#M9148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did you trying exporting the event layer out to a shapefile first?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that works fine. Why doesn't using the XY event layer directly work OK? I inherited a working Python script that as of last year (February 2012) used an XY layer directly. Now it doesn't work. I can even use a hand-built arcpy geometry object as the input for Select By Location. If that works, this should too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 15:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267111#M9148</guid>
      <dc:creator>HarryBowman</dc:creator>
      <dc:date>2013-02-19T15:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267112#M9149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Harry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ObjectIDs are required to make selections, many delimited text files or tables from OLE DS connections do not have ObjectID fields. Exporting to a shapefile creates an ObjectID field which is why you are then able to use Select by Location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can export your table as a .dbf, this will add an ObjectID field and the resulting XY Event Layer will then be selectable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Melanie S.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267112#M9149</guid>
      <dc:creator>MelanieSummers</dc:creator>
      <dc:date>2013-02-21T14:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267113#M9150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply, Melanie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I might not have been clear. The features to be selected are in a file geodatabase feature class, so they do have Object IDs. The XY events are going to be used to do the selecting - they are not being selected themselves. I can do such selecting with an arcpy geometry object, so it should also work with the XY events. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this make sense? Maybe I am still missing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Harry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267113#M9150</guid>
      <dc:creator>HarryBowman</dc:creator>
      <dc:date>2013-02-21T14:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267114#M9151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Harry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//005s0000000z000000"&gt;ObjectIDs&lt;/A&gt;&lt;SPAN&gt; are required for the layer to be used in either part of the Select by Location process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wouldn't expect XY Event layers to behave the same way as Geometry Objects; Geometry Objects are made specifically to work with data in a temporary state, XY Event Layers are used to display XY data, if the tabular data being displayed does not have ObjectIDs, further steps are necessary to be able to interact with the data spatially.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Melanie S.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 15:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267114#M9151</guid>
      <dc:creator>MelanieSummers</dc:creator>
      <dc:date>2013-02-21T15:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location fails with XY event layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267115#M9152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like this is unresolved still?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-location-fails-with-xy-event-layer/m-p/267115#M9152</guid>
      <dc:creator>SolanaFoo4</dc:creator>
      <dc:date>2017-08-09T17:07:56Z</dc:date>
    </item>
  </channel>
</rss>

