# loader.GRBActualLoader { #brdr.be.grb.loader.GRBActualLoader }

```python
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 {.doc-section .doc-section-parameters}

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

## Attributes {.doc-section .doc-section-attributes}

| Name             | Type                                   | Description                                       |
|------------------|----------------------------------------|---------------------------------------------------|
| aligner          | [Any](`typing.Any`)                    | Reference to the parent aligner.                  |
| grb_type         | [GRBType](`brdr.be.grb.enums.GRBType`) | The requested GRB layer type.                     |
| part             | [int](`int`)                           | The partitioning size for downloads.              |
| versiondate_info | [dict](`dict`)                         | Information about the versioning metadata format. |

## Methods

| Name | Description |
| --- | --- |
| [load_data](#brdr.be.grb.loader.GRBActualLoader.load_data) | Download and process the actual GRB data from the web service. |

### load_data { #brdr.be.grb.loader.GRBActualLoader.load_data }

```python
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 {.doc-section .doc-section-returns}

| Name   | Type                | Description                                                    |
|--------|---------------------|----------------------------------------------------------------|
|        | [Any](`typing.Any`) | The processed FeatureCollection from the parent GeoJsonLoader. |

#### Raises {.doc-section .doc-section-raises}

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