diff --git a/odm_preprocess.py b/odm_preprocess.py index 96bc64a..b3015c0 100644 --- a/odm_preprocess.py +++ b/odm_preprocess.py @@ -192,7 +192,7 @@ class ImagePreprocessor: previous_points = self.gps_points.copy() # 按时间戳排序 - self.gps_points = self.gps_points.sort_values('timestamp') + self.gps_points = self.gps_points.sort_values('date') # 保留索引为偶数的行(即隔一个保留一个) self.gps_points = self.gps_points.iloc[::2].reset_index(drop=True)