You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a spill location is created or updated for an incident, the map widget should automatically find the nearest waterbody (using NHD data from SGID within a reasonable distance) and update Salesforce fields with the waterbody name and distance.
This could possibly be accomplished by querying the relevant NHD data within the search radius and then looping through each returned geometry to find the one that is closest.
Tasks
Determine which NHD layers, specifically, they would like searched (submitted this question to Sarah on 10/15)
Determine what a "reasonable distance" is
Determine what salesforce field should hold this data
Create a trigger for any time a spill location is created or updated
Query NDH layer(s)
Write value to Salesforce
The text was updated successfully, but these errors were encountered:
From client:
This could possibly be accomplished by querying the relevant NHD data within the search radius and then looping through each returned geometry to find the one that is closest.
Tasks
The text was updated successfully, but these errors were encountered: