Skip to content

[FEATURE] Add support for geo_shape fields #55

@alisazosimova

Description

@alisazosimova

Hi guys!

Is your feature request related to a problem?
Yes. I am trying to create a visualisation (coordinate map), that would aggregate geo data by a geo_shape field type.

I build these objects programmatically mostly, but trying to create a map from Dashboards UI gives the same result.

In my index, I have two fields of geo_shape type:
164278099-6f3e521d-46f2-4007-a64f-e16aaf862062

This field type can be aggregated as Geohash grid aggregation according to Elastic 7.9 documentation
https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-aggregations-bucket-geohashgrid-aggregation.html#_aggregating_geo_shape_fields

Is some kind of license needed for this now? Does OpenSearch has any capabilities to build maps with geo_shape fields?

This is the error that I see when I try to build a map with that mentioned index from UI:
164278914-28cdcad9-52a8-4d5f-a3e9-33bbaec80fdf

(as you can see, there's no mention of the geo_shape field type in the list of compatible field types; only geo_point)

OpenSearch Version: 1.1 | Dashboards Version: 1.1

What solution would you like?
Ability to aggregate with geo_shape field type; more precisely: choose GeoObjectGT / GeoObjectDT fields that are of geo_shape type for Geohash / GeohashGrid aggregation.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions