Skip to content

BKD-based geo shapes #32039

Closed
Closed
@jpountz

Description

@jpountz

Explanation

LatLonShape indexes shapes by decomposing them into a triangular mesh and indexing each triangle as a 7 dimension point in the BKD Tree (POINTS codec). Below is a graphic demonstrating this decomposition on several US state's political boundaries.

tessellator

This provides a spatial accuracy of ~1e-6 decimal degrees. Whereas accuracy for the legacy inverted index approach (Prefix Trees) depended on the tree_levels, precision, and distance_err_pct parameters.

TODO

Metadata

Metadata

Assignees

Labels

:Analytics/GeoIndexing, search aggregations of geo points and shapes>featureMetaTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)v7.16.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions