From 5a8731aada4f4d742e12e5a817c23061ea5e8175 Mon Sep 17 00:00:00 2001 From: Kamil Raczycki Date: Thu, 2 Jan 2025 21:02:24 +0100 Subject: [PATCH] chore: change default osm download source --- CHANGELOG.md | 4 ++++ srai/loaders/osm_loaders/osm_pbf_loader.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5acae37c..aeb5b779 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Default OSM download source from Geofabrik to `any` + ## [0.8.3] - 2025-01-01 ### Fixed diff --git a/srai/loaders/osm_loaders/osm_pbf_loader.py b/srai/loaders/osm_loaders/osm_pbf_loader.py index 6c0568aa..972c0401 100644 --- a/srai/loaders/osm_loaders/osm_pbf_loader.py +++ b/srai/loaders/osm_loaders/osm_pbf_loader.py @@ -46,7 +46,7 @@ class OSMPbfLoader(OSMLoader): def __init__( self, pbf_file: Optional[Union[str, Path]] = None, - download_source: "OsmExtractSource" = "geofabrik", + download_source: "OsmExtractSource" = "any", download_directory: Union[str, Path] = "files", ) -> None: """