mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-09 12:01:14 +00:00
Script to run tiles through python
This commit is contained in:
parent
dd72e670b5
commit
719b5b8754
13
test-python
Executable file
13
test-python
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -rf /tmp/vec
|
||||
../mbutil/mb-util --image_format=pbf $1 /tmp/vec
|
||||
|
||||
find /tmp/vec -name '*.pbf' -type f -print0 |
|
||||
if xargs -0 python3 ../vector-tile-base/tests/test_decode_reencode.py
|
||||
then :
|
||||
else exit 1
|
||||
fi
|
||||
|
||||
./tippecanoe-decode -x generator /tmp/vec
|
||||
# rm -rf /tmp/$$
|
Loading…
x
Reference in New Issue
Block a user