Skip to main content

eval_geof_function

Function eval_geof_function 

Source
pub fn eval_geof_function(iri: &str, args: &[Term]) -> CustomEval
Expand description

Evaluate one unindexed geof:* call over RESOLVED terms (ground fallback). Native geo terms normally use the cache-aware encoded evaluator; this path still handles typed literals and any cache miss. Both arguments parse + transform to CRS84 here. Stored geometries arrive with their materialized lexical pre-seeded: the eval prefetch windows (residual FILTER, aggregates, Extend) fetch blob-backed payloads and decode through the plugin before the ground pass, and points materialize from their inline coords — so a type-error on a stored geometry is the missed-prefetch case (or an ill-formed literal), not an unreachable blob. The “correct, slow” v1 bar for shapes the rewrite did not take.