From 719b5b8754207447e1eea425e8988eced52f00dc Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Fri, 26 Oct 2018 15:14:32 -0700 Subject: [PATCH] Script to run tiles through python --- test-python | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test-python diff --git a/test-python b/test-python new file mode 100755 index 0000000..ffbbc80 --- /dev/null +++ b/test-python @@ -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/$$