-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Maps] Add mvt support for ES doc sources #75698
Merged
thomasneirynck
merged 57 commits into
elastic:master
from
thomasneirynck:maps/es_mvt_fix
Sep 1, 2020
Merged
[Maps] Add mvt support for ES doc sources #75698
thomasneirynck
merged 57 commits into
elastic:master
from
thomasneirynck:maps/es_mvt_fix
Sep 1, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add unit tests functional boiler plate fine tune remove cruft
This replaces #74319 |
16 tasks
nreese
reviewed
Aug 26, 2020
nreese
reviewed
Aug 26, 2020
nreese
reviewed
Aug 26, 2020
nreese
approved these changes
Aug 31, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great feature. Can't wait until vector tiles are enabled by default
LGTM
code review, tested in chrome
💚 Build SucceededBuild metricsasync chunks size
page load bundle size
distributable file count
History
To update your PR or re-run it, just comment with: |
This was referenced Sep 1, 2020
thomasneirynck
added a commit
to thomasneirynck/kibana
that referenced
this pull request
Sep 1, 2020
thomasneirynck
added a commit
that referenced
this pull request
Sep 1, 2020
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Sep 2, 2020
* master: (223 commits) skip flaky suite (elastic#75724) [Reporting] Add functional test for Reports in non-default spaces (elastic#76053) [Enterprise Search] Fix various icons in dark mode (elastic#76430) skip flaky suite (elastic#76245) Add `auto` interval to histogram AggConfig (elastic#76001) [Resolver] generator uses setup_node_env (elastic#76422) [Ingest Manager] Support both zip & tar archives from Registry (elastic#76197) [Ingest Manager] Improve agent vs kibana version checks (elastic#76238) Manually building `KueryNode` for Fleet's routes (elastic#75693) remove dupe tinymath section (elastic#76093) Create APM issue template (elastic#76362) Delete unused file. (elastic#76386) [SECURITY_SOLUTION][ENDPOINT] Trusted Apps Create API (elastic#76178) [Detections Engine] Add Alert actions to the Timeline (elastic#73228) [Dashboard First] Library Notification (elastic#76122) [Maps] Add mvt support for ES doc sources (elastic#75698) Add setHeaderActionMenu API to AppMountParameters (elastic#75422) [ML] Remove "Are you sure" from data frame analytics jobs (elastic#76214) [yarn] remove typings-tester, use @ts-expect-error (elastic#76341) [Reporting/CSV] Do not fail the job if scroll ID can not be cleared (elastic#76014) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
release_note:enhancement
v7.10.0
v8.0.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP
Partially addresses #58519
Summary
This adds an .mvt vector tile option for Elasticsearch
geo_shape
documents.This allows display of a large amount of documents. The display of the geometries is optimized for scale. When zoomed in, the full geometry is returned, when zoomed out, a simplified geometry is shown.
`
Introduce a new scaling-type "mvt tiles"
Extend ESSearchSource to implement
This is different from the original POC (#57248), which introduced a new source type altogether. There are some advantages to just extending the existing
ESSearchSource
.Add new
getTile
route-backendThe URL encodes all relevant state. By doing so, the existing logic in
TiledVectorLayer
that determines when and how to swap mb-sources remains functional.Introduce the concept of a
too many features
boundsWhen the number of features exceeds the ES-limit, the tile contains a bounds of where the features are.
This is somewhat a "one-off"-addition, but imho it is relevant for the .mvt scaling type. This bounds indicates the user where the data is, but does not show the actual geometries. This is a similar approaches exist in other toolkits. The goal is to give users an indication of where to zoom-in.
e.g. consider building footprints for an entire US-state. There are too many to display at once (in the millions), and even if Maps could display them all at once, at zoomed out scales they would be much smaller than a pixel to see.
This needs design work. The current hash-pattern is somewhat ugly.
Future work
For feature completeness, following functionality needs to be added: (excluded from this PR, to keep changes to a minimum).
geo_point
Todo