What’s new in geospatial Elasticsearch
Formal Metadata
| Title | What’s new in geospatial Elasticsearch |
|
| Title of Series | |
| Number of Parts | 351 |
| Author | |
| Contributors | |
| License | You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor. |
| Identifiers | |
| Publisher | |
| Release Date | |
| Language | |
| Production Year | 2022 |
Content Metadata
| Subject Area | |
| Genre | |
| Abstract | Elasticsearch (elastic.co/elasticsearch/) is a well-known and mature NoSQL database providing search and analytics services for big datasets. The “elasticity” of its name comes from the distributed design and easy scalability capabilities that have made it an industry leader for more than ten years. In this talk we will present two exciting new features that have been added recently to the product related with the geospatial topic: vector tiles support and line and hexagon aggregations.
Vector tiles have become an industry standard to encode large amounts of data to be displayed in the browser by web mapping libraries like MapLibre or OpenLayers. Elasticsearch analytics & geo team has added a new API endpoint (elastic.co/guide/en/elasticsearch/reference/current/search-vector-tile-api.html) that renders search and aggregation queries as zipped protobuffers (developers.google.com/protocol-buffers), allowing developers to retrieve right from the datastore assets that are ready to be sent to the user's browser without much further processing. This will speed up the rendering of large datasets by avoiding transferring JSON assets from Elasticsearch to application middleware.
Elasticsearch geospatial aggregation capabilities have been extended recently by two new methods, one is to allow combining related points into a new line geometry (elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-geo-line.html) (think of a vehicle track) and the other is to aggregate geometries into an hexagon grid (elastic.co/guide/en/elasticsearch/reference/8.1/search-aggregations-bucket-geohexgrid-aggregation.html). The new geo-line aggregation will be very useful for asset tracking use cases where the second enables Elasticsearch to perform powerful analytics combined with the extensive support for metric aggregations.
In this talk we will present this project, going through the different use cases with some examples and demonstrations using both Kibana Elastic Maps (elastic.co/maps) and a simple ad-hoc web project that leverages this new feature. |
|
| Keywords | |