Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email map of latest locations #40

Open
regan-sarwas opened this issue May 14, 2021 · 1 comment
Open

Email map of latest locations #40

regan-sarwas opened this issue May 14, 2021 · 1 comment

Comments

@regan-sarwas
Copy link
Member

From Mat Sorum (2021-03-15 via helpdesk email):

It's been helpful getting daily location updates. Another thing that would be valuable would be receiving a daily map of the most recent locations via email. It would make it easier to track daily movements when we are away from the office or have poor internet connection. Can you envision a way to develop an automated email for something like that?

Related to Issue #39

@regan-sarwas
Copy link
Member Author

I think this could be done with Python and arcpy in a script similar to email_updates.py:

  1. Create a map document with a query layer for the latest location. User should be consulted on the basemap layers they prefer as well as point symbology and labeling. Save the map in a well known location available to the script.
  2. The script would open the map with arcpy.mapping or arcpy.mp (Pro). Zoom to extents, export the jpg to a temporary folder.
  3. Then attach the jpeg to the email message. Examples here and here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant