Skip to main content

resolve_topology

Function resolve_topology 

Source
pub fn resolve_topology(
    workflow_kind: WorkflowKind,
    positions: &[GnssPosition],
    supplied: Option<(Vec<Netelement>, Vec<NetRelation>)>,
    config: &RetrievalConfig,
    client: &dyn SparqlClient,
) -> Result<(RetrievedTopology, RetrievalOutcome), ProjectionError>
Expand description

Resolve the topology for a workflow. Returns the bundle plus an outcome summary suitable for surfacing to callers.

If supplied is Some, it is used verbatim and no retrieval is performed. Otherwise the SPARQL client is invoked with a polygon derived from positions.