Fix >1 depth child fetching

This commit is contained in:
2026-06-26 00:26:56 +02:00
parent bd950a1650
commit 6a6fad2e77
+1 -1
View File
@@ -231,7 +231,7 @@ generate_region() {
fetch_path() {
local PATH_ARG="$1"
curl -s https://download.geofabrik.de/index-v1-nogeom.json | jq -r --arg pid "$PATH_ARG" '
curl -s https://download.geofabrik.de/index-v1-nogeom.json | jq -r --arg pid "${PATH_ARG##*/}" '
.features[]
| select(
if ($pid == "" or $pid == "planet") then