elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

[Maps] EMS vector layer join on region name doesn't seem to dynamically color #28790

Closed alexfrancoeur closed 5 years ago

alexfrancoeur commented 5 years ago

This is an odd bug. I'm attempting to join EMS vector files on name for the kibana_sample_data_ecommerce sample data set (even though I know it's not preferred). In the US, I'm seeing dynamic styling work with counts. However, in the UK and France the counts do not seem be styled.

Raw document:

screen shot 2019-01-15 at 4 06 33 pm

Join:

screen shot 2019-01-15 at 4 06 25 pm

Saved map: ecommerce.json.zip

This is occurring on master

elasticmachine commented 5 years ago

Pinging @elastic/kibana-gis

thomasneirynck commented 5 years ago

Agreed that we should region-code in the sample data: cf. https://github.com/elastic/kibana/pull/28858

However, this does seem to be a bug and should be fixed, looking into it..

thomasneirynck commented 5 years ago

This is a problem in the styling. When there is only a single match, in the case of the France layer it's Alpes Maritimes, the maps app is not coloring the gradient correctly.

The join executes fine. This is the same for many different layers when joining to the e-commerce data.