arcgis-python-api icon indicating copy to clipboard operation
arcgis-python-api copied to clipboard

Visualizing Spatially Enabled DataFrame from Shapefile doesn't work with the newest Docker Image

Open phuongduyta opened this issue 1 year ago • 2 comments

Describe the bug With the newest docker image ghcr.io/esri/arcgis-python-api-notebook:latest (ArcGIS API Python 2.2), the Visualizing of Spatially Enabled DataFrame from Shapefile doesn't work as expected.

To Reproduce Steps to reproduce the behavior: from arcgis.gis import GIS import pandas as pd

gis = GIS() shp = ".../test_point_shp.shp" sdf = pd.DataFrame.spatial.from_featureclass(shp) sdf.head() m1 = gis.map('GER') sdf.spatial.plot(map_widget=m1) m1

error:
```python
There is no error code, the points are just not added.

Expected behavior The points should be added to the map

Additional context test_point_shp.shp is provided. test_point_shp.zip

phuongduyta avatar Oct 06 '23 09:10 phuongduyta

What version of Python are you using?

nanaeaubry avatar Oct 10 '23 16:10 nanaeaubry

This docker image uses python 3.9

jtroe avatar Oct 10 '23 16:10 jtroe

New docker image available, closing this. Feel free to reopen if needed

nanaeaubry avatar May 13 '24 10:05 nanaeaubry