aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-17 11:11:13 +0800
committertypebrook <typebrook@gmail.com>2019-12-17 11:11:13 +0800
commit98d780f88522accc20124e18beab85bf42d09584 (patch)
treea492c1a9dc2ac2f6a308d7eb8fc4f6c28c5aa103
parent950c74ac1512f2b13396c622353dbfcaccb0bfe6 (diff)
update
-rwxr-xr-xscripts/gpx/check_gpx.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/gpx/check_gpx.py b/scripts/gpx/check_gpx.py
index f1e5c2f..fc594d1 100755
--- a/scripts/gpx/check_gpx.py
+++ b/scripts/gpx/check_gpx.py
@@ -52,7 +52,7 @@ def check_valid(filename, threshold, add_prefix):
52 geom2.Transform(to4326) 52 geom2.Transform(to4326)
53 if distance >= threshold: 53 if distance >= threshold:
54 if not flag: 54 if not flag:
55 print(f'{filename} has problem, check with the folling urls:') 55 print(f'{filename} has problem, the following urls shows the points with distance far from {threshold}m:')
56 print() 56 print()
57 flag = True 57 flag = True
58 if add_prefix: 58 if add_prefix:
@@ -81,7 +81,5 @@ def main(argv):
81 for file in args.file: 81 for file in args.file:
82 check_valid(file, args.distance, args.i) 82 check_valid(file, args.distance, args.i)
83 83
84 print(args.distance)
85
86if __name__ == '__main__': 84if __name__ == '__main__':
87 main(sys.argv) 85 main(sys.argv)