Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
A
auto_join_edge
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xuebingbing
auto_join_edge
Commits
95614a8c
Commit
95614a8c
authored
Jun 15, 2020
by
xiongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不要对经纬高进行抽稀
parent
ad45107b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
connect_mesh.py
connect_solution/connect_mesh.py
+0
-5
main.py
main.py
+1
-1
No files found.
connect_solution/connect_mesh.py
View file @
95614a8c
...
...
@@ -1106,11 +1106,6 @@ class ConnectTwoMeshByTopo:
target_blh_dataset2
=
transform_to_src
(
target_utm_dataset2
,
source_srs
,
utm_srs
)
target_blh_dataset1
.
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
]
@staticmethod
...
...
main.py
View file @
95614a8c
...
...
@@ -210,7 +210,7 @@ def run(connect_postgresql, sheet_designation_path, mesh_box_path, output_docume
if
__name__
==
'__main__'
:
arg1
=
r"PG:dbname='test
2
' host='localhost' port='5432' user='postgres' password='19931018'"
arg1
=
r"PG:dbname='test
3
' host='localhost' port='5432' user='postgres' password='19931018'"
arg2
=
r"C:\Users\熊超\Desktop\edge_match_file\mesh_ids.txt"
arg3
=
r"C:\Users\熊超\Desktop\edge_match_file\mesh_grid.gpkg"
arg4
=
r"C:\Users\熊超\Desktop\edge_match_file"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment