Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add support for geo_shape fields #55

Open
alisazosimova opened this issue Apr 28, 2022 · 1 comment
Open

[FEATURE] Add support for geo_shape fields #55

alisazosimova opened this issue Apr 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@alisazosimova
Copy link

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.

@alisazosimova alisazosimova added the enhancement New feature or request label Apr 28, 2022
@navneet1v
Copy link
Collaborator

navneet1v commented Jul 7, 2022

Hi @alisazosimova
I can see that you want to do the aggregation on the field type geo_shape. We are currently working on building the aggregations on geo_shape. Please refer this github issue for the details.

Once we have the support for doing the aggregations on geo_shape next step would be to enable them from the dashboard UI. I will go ahead and create an issue in the right repository for enabling the aggregations on UI too and will link with the above github issue.

@jmazanec15 jmazanec15 added the v2.5.0 'Issues and PRs related to version v2.5.0' label Oct 5, 2022
@navneet1v navneet1v self-assigned this Jan 5, 2023
@navneet1v navneet1v added v2.6.0 and removed v2.5.0 'Issues and PRs related to version v2.5.0' labels Jan 5, 2023
@VijayanB VijayanB removed the v2.6.0 label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants