Commit 95614a8c authored by xiongchao's avatar xiongchao

不要对经纬高进行抽稀

parent ad45107b
...@@ -1106,11 +1106,6 @@ class ConnectTwoMeshByTopo: ...@@ -1106,11 +1106,6 @@ class ConnectTwoMeshByTopo:
target_blh_dataset2 = transform_to_src(target_utm_dataset2, source_srs, utm_srs) target_blh_dataset2 = transform_to_src(target_utm_dataset2, source_srs, utm_srs)
target_blh_dataset1.append(blh_intersection_point) target_blh_dataset1.append(blh_intersection_point)
target_blh_dataset2.append(blh_intersection_point) target_blh_dataset2.append(blh_intersection_point)
if len(target_blh_dataset1) > 1:
target_blh_dataset1 = ImprovedDouglasPeucker(const.INTERPOLATION_COUNT4).main(target_blh_dataset1)
if len(target_blh_dataset2) > 1:
target_blh_dataset2 = ImprovedDouglasPeucker(const.INTERPOLATION_COUNT4).main(target_blh_dataset2)
return True, [target_blh_dataset1, target_blh_dataset2, blh_intersection_point] return True, [target_blh_dataset1, target_blh_dataset2, blh_intersection_point]
@staticmethod @staticmethod
......
...@@ -210,7 +210,7 @@ def run(connect_postgresql, sheet_designation_path, mesh_box_path, output_docume ...@@ -210,7 +210,7 @@ def run(connect_postgresql, sheet_designation_path, mesh_box_path, output_docume
if __name__ == '__main__': if __name__ == '__main__':
arg1 = r"PG:dbname='test2' host='localhost' port='5432' user='postgres' password='19931018'" arg1 = r"PG:dbname='test3' host='localhost' port='5432' user='postgres' password='19931018'"
arg2 = r"C:\Users\熊超\Desktop\edge_match_file\mesh_ids.txt" arg2 = r"C:\Users\熊超\Desktop\edge_match_file\mesh_ids.txt"
arg3 = r"C:\Users\熊超\Desktop\edge_match_file\mesh_grid.gpkg" arg3 = r"C:\Users\熊超\Desktop\edge_match_file\mesh_grid.gpkg"
arg4 = r"C:\Users\熊超\Desktop\edge_match_file" arg4 = r"C:\Users\熊超\Desktop\edge_match_file"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment