<?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 = arcpy.Select_analysis HELP!! in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551791#M43090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks James....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did go back and check that the Input Feature is valid but I think what's happening is that the Input data is from Arc GIS 9.0 whereas the ArcMap that I'm processing the the script in is ArcGIS 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't that seem like a reason for the Error Message: "Input Feature Class in not supported"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure though!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jun 2013 19:12:28 GMT</pubDate>
    <dc:creator>ShikoNjuno</dc:creator>
    <dc:date>2013-06-26T19:12:28Z</dc:date>
    <item>
      <title>select = arcpy.Select_analysis HELP!!</title>
      <link>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551789#M43088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;select = arcpy.Select_analysis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Comic Sans MS;"&gt;After this script is correctly carried out, is there supposed to be a new layer created on ArcMap? or does it just show you the results?&lt;BR /&gt;I'm having issues with an erase script not being able to read the data that has been defined in the Selection.&lt;BR /&gt;Below is the error message I'm getting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; erase = arcpy.Erase_analysis(select, buffer, "in_memory/erase")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\analysis.py", line 205, in Erase&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 000732: Input Features: Dataset in_memory\select does not exist or is not supported&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 16:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551789#M43088</guid>
      <dc:creator>ShikoNjuno</dc:creator>
      <dc:date>2013-06-26T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: select = arcpy.Select_analysis HELP!!</title>
      <link>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551790#M43089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe write your in_memory feature class somewhere on disk: CopyFeatures_management would work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000035000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000035000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, your error message is telling you that your input features, "select" are not found or supported.&amp;nbsp; Better double check this to validate it exists and or has features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 18:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551790#M43089</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-06-26T18:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: select = arcpy.Select_analysis HELP!!</title>
      <link>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551791#M43090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks James....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did go back and check that the Input Feature is valid but I think what's happening is that the Input data is from Arc GIS 9.0 whereas the ArcMap that I'm processing the the script in is ArcGIS 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't that seem like a reason for the Error Message: "Input Feature Class in not supported"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure though!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 19:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551791#M43090</guid>
      <dc:creator>ShikoNjuno</dc:creator>
      <dc:date>2013-06-26T19:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: select = arcpy.Select_analysis HELP!!</title>
      <link>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551792#M43091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hard to say without seeing the previous code.&amp;nbsp; not sure if you don't have a dataset named select in your workspace.&amp;nbsp; or, what dataset have you defined to the variable select?&amp;nbsp; what about buffer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I'd look into the help documentation on both erase and select to see how to code them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see no examples of actually setting it equal to something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SelectLayerByAttribute_management (in_layer_or_view, {selection_type}, {where_clause})&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000071000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000071000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will create the selection on the in_layer_or_view, and this would be the input for your other tool(s)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erase_analysis (in_features, erase_features, out_feature_class, {cluster_tolerance})&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Erase/00080000000m000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Erase/00080000000m000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erase creates a new out feature class, not sure what erase = would do ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS&amp;nbsp; 10.1 has no problem consuming older feature classes, just doesn't work the other way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 19:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/select-arcpy-select-analysis-help/m-p/551792#M43091</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-06-26T19:18:12Z</dc:date>
    </item>
  </channel>
</rss>

