loader.grbactualloader – BRDR - Aligning borders

# loader.GRBActualLoader

    be.grb.loader.GRBActualLoader(grb_type, aligner, partition=1000)

Loader for the most recent version of GRB (Grootschalig Referentie Bestand).

This loader fetches live thematic reference data (such as buildings, parcels, or road edges) based on the spatial extent of the thematic data currently held by the aligner.

## Parameters

Name | Type | Description | Default
--- | --- | --- | ---
grb_type | GRBType | The specific type of GRB data to load (e.g., ADP, Gebouw). | required
aligner | Any | The aligner object providing the spatial context, logger, and CRS. | required
partition | int | Number of features per request to handle large datasets, by default 1000. | `1000`

## Attributes

Name | Type | Description
--- | --- | ---
aligner | Any | Reference to the parent aligner.
grb_type | GRBType | The requested GRB layer type.
part | int | The partitioning size for downloads.
versiondate_info | dict | Information about the versioning metadata format.

## Methods

Name | Description
--- | ---
load_data | Download and process the actual GRB data from the web service.

### load_data

    be.grb.loader.GRBActualLoader.load_data()

Download and process the actual GRB data from the web service.

Calculates a search buffer around the union of thematic geometries to ensure all relevant reference features are captured.

#### Returns

Name | Type | Description
--- | --- | ---
| Any | The processed FeatureCollection from the parent GeoJsonLoader.

#### Raises

Name | Type | Description
--- | --- | ---
| ValueError | If thematic data has not been loaded into the aligner prior to calling this method.