删掉坐标转换功能

This commit is contained in:
weixin_46229132 2025-06-12 16:49:57 +08:00
parent 1685f8c951
commit db283b40a4

View File

@ -8,14 +8,12 @@ import fiona
from edt import edt
import numpy as np
import math
from post_pro.trans_orthophoto import TransOrthophoto
class MergeTif:
def __init__(self, output_dir: str):
self.output_dir = output_dir
self.logger = logging.getLogger('UAV_Preprocess.MergeTif')
self.trans_orthophoto = TransOrthophoto()
def merge_orthophoto(self, grid_lt):
"""合并网格的正射影像"""
@ -55,9 +53,6 @@ class MergeTif:
self.output_dir, "orthophoto.tif"), orthophoto_vars)
self.logger.info("所有产品合并完成")
self.trans_orthophoto.trans_to_epsg4326(os.path.join(self.output_dir, "orthophoto.tif"), os.path.join(
self.output_dir, "orthophoto_epsg4326.tif"))
except Exception as e:
self.logger.error(f"产品合并过程中发生错误: {str(e)}", exc_info=True)
raise