diff options
Diffstat (limited to 'scripts/gpx/check_gpx.py')
-rwxr-xr-x | scripts/gpx/check_gpx.py | 4 |
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 | |||
86 | if __name__ == '__main__': | 84 | if __name__ == '__main__': |
87 | main(sys.argv) | 85 | main(sys.argv) |