<?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: Pass SEDF as feature class into arcpy geoprocessing tools in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123939#M63177</link>
    <description>&lt;P&gt;from your multiple posts, it appears that you are trying to emulate Pro functionality without using Pro tools.&amp;nbsp; Arcpy is limited when used in the python api.&amp;nbsp; the geoprocessing functionality uses either arcpy or shapely and since arcpy's exposure is limited and shapely isn't a replacement for arcpy's capabilities, you are sort of stuck&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 18:03:13 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-12-08T18:03:13Z</dc:date>
    <item>
      <title>Pass SEDF as feature class into arcpy geoprocessing tools</title>
      <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123900#M63172</link>
      <description>&lt;P&gt;Is there a way to pass a spatially enabled dataframe (SEDF) as a feature class (in or out) into arcpy geoprocessing tools?&amp;nbsp; This would eliminate the need to unnecccearily write to feature classes to to disk.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;in_features = sdf_in
out_feature_class = sdf_out

arcpy.analysis.Buffer(in_features, out_feature_class, buffer_distance_or_field, {line_side}, {line_end_type}, {dissolve_option}, {dissolve_field}, {method})

-- OR --
target_features = sdf_1
join_features = sdf_2
out_feature_class = sdf_out

arcpy.analysis.SpatialJoin(target_features, join_features, out_feature_class, {join_operation}, {join_type}, {field_mapping}, {match_option}, {search_radius}, {distance_field_name})&lt;/LI-CODE&gt;&lt;P&gt;GeoSeriesAccessor as_arcpy holds some promise, but only accepts a series, so I'm struggling to see how to carry this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 17:15:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123900#M63172</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2021-12-08T17:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pass SEDF as feature class into arcpy geoprocessing tools</title>
      <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123904#M63173</link>
      <description>&lt;P&gt;no, it needs to be converted you can always delete it later&lt;/P&gt;&lt;P&gt;you can see if there is a workaround using the api directly&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/" target="_blank"&gt;API Reference for the ArcGIS API for Python — arcgis 1.9.1 documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 17:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123904#M63173</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-08T17:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pass SEDF as feature class into arcpy geoprocessing tools</title>
      <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123929#M63176</link>
      <description>&lt;P&gt;In the ArcGIS API docs it is difficult to discern what method, if any accepts SEDFs besides&amp;nbsp;GeoAccessor and GeoSeriesAccessor, which I am relatively comfortable with.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 17:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123929#M63176</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2021-12-08T17:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pass SEDF as feature class into arcpy geoprocessing tools</title>
      <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123939#M63177</link>
      <description>&lt;P&gt;from your multiple posts, it appears that you are trying to emulate Pro functionality without using Pro tools.&amp;nbsp; Arcpy is limited when used in the python api.&amp;nbsp; the geoprocessing functionality uses either arcpy or shapely and since arcpy's exposure is limited and shapely isn't a replacement for arcpy's capabilities, you are sort of stuck&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 18:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123939#M63177</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-08T18:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pass SEDF as feature class into arcpy geoprocessing tools</title>
      <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123957#M63178</link>
      <description>&lt;P&gt;I'm not necessarily stuck.&amp;nbsp; I can get a lot done with a SEDF, just trying to see where the left and right bounds are.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 18:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1123957#M63178</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2021-12-08T18:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pass SEDF as feature class into arcpy geoprocessing tools</title>
      <link>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1124019#M63182</link>
      <description>&lt;P&gt;examining the code in&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\_Your_Install_folder_\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;will give you a good idea how everything is pieced together and what is available and what is not&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 21:05:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pass-sedf-as-feature-class-into-arcpy/m-p/1124019#M63182</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-08T21:05:51Z</dc:date>
    </item>
  </channel>
</rss>

