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

[maps] Unable to pluck style meta from local data for geo_grid vector tiles for any property other then count #116782

Closed
nreese opened this issue Oct 29, 2021 · 1 comment · Fixed by #117033
Labels
bug Fixes for quality problems that affect the customer experience [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation regression v8.0.0

Comments

@nreese
Copy link
Contributor

nreese commented Oct 29, 2021

regression from #114553

Steps to view problem:

  1. Install web logs sample data
  2. create new map, add clusters layer, click add
  3. change count metric to "max bytes"
  4. set grid resolution to "super fine"
  5. Click "Data mapping" under under "Fill color" and uncheck "Get min and max from data set". Notice how the coloring styling is no longer displayed in the map.

Issue is in pluckOrdinalStyleMetaFromTileMetaFeatures.

_mvt returns meta tiles with properties like below
Screen Shot 2021-10-29 at 9 31 19 AM

pluckOrdinalStyleMetaFromTileMetaFeatures uses this.getMbFieldName() to get the property name. getMbFieldName returns _count for count property and this exists in meta tile properties. getMbFieldName returns {name}.value for fields and these do not exist in meta tile properties. Thus no style meta is getting plucked for fields.

@nreese nreese added bug Fixes for quality problems that affect the customer experience regression v8.0.0 labels Oct 29, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 29, 2021
@nreese nreese added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation and removed needs-team Issues missing a team label labels Oct 29, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation regression v8.0.0
Projects
None yet
2 participants