<?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 Within a Distance Failed to Execute in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118023#M4834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q1&amp;nbsp; Both files in the same coordinate system? and in feet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2019 00:51:17 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-11-28T00:51:17Z</dc:date>
    <item>
      <title>Select by Location Within a Distance Failed to Execute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118022#M4833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcPro I am trying to select lines that fall within a specified distance of points and am getting a 999999 error. Any workaround ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bonus question-is there a way to add an attribute query to this? i.e. select 'streets' that are within 300 ft of 'restaurants' where 'license'&amp;nbsp;is 'Y'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 00:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118022#M4833</guid>
      <dc:creator>HeatherStettler</dc:creator>
      <dc:date>2019-11-28T00:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Location Within a Distance Failed to Execute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118023#M4834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q1&amp;nbsp; Both files in the same coordinate system? and in feet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 00:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118023#M4834</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-28T00:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Location Within a Distance Failed to Execute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118024#M4835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They were not! I corrected this but still get the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 15:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118024#M4835</guid>
      <dc:creator>HeatherStettler</dc:creator>
      <dc:date>2019-12-02T15:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Location Within a Distance Failed to Execute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118025#M4836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you correct it? did you project them to the same coordinate&amp;nbsp; system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 18:14:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118025#M4836</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-12-02T18:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Location Within a Distance Failed to Execute</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118026#M4837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried anything from the error help?&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/999001-999999/tool-errors-and-warnings-999998-999999-999999.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/999001-999999/tool-errors-and-warnings-999998-999999-999999.htm"&gt;999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Rep…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a scenario that consistently generates the 999999, please report that the Technical Support as the geoprocessing team considers unhandled exceptions a bug where the code could be improved to provide a better, more informative message if a tool cannot proceed for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, from the screenshot you provided, I *think* that maybe you've created a selection layer from a selection on another layer, correct? Which is why the input is 'streets selection'?&amp;nbsp; Does it make any difference if you feed in the original layer with the selection applied to the tool?&amp;nbsp; Still a 999999?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using a selection layer as input and don't get an error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475388_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;For your bonus question, you could just set up a definition query (or multiple def queries) on your restaurants layer.&amp;nbsp; Before setting up your select by location, use the layer's Data &amp;gt; Definition Query toggle to only show restaurants where license = 'y'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example where I have Streams where some are Intermittent and some are Perennial.&lt;/P&gt;&lt;P&gt;I can set up two Definition Queries on that layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perennial is Active:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/475389_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;Intermittent is active:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/475390_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;When working in the map, select the layer in the Contents pane, on the ribbon go to Feature Layer &amp;gt; Data &amp;gt; Definition query and toggle def queries on/off.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/475406_pastedImage_5.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-location-within-a-distance-failed-to/m-p/118026#M4837</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-12-05T15:54:14Z</dc:date>
    </item>
  </channel>
</rss>

