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. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
