Geo-query: Filter Geo-shapes/polygons using Geo-Points

Hi!
Kibana: 7.6.2

Is it possible to filter pre indexed geoshapes using a geopoint? Specifically, we want to know if we can use the geopoints produced from our device to get the geoshapes it went to. Thanks.

Yes. You can use the geo_match policy of the enrichment processor to assign id-fields of a pre-indexed document with a geo_shape field, to a document with a geo_point field. For documentation, see https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-match-enrich-policy-type.html

If you already indexed your data, you can use the reindex-api to attach update those point-docs (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.