Skip to content
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 endpoint #1489

Closed
thomasneirynck opened this issue Jul 12, 2021 · 2 comments
Closed

Support _mvt endpoint #1489

thomasneirynck opened this issue Jul 12, 2021 · 2 comments

Comments

@thomasneirynck
Copy link

thomasneirynck commented Jul 12, 2021

🚀 Feature Proposal

Support the _mvt endpoint.

_mvt is a new endpoint for geo-data that returns a binary response elastic/elasticsearch#58696

An initial version has been merged into master behind a feature-flag elastic/elasticsearch#73872.

Motivation

This will be required for JS-clients. Specifically, the Maps-application in Kibana will need to use this.

Example


// Get binary mvt-tile with  coordinate 1/3/2, for geo-field `geometry` of index `tornadoes`
const mvtTile = await client.mvt({
   index: 'tornadoes',
   x: 3,
   y: 2,
   z: 1,
   field: 'geometry'
   body: {...}
);

cc @iverase

@delvedor
Copy link
Member

I'll open a PR to support the new content type directly in the client.

@delvedor
Copy link
Member

Done in #1500.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants