Getting Started
This page shows the recommended onboarding path for new brdr users.
Prerequisites
- Use a projected CRS with meter units.
- Ensure thematic and reference data are in the same CRS.
- Start with a small subset of features before scaling.
Step-by-step
- Create an
Aligner. - Load thematic data (
DictLoader,GeoJsonLoader,GeoDataFrameLoader, …). - Load reference data (local or on-the-fly loaders).
- Run:
process(...)for full distance series outputpredict(...)for candidate distancesevaluate(...)for scored/classified predictions
- Export with
get_results_as_geojson(...)orsave_results(...).
Minimal code shape
from brdr.aligner import Aligner
aligner = Aligner(crs="EPSG:31370")
aligner.load_thematic_data(...)
aligner.load_reference_data(...)
aligner_result = aligner.process(relevant_distances=[0.5, 1.0, 1.5])
results = aligner_result.get_results(aligner=aligner)