Select to view content in your preferred language

Spatial query for group assignments in AGOL via Python API

291
0
04-06-2022 07:42 AM
Katie_Clark
MVP Regular Contributor

Hello,

Apologies for what is probably a very novice question - but I'm wondering if it's possible to do something through the API for Python.

My organization has ~9,000 items in our AGOL portal. We are going through a restructuring after several acquisitions, creating groups for each state, and so content that falls within that state will need to be assigned to the state's group. As you can imagine, the idea of doing this manually is not very appealing...

I'm hoping it's possible to run a query using the Python API and return all the items that fall within a certain states boundary, then assign all of those items to a group in one go.

Any advice to point me in the right direction is much appreciated! 🙂

Best,
Katie


“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek
0 Kudos
0 Replies