Function negotiateOgcCapabilities

  • Translate the server-advertised conformsTo[] list into a canonical Capabilities set for the given protocol. Conformance class identifiers are matched against substring keys so version drift (features-1features-3) does not silently drop capabilities.

    Callers can intersect the result with their own narrower set when they want to gate optional features even if the server claims them.

    Parameters

    Returns Capabilities