OGC API source configuration.
Optionalsignal: AbortSignal
AbortSignal for cooperative cancellation.
Optionalbbox: [number, number, number, number]
Override bounding box (used by autoRefresh to inject viewport bbox).
A GeoJSON FeatureCollection, carrying truncated when the cap cut it short.
Fetches all features from an OGC API Features endpoint, following
nextpagination links.A thin accumulator over streamOgcApiFeatures — it holds the whole collection, which is what the display path needs and what a bounded consumer must NOT do.
Security controls applied:
validateUrl()before any network requestAbortSignalfor cooperative cancellationmaxFeatureslimit enforced to prevent memory exhaustiontypefield validated before data consumption⚠️ It rejects on the same three conditions as before — invalid URL, network failure, malformed response — but it no longer raises them itself. They are thrown by streamOgcApiFeatures and propagate through the
awaitbelow, so the caller's contract is unchanged; the@throwstag moved to where thethrownow lives, because a tag whose body carries nothrowis a claim the gate cannot check.