I have a set of coordiantes(long,lat) as stations and one center coordinate which I should compute the weight of each station to this center coordinate using IDW.
My problem is that all of the implementation for IDW are for cartesian coordinate(x,y) on a flat map and not langitute and latitude for the earth. I use Haversine_formula to get the distance between locations and after that I don't know how to apply it to IDW formula.
I would appretiate any help and code in advanced.