This function calculates the new geographical position given a starting longitude, latitude, distance, and bearing.
Usage
calculate_new_position(start_lon, start_lat, distance, bearing)
Arguments
- start_lon
The starting longitude in decimal degrees.
- start_lat
The starting latitude in decimal degrees.
- distance
The distance to travel from the starting point, in meters.
- bearing
The direction of travel in degrees from north (clockwise).
Value
A list containing the new longitude and latitude in decimal degrees.