Select to view content in your preferred language

Enriching from an external API?

115
3
Jump to solution
2 weeks ago
SimonGIS
Regular Contributor

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. 

0 Kudos
1 Solution

Accepted Solutions
JeffSilberberg
Frequent Contributor

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.

 

 

 

View solution in original post

3 Replies
JeffSilberberg
Frequent Contributor

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.

 

 

 

PeterNasuti
Esri Contributor

@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.

SimonGIS
Regular Contributor

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. 

0 Kudos