vibespatial.io.osm_pbf_rings

Device endpoint graph to nested polygon offsets, without host geometry.

Functions

selected_indices(mask)

counts_by_row(rows, size[, values])

assemble_rings(members, member_offsets, ...)

Return ring coordinates, offsets and source-relation rows in source order.

nest_rings(x, y, offsets, rows, nrelations, *[, ...])

Choose enclosing rings with OGR-compatible binary64 boundary tests.

Module Contents

vibespatial.io.osm_pbf_rings.selected_indices(mask)
vibespatial.io.osm_pbf_rings.counts_by_row(rows, size, values=1)
vibespatial.io.osm_pbf_rings.assemble_rings(members, member_offsets, relation_offsets, x, y, nrelations)

Return ring coordinates, offsets and source-relation rows in source order.

vibespatial.io.osm_pbf_rings.nest_rings(x, y, offsets, rows, nrelations, *, precision_plan=None)

Choose enclosing rings with OGR-compatible binary64 boundary tests.