Select to view content in your preferred language

Interactive User Input using ArcGIS API for Python

a month ago
Labels (3)
New Contributor II

Hello Everyone,

I have an issue while trying to add features to a web layer published in ArcGIS Online through ArcGIS API for Python.
I want to open a map widget and add the layer to it. Then, I want to open like an edit session to add features (Polygons) interactively through the open map widget.
All this in ArcGIS Notebooks on AGOL.

Anyone can help, please??

0 Kudos
1 Reply
Occasional Contributor

It seems possible albeit somewhat involved:

Part 2 - Working with Geometries | ArcGIS API for Python

About halfway down is a Creating geometries interactively using the map widget section. It seems like you'll have the capture what the user draws inside the widget, copy the geometry, then append a new feature with that geometry to your layer. To fill out the metadata, you could import ipywidgets and make a few fields the user fills out

0 Kudos