WFSReferenceLoader

loader.WFSReferenceLoader(
    url,
    id_property,
    typename,
    aligner,
    partition=1000,
    limit=DOWNLOAD_LIMIT,
    is_reference=True,
)

Loader for OGC Web Feature Service (WFS) version 2.0.0.

Supports GetCapabilities parsing and GetFeature requests with spatial filtering using the Aligner’s extent.

Methods

Name Description
load_data Downloads features via GetFeature based on capabilities and extent.

load_data

loader.WFSReferenceLoader.load_data()

Downloads features via GetFeature based on capabilities and extent.

Returns

Name Type Description
AlignerFeatureCollection The downloaded and processed reference data.

Raises

Name Type Description
ValueError If thematic data is missing, typename is not found, or the service does not support the Aligner’s CRS.