Thanks to Peter Barker for his work to library-ify Plane's geofence which was the basis for this work.