[rules-users] VCRP - Distance calculation in getMilliDistance

muerlings muerlings at gmail.com
Fri Feb 28 23:53:18 EST 2014


Please, take a look at http://en.wikipedia.org/wiki/Great-circle_distance

In it, there are formulas based on latitude and longitude for arc length
calculation. The problem is that they are "expensive" formulas based on
trigonometric functions and could heavily impact performance, but they are a
better aproximation than the cord length.

mu





--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-VCRP-Distance-calculation-in-getMilliDistance-tp4028382p4028433.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list