vibespatial.kernels.spatial.packed_str_index

Reusable all-family STR nearest backend; device candidate/refine to NativeRelation.

Classes

PackedSTRtree

Bounded candidate tiles over immutable owned rows, retaining original IDs.

Functions

packed_str_index(geometry, *[, bounds])

Build reusable packed bounds behind an admitted NativeSpatialIndex contract.

Module Contents

class vibespatial.kernels.spatial.packed_str_index.PackedSTRtree(geometry, *, bounds=None, precision_plan)

Bounded candidate tiles over immutable owned rows, retaining original IDs.

The tree holds envelope state and optional segment acceleration. Scratch is query-local; a lock and CUDA event protect the one-entry prepared-query cache across host threads and streams. No geometry or relation exports occur here.

geometry
precision_plan
kernels
n
query_relation(query, *, return_all=True, max_distance=None, exclusive=False)

Return exact minimum-distance ties as a sorted device NativeRelation.

vibespatial.kernels.spatial.packed_str_index.packed_str_index(geometry, *, bounds=None, precision_plan)

Build reusable packed bounds behind an admitted NativeSpatialIndex contract.