Commit 6656fe83 authored by Eric Duminil's avatar Eric Duminil
Browse files

Download Bayern

parent abd05efa
citygml/
tmp/
__pycache__/
from pathlib import Path
import download_metalink
SCRIPT_DIR = Path(__file__).resolve().parent
BAYERN_METALINK = "https://geodaten.bayern.de/odd/a/lod2/citygml/meta/metalink/09.meta4"
download_metalink.download_all_files(BAYERN_METALINK, SCRIPT_DIR / "citygml" / "bayern")
......@@ -157,7 +157,7 @@ def download_and_verify(file_info: dict, tmp_dir: Path, download_dir: Path, max_
def download_all_files(
metalink: str, download_path: Path, tmp_path: Path, jobs: int = 4, retries: int = 3
metalink: str, download_path: Path, tmp_path: Path = SCRIPT_DIR / "tmp", jobs: int = 4, retries: int = 3
):
# Create directories
tmp_path.mkdir(parents=True, exist_ok=True)
......
Supports Markdown
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