tippecanoe/test-python

14 lines
275 B
Plaintext
Raw Normal View History

2018-10-26 15:14:32 -07:00
#!/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/$$