def landing_location(self): if self.landing_location_wkt is None: return None wkt = DBSession.scalar(self.landing_location_wkt.wkt) return Location.from_wkt(wkt)
def takeoff_location(self): if self.takeoff_location_wkt is None: return None wkt = DBSession.scalar(self.takeoff_location_wkt.wkt) return Location.from_wkt(wkt)