How to use the movingpandas.trajectory_aggregator._PtsExtractor function in movingpandas

To help you get started, we’ve selected a few movingpandas examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github anitagraser / movingpandas / movingpandas / trajectory_aggregator.py View on Github external
def _extract_significant_points(self):
        significant_points = []
        for traj in self.traj_collection.trajectories:
            a = _PtsExtractor(traj, self.max_distance, self.min_distance, self.min_stop_duration, self.min_angle)
            significant_points = significant_points + a.find_significant_points()
        return significant_points