Ga naar inhoud

BRP

BrpDownload dataclass

Metadata for a downloaded BRP release.

BrpFeedError

Bases: ValueError

Raised when the BRP Atom feed cannot be parsed as expected.

BrpGeoPackageNotFoundError

Bases: BrpFeedError

Raised when no GeoPackage download can be found in the BRP Atom feed.

BrpRelease dataclass

Metadata for a BRP GeoPackage release discovered in the Atom feed.

download_brp(download_dir=datastore.brp_dir, *, filename=None, overwrite=True, feed_url=ATOM_FEED_URL)

Download the latest definitive BRP GeoPackage from the Atom feed.

find_latest_brp_geopackage(feed_url=ATOM_FEED_URL, *, timeout=30)

Find the latest definitive BRP GeoPackage download in the Atom feed.

Redactie: AI