How to Calculate Bearing Angle Between Two Points (Doc ID 559021.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version: 10.1.0.1 to 10.2.0.5.0 - Release: 10.1 to
Information in this document applies to any platform.

Goal

Given 2 point type SDO_GEOMETRY objects, how to calculate the bearing angle from the first point to the other? 

At the moment there is no built-in function to calculate bearing angle between 2 sdo_geometry objects.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms