Skip to Main Content

Database Software

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!

Calculation of Distance.

515487Jun 5 2006 — edited Jun 6 2006
Hi, Everyone

Case: MapViewer 11 EA, Oracle Map, want to calculate distance of two points.
Because I can know the point1X, point1Y, point2X, and point2Y;
then: distance = square root (x2-x1)Pow2+(y2-y1)Pow2 (Map Unit).
However: the result is different from correct distance; I guess it might need to consider the globe curve.
If I only want to calculate the distance based on the two points on client side machine, is there a formuler for it?
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2006
Added on Jun 5 2006
3 comments
493 views