Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Calculate distance between Latitude and Longitude

msbAug 14 2013 — edited Aug 15 2013

Hi All,

I have one Latitude and Longitude points. I need to calculate distance between them.

Right now we are using HAVERSINE formula but the query takes longer time to complete.

Reference: http://www.movable-type.co.uk/scripts/latlong.html

Please assist on this.

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2013
Added on Aug 14 2013
7 comments
16,945 views