I have a large amount of data associated with latitude/longitude in a database (currently housed in MS SQL Server).
For the data, I would like to use SQL to calculate the distance from a user derived lat long and then use this distance in an inverse distance weighting (IDW) algorithm. I want to do this in SQL rather than inside of a GIS because the data is quite honestly large and complex and I have a tendency to not rely on ArcGIS to do these calculations.
I was wondering if there are SQL implementations of IDW algorithm out there that some could share.
As stated in the link above, IDW is NOT a distance calculator rather the IDW algorithm is an INTERPOLATION function which uses distance as an input. Please remove the duplication status.