AnsweredAssumed Answered

Set the extent of an AGOL map or feature layer through Python

Question asked by jgarrido on Aug 13, 2020
Latest reply on Aug 19, 2020 by JMak_NC

I have a Crime map that gets updated every night with fresh data from our RMS system.  The raw data gets geocoded, washed of any specifics (e.g. officer, victim, etc.), and then uploaded to the County Sheriff's folder in AGOL. This is all done through Python.  Is there a way in Python to add the extent information onto the feature layer and/or to the online map itself?  I have the organization's extent coordinates (Top, Bottom, Left, Right) in decimal degrees.

 

Thank you in advance.

 

Julio G.

Outcomes