-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Move Kibana map visualizations to geotile_grid #30417
Comments
Pinging @elastic/kibana-gis |
Pinging @elastic/kibana-app |
You may already be aware, but I don't see this mentioned, so I thought I would share it.
I don't think the impact will be too stark. Generally, there should be a rough equation for translating the previous There may be a few (probably not a lot) customers with data that had previously hit close to our default 10k bucket limit, and maybe our conversion leads to slightly more than 10k buckets. These are the only scenarios where I would expect behavior to break. One fallback is to catch this, and have a retry to reduce the precision one step. |
Note that In Odd geohash precisions have no corresponding integer zoom number. Also note that this meant zooming with geohash was more "jerky" - it would only get new result every 2.5 zoom levels, not on every zoom. |
to add to @nyurik's comment: This is the mapping used by Kibana from It's based on a heuristic so that the geohash-cell is never smaller than 16 pixels for any given zoom-level. It assumes a 256x256px world-size at level 0. It's indeed possible that we just have more requests during panning and zooming when using |
I'll close this, as it's unlikely we'll make this mod to the coordinate map visualizations, as Kibana Maps is approaching feature parity. |
Today, Region Maps and Coordinate Maps are utilizing the
geohash_grid
aggregation. In 7.0, @nyurik and the Elasticsearch team will be introducing a new aggregation that provides a much better experience when visualizing geospatial data on a map. This is calledgeotile_grid
and the PR for it can be found here: elastic/elasticsearch#37842.For the Maps app, we will be defaulting to the
geotile_grid
aggregation in 7.0 but will be usinggeohash_grid
in 6.7. While this could be considered a breaking change, the app will still be in beta so we're less concerned about making this change.For the map visualizations, there are a number of existing maps already created that are utilizing the
geohash_grid
aggregation. Making the switch in a point release could be considered a breaking change and at this point, it is not something we can squeeze into 7.0.I'd like to propose the following approach for discussion.
geohash_grid
in 7.xgeotile_grid
as an option in the aggregation dropdown when selecting the aggregations to usegeotile_grid
for new map visualizationsgeotile_grid
for all visualizations and stop supportinggeohash_grid
in KibanaThat all being said, I'm not sure I fully grasp the differences between the two aggregations. The buckets will be different but I'm not sure how much of an impact it will have on existing users if we were to make the switch, or how different the results will be when compared. I imagine the results returned are different enough that we can't change the aggregations in a point release. If we thinking it's minimal then it is worth having that discussion.
geotile_grid
is a better aggregation to use overall.cc: @stacey-gammon @AlonaNadler
The text was updated successfully, but these errors were encountered: