-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Support .mvt vector tile format #58696
Comments
Pinging @elastic/es-analytics-geo (:Analytics/Geo) |
cc @nknize |
Hi again, @thomasneirynck ! When you guys have some time, I have some questions, please. As a bit of context, for my web app, on the Angular frontend, on top of Google Maps APIs, i'm using Uber's deck.gl library for better rendering geo-spatial data (GeoJson layers and MVT layers). Now, I migrated away from PostGIS and I'm storing the geo-spatial data (collection of shapes and points) in ElasticSearch for faster indexing and querying. I was wondering if with this initiative or in the near future (in a roadmap), will I able to use ElasticSearch or Kibana as a Vector tile server in order to get geo-spatial data (normal for shapes and clustered for points) only for the current map viewport (based on zoom and pan / drag on the map) and in the Mapbox .mvt / pbf formats? I saw you guys did a wonderful job of implementing something similar into Kibana Maps (serving as Vector Tiles geo-spatial data from ElasticSearch: normal shapes and clustered points). I'm looking forward to your response! |
hi @florinvirdol , we are currently investigating if/how/when to further build out the mvt support in the ELK stack. imho you're right that there's basically two tracks to think about:
No decisions around timing have been made around this point. Note that the Kibana mvt server functionality is currently in beta (ie. elastic/kibana#58519). The .mvt generation happens on the Kibana backend, and for now it only supports the Kibana Maps application. There is still edge-cases to work through. You can read more about those existing gaps here elastic/kibana#79868. |
Hi @florinvirdol , |
Great idea :elasticheart: looking fwd to this |
Closed with #73872 Kibana Maps equivalent closed as well: elastic/kibana#109954 |
Mapbox vector tile format (https://github.com/mapbox/vector-tile-spec/) is a common industry spec to deliver geospatial data to clients.
It is particularly useful to web-clients:
This cuts down on the size of the response that is sent over the wire. Since the data is tiled, the client (e.g. browser) can also cache requests client-side and re-use earlier results as users pan and zoom.
It would be useful if Elasticsearch could return the result of a _search (either with individual documents or an aggregation) as a vector tile.
Kibana Maps is working on introducing .mvt support for 3rd party services and ES-data (elastic/kibana#58519). In an initial phase, the tile-generation from ES-data would happen in the Kibana-server. Over time, it would be great to push down more of this lower-level functionality into ES itself.
cc @giladgal @kmartastic @nknize
The text was updated successfully, but these errors were encountered: