Not necessarily looking for specific code help but mostly soliciting general ideas on how others have or would proceed.
We don't have Geoevent Server. Externally, where this will run we have an ArcGIS Server setup which hosts some of our public web services. On that machine I have ArcMap 10.8 as well as the most current ArcGIS Pro. So far I've been hacking away using the existing Python 2.7 with Pythonwin. We also have an ArcGIS Online site where the Web Maps for public consumption are hosted.
I was asked by one of our divisions if I could create a publicly available web map that would display snow plow locations. All of our large vehicles in Public Works have GPS tracking through a 3rd Party. That third party has given me login credentials which I can use to gain access to their SOAP endpoint.
Using python I have been able to login, retrieve a session id token and then turn around and retrieve vehicle lists as well as vehicle snapshots (containing location, speed, heading, ignition status, etc.) in XML.
Again using python I've been able to parse out the information I need to get it into excel and then arcpy to get it into a file geodatabase as a table. So far these steps were really just to determine whether or not I would be able to retrieve usable data. I believe I have done that. I can create points and view them in either ArcMap or Pro.
As I said initially this is more a of a request for ideas. In the end I need to publish a service that I can consume in a web map that will display the current location of certain vehicles, for example snow plows. These locations will need to refresh with new locations relatively frequently when the plows are running.
I will also maintain the location history of the vehicles for some period of time, undetermined at this point, in case we want to go back and display vehicle movement over time. Just for an idea of the scale of the project, there are a total of 29 vehicles and for plowing purposes they would use a small subset of those.
While the plows are running I would need to have python requesting location snapshots on some periodic but frequent basis. Make some useable GIS data from it. Display the latest locations on the map while maintaining the previous locations. I'm sure there are lots of things I am not considering so I thought I would throw it out there for suggestions.