# Terms aggregation Tile map

**URL:** <https://discuss.elastic.co/t/terms-aggregation-tile-map/90738>\
**Category:** Kibana\
**Created:** [June 25, 2017, 2:51am UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738 "2017-06-25T02:51:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [June 25, 2017, 2:51am UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/1 "2017-06-25T02:51:01Z")

</div>

HI

How to implement terms aggregation in Tile map Kibana 5.4 ?

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [June 26, 2017, 8:41pm UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/2 "2017-06-26T20:41:29Z")

</div>

In order to use your data on the tilemap, the field must be a [geo-point data type](https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html).

---

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [July 3, 2017, 8:13am UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/3 "2017-07-03T08:13:55Z")

</div>

Ok but my problem is

latitude,longitude,service  
6.359087,116.459237,voice  
6.12928,100.35874,voice  
6.12928,100.35874,voice  
6.114679,116.108167,data  
6.113793,100.367027,data  
6.10933,100.376086,voice  
6.107965,100.371668,voice  
6.0169819,102.274006,voice  
5.990263,116.092249,voice

i have data like this ok i can plot lat,long using geo\_point and can i do aggregation of **service** also?

Thanks

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [July 5, 2017, 5:48pm UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/4 "2017-07-05T17:48:43Z")

</div>

You won't be able to see both on the same visualization, but you can use the query bar to filter for the type you are interested in. If you are calling the service field `service` when you index the data, then in the query bar at the top, simply add `service:data` or `service:voice`.

Basically, you'll need to use the filter to narrow down the results for any type of service you want to see. Assuming you have just 2 "services", and you'd like to see both at the same time, you'll need to create 2 visualizations, one with a filter on each service, and then you can add both of them to the same dashboard.

---

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [July 7, 2017, 3:06am UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/5 "2017-07-07T03:06:19Z")

</div>

Ok got it,

I have one more issue in the Tile map can we see location which is there in my data in one of my filed instead of  
lat and long coordinates on the tile map when we hover on it .

latitude,longitude,service,location  
6.359087,116.459237,voice,mgr  
6.12928,100.35874,voice,kltp  
6.12928,100.35874,voice,nvs  
6.114679,116.108167,data,kampung

As shown above want to see locations on tile map instead of coordinates.

Thanks,

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [July 17, 2017, 4:06pm UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/6 "2017-07-17T16:06:00Z")

</div>

> want to see locations on tile map instead of coordinates

I don't follow. What do you mean when you say you want to see "locations"? The coordinate is the location. If you're talking about things like county, or state, or country, that's not what the tilemap is for. If you're looking for that, you'll need to use vector maps (in which case, I don't believe you'll see the points, just the vectors).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 14, 2017, 4:06pm UTC](https://discuss.elastic.co/t/terms-aggregation-tile-map/90738/7 "2017-08-14T16:06:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
