diff --git a/GeoSpatialTools/octtree.py b/GeoSpatialTools/octtree.py index 19724b40838f7081fdf7a85d3d4e91cc989305fd..c8f6ab3e46a8476741258af2b188d45bb290c646 100644 --- a/GeoSpatialTools/octtree.py +++ b/GeoSpatialTools/octtree.py @@ -273,7 +273,7 @@ class SpaceTimeEllipse: self.p2_lon, self.p2_lat = destination( self.lon, self.lat, - (180 - self.bearing) % 360, + (self.bearing - 180) % 360, self.c, ) diff --git a/GeoSpatialTools/quadtree.py b/GeoSpatialTools/quadtree.py index 41f52ed7993a6d571cc82e2540959436cff0682f..f58c41c3060787399d7a295e5225b6f69a207b9d 100644 --- a/GeoSpatialTools/quadtree.py +++ b/GeoSpatialTools/quadtree.py @@ -193,7 +193,7 @@ class Ellipse: self.p2_lon, self.p2_lat = destination( self.lon, self.lat, - (180 - self.bearing) % 360, + (self.bearing - 180) % 360, self.c, )