I have an incoming feed of unplanned outages. I would like to enrich these values with additional fields that will help with later big data analytics but stuck on an optimal approach to do this within the ArcGIS ecosystem.
Specifically, I would like to retrieve current weather conditions for a given coordainte location.
There are several API endpoints providing similar capabilities, but initial preference is for Azure Maps - Weather.
Are there any examples of how a 2nd HTTP poller could be incorporated into a real-time analytic, so that when incoming outages on a feed occurs, the lat/lon can be used as dynamic URL parameters to poll a weather API to fetch and enrich the feed with additional values?
the weather conditions from Azure Maps (or another API) for the given latitude and longitude.
Solved! Go to Solution.
Not sure you can. There is an Output Node for HTTP POST, but there is no Return data capability in it.
https://doc.arcgis.com/en/velocity/disseminate-and-notify/endpoint.htm
Maybe a separate Phyton script that executes before invoking your BDA, that uses the Rest API to enrich your feature layer created by the RTA.
Not sure you can. There is an Output Node for HTTP POST, but there is no Return data capability in it.
https://doc.arcgis.com/en/velocity/disseminate-and-notify/endpoint.htm
Maybe a separate Phyton script that executes before invoking your BDA, that uses the Rest API to enrich your feature layer created by the RTA.
@SimonGIS Yes, @JeffSilberberg is correct that this is not currently available out-of-the-box in Velocity within real-time analytics. We will continue to evaluate it for future product enhancement. Feel free to submit through the Ideas page or an Esri Support enhancement request.
Thanks @JeffSilberberg and @PeterNasuti
Thanks for confirming. For my use case, the 'velocity' of the incoming feed is fairly low. Therefore I will have a look at how I can accomplish this with the ArcGIS Connectors for Microsoft Automate. Catching the incoming new features and then doing a post in Automate to enrich them.