Select to view content in your preferred language

Allow ArcPy Geoprocessing Tools to output to Spatially Enabled DataFrame (SEDF)

616
1
08-29-2022 01:47 PM
Status: Open
Labels (1)
TylerT
by
Frequent Contributor

It would add efficiency to allow ArcPy Geoprocessing Tools to output to Spatially Enabled DataFrame (SEDF) rather than having to push to a GDB or Memory then re-read back into a SEDF.  

Thank you,

Tyler

1 Comment
simoxu
by MVP Regular Contributor

Hi Tyler

Please see if the example 4 in the following document helps.

Summary Statistics (Analysis)—ArcGIS Pro | Documentation

I tried to use the following code to read a layer in ArcGIS Pro, and it also works:

sedf_from_FL = pd.DataFrame.spatial.from_featureclass("your layer name")

 

Cheers,

Simo