diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-14 13:33:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-14 13:33:23 +0800 |
commit | 6fae25b305d714b3ab7608fa003f1af9bf024545 (patch) | |
tree | 05507b2c0505659d2fd847ecce988dacab63a236 /tools/misc/mvt_decode.py | |
parent | 41ad31a2dee9ff912f222652f022b4c55cddcbf7 (diff) |
Rename tools into bin
Diffstat (limited to 'tools/misc/mvt_decode.py')
-rwxr-xr-x | tools/misc/mvt_decode.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/misc/mvt_decode.py b/tools/misc/mvt_decode.py deleted file mode 100755 index 7c9ac89..0000000 --- a/tools/misc/mvt_decode.py +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #! /bin/env python3 | ||
2 | |||
3 | import mapbox_vector_tile | ||
4 | import sys | ||
5 | |||
6 | mvt = sys.argv[1] | ||
7 | |||
8 | with open(mvt, 'rb') as f: | ||
9 | data = f.read() | ||
10 | decoded_data = mapbox_vector_tile.decode(data) | ||
11 | print(decoded_data) | ||