Thread: Lat / Long
View Single Post
  #8 (permalink)  
Old October 7th, 2008, 16:13
Stefano Stefano is offline
Member
 
Join Date: Mar 2007
Location: Italy
Posts: 34
Thanks: 4
Thanked 6 Times in 6 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Stefano is on a distinguished road
Send a message via MSN to Stefano Send a message via Skype™ to Stefano
Thumbs up Re: Lat / Long

Hi
looking in Database PL/SQL PACKAGES you can find in schema GLOGOWNER
Package GPOINT
inside it the function:
"function estimate_distance(fromLat number, fromLon number, toLat number, toLon number) return number"

this function referring to java code in db (DbGPoint.calculateEstimateDistance), you could open (with TOAD or something similar) and check also the java code .

I haven't test if this function return same values returned by UI, but I imagine yes.

Regards
Reply With Quote
The Following User Says Thank You to Stefano For This Useful Post:
njoyotm (October 8th, 2008)