-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>enhancementrelease highlightv7.7.0v8.0.0-alpha1
Description
Currently, we can do distance math for filter (geo_distance) and sort (_geo_distance) from a given [lon,lat] to a geo_point. We cannot do this currently for a [lon,lat] to the surface of a geo_shape object (distance "N"). There's a bit of a workaround for the geo_distance filter: you can create a circle of a specified radius M and check for an "intersects" relation. However, there are some cases where this does not work (e.g. if M > (N + [span of geo_shape]) it's now "within").
A few examples:
- A vehicle is supposed to follow an indexed LineString / MultiLineString path and we want to find when it has deviated from the path by more than 100 meters [filter]
- Find the nearest landmark (geo-shape) to my present location [sort]
alexshires, d1rtym0nk3y, kaxil, nmaisonneuve, imalygin and 12 more
Metadata
Metadata
Assignees
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>enhancementrelease highlightv7.7.0v8.0.0-alpha1