Commit c82c3104 authored by Ludvik Brodl's avatar Ludvik Brodl
Browse files

Adds error handling for when there are no buildings inside the grid

parent d850acba
......@@ -151,7 +151,7 @@ function grid_shape() {
-tye $ymin $ymax \
-outsize $ncells $ncells \
-co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=9 \
$pointfile $tiffile
$pointfile $tiffile || echo "No buildings found in the layer, moving on"
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment