Skip to content

Commit

Permalink
Exit pipeline early if the tiles are already generated
Browse files Browse the repository at this point in the history
  • Loading branch information
DingoEatingFuzz committed Oct 13, 2019
1 parent 6d94db7 commit fa3087f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipeline.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if [ -f "tiles/tiles.mbtiles" ]; then
echo "Tiles already generated."
exit 0;
fi

mkdir -p tiles
time tl copy -z 10 -Z 15 \
-b "-123.2762 45.1926 -122.1817 45.8201" \
Expand Down

0 comments on commit fa3087f

Please sign in to comment.