OGCFeatureAPIReferenceLoader
loader.OGCFeatureAPIReferenceLoader(
url,
id_property,
collection,
aligner,
partition=1000,
limit=DOWNLOAD_LIMIT,
is_reference=True,
)Loader for OGC API - Features services.
Fetches data using spatial filters (BBOX) and handles partitioning of large datasets based on the thematic extent.
Methods
| Name | Description |
|---|---|
| load_data | Validates the OGC service and downloads data within the thematic extent. |
load_data
loader.OGCFeatureAPIReferenceLoader.load_data()Validates the OGC service and downloads data within the thematic extent.
Returns
| Name | Type | Description |
|---|---|---|
| AlignerFeatureCollection | The downloaded and processed reference data. |
Raises
| Name | Type | Description |
|---|---|---|
| ValueError | If thematic data is missing, the collection is not found, or the service does not support the Aligner’s CRS. |
Notes
graph LR
Thematic[Thematic Data Extent] --> Buffer[Apply MAX_REFERENCE_BUFFER]
Buffer --> Partition[Split into BBOX Partitions]
Partition --> Request[HTTP GetFeature/Items]
Request --> Merge[Merge Results into Collection]
subgraph Service[External OGC/WFS Service]
Request
end