Skip to content

Geohash Grid Aggregation - Option to Return Latitude/Longitude Bounding Box #36413

Closed
@doc987

Description

@doc987

The geohash_grid bucket aggregation (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html) returns the geohash as the "key" property. It would be nice if there was an option to get equivalent latitude and longitude bounding box (GeoJSON bounding box is [west,south,east,north] https://tools.ietf.org/html/rfc7946#section-5) either in addition, or as a replacement for the hash.

Note that the bounding box mentioned here is the the same box as the geohash, which is not necessarily the same as computing the minimum bounding box of the data in that Geohash using the geo_bounds aggregation.

Metadata

Metadata

Assignees

Labels

:Analytics/GeoIndexing, search aggregations of geo points and shapes>docsGeneral docs changes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions