Skip to content

Commit

Permalink
fix: set geofabrik as default download_source for OSMPbfLoader (#444)
Browse files Browse the repository at this point in the history
* fix: set geofabrik as default download_source for OSMPbfLoader

* chore: add changes to changelog
  • Loading branch information
simonusher authored Apr 21, 2024
1 parent a5e31cb commit b2e2072
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- make geofabrik the default download source for OSMPbfLoader

## [0.7.2] - 2024-04-20

### Changed
Expand Down
2 changes: 1 addition & 1 deletion srai/loaders/osm_loaders/osm_pbf_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class OSMPbfLoader(OSMLoader):
def __init__(
self,
pbf_file: Optional[Union[str, Path]] = None,
download_source: "OsmExtractSource" = "any",
download_source: "OsmExtractSource" = "geofabrik",
download_directory: Union[str, Path] = "files",
) -> None:
"""
Expand Down

0 comments on commit b2e2072

Please sign in to comment.