AnsweredAssumed Answered

ArcGIS API for Python Kernel crashing when I visualize an SEDF containing polygons

Question asked by Mhersher_prattSAVI on Oct 16, 2020
Latest reply on Oct 16, 2020 by danretired

The issue

I have a spatially enabled dataframe (SEDF) that contains Ring geometries in the SHAPE column and am trying to plot it using the spatial.plot() method of SEDFs. I can get it to work with point geometries, but when I try to plot a polygon the kernel of my notebook crashes every time. Wondering if it was my dataset, I went back to the notebook in the documentation to see if the same thing happens when I run the Polygon example listed there. I've found that it does the same thing (ie. the kernel dies when I try to run the example that plots a ring geometry, but not when it plots the point geometry).

 

Replicating

I'm using arcgis version 1.8.2 installed on MacOS Mojave Version 10.14.6. I've tried running the notebook connected to ArcGIS Online as an anonymous user and with my credentials. The issue is the same both ways. You can recreate the issue I'm having by running the  code that comes from the polygon example in the ArcGIS Python documentation. I've included a notebook that is a copy of this documentation (visualizing data with the spatially enabled dataframe | ArcGIS for Developers), but pared down to only include the point example that works fine and the polygon example that errors. You should be able to replicate the issue by running this notebook with the arcgis python API version 1.8.2.

Outcomes