Add usage info to mapbuilder script

This commit is contained in:
Antonia 2025-03-12 21:19:46 +01:00
parent 909a9447f8
commit 3966c5914b

View file

@ -1,6 +1,9 @@
#!/bin/bash
[ -n "$1" -a -n "$2" ] || {
echo "Usage: $0 INPUT_DIRECTORY OUTPUT_DIRECTORY"
exit 1
}
temp=$(mktemp -d)
zoom=$(jq '.maxZoom // 10' "$1/layers.json")