# Tile Map no results

**URL:** https://discuss.elastic.co/t/tile-map-no-results/46934
**Category:** Kibana
**Created:** [April 11, 2016, 2:33am UTC](https://discuss.elastic.co/t/tile-map-no-results/46934 "2016-04-11T02:33:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![turboemu](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@turboemu](https://discuss.elastic.co/u/turboemu)
#### Post date: [April 11, 2016, 2:33am UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/1 "2016-04-11T02:33:42Z")

</div>

Hi, I am storing lat long values in Elasticsearch and attempting to view these on a Tile Map. I have added a mapping for my geo\_point field and added the data to the index. However Kibana shows 'No results found'.

I'm using fresh installs of Elasticsearch v2.3.1, Kibana v4.5.0 on Windows 7

My mappings are:

```
{
   "mappings":{
      "_default_":{
         "dynamic_templates":[
            {
               "default":{
                  "match":"*",
                  "match_mapping_type":"string",
                  "mapping":{
                     "type":"string",
                     "fields":{
                        "raw":{
                           "type":"string",
                           "index":"not_analyzed"
                        }
                     }
                  }
               }
            }
         ]
      },
      "geoloc":{
         "properties":{
            "coords":{
               "type":"geo_point"
            }
         }
      }
   }
}

```

A slightly boiled down example document is:

```
{
   "order_id":"Test",
   "date":"2015-09-26",
   "geoloc":{
      "coords":[
         "33.932169964868",
         "-3.16950540340576"
      ]
   },
   "contentId":1111111,
   "reportTitle":"Test Title",
   "type":"62",
   "ids":"58;42",
   "values":[
      "Test1",
      "Test2"
   ],
   "status":"COMPLETE",
   "typeValue":[
      "Report"
   ]
}

```

Kibana recognises the 'coords' property as a geo\_point but does not find any documents (I do have documents in the given date range with geo\_point values). I have tried various combinations of nesting the geo\_point property at different levels in my document; different mappings to explicitly state lat\_lon; adding geohash to my mapping and values; pairing down my mappings to just the geo\_point part. None of which change the behaviour.

I have noticed that the request body shown on the Tile Map page has "size": 0 set. Is this correct? I understand size can be set to 0 when aggregations are returned rather than results. But it stands out when I am not seeing any results.

---

<div class="post-metadata">

### Author: ![Meenal.Luktuke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meenal.luktuke/32/7795_2.png) [@Meenal.Luktuke](https://discuss.elastic.co/u/Meenal.Luktuke)
#### Post date: [April 11, 2016, 1:41pm UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/2 "2016-04-11T13:41:38Z")

</div>

When I faced the similar issue, my problem was - type mismatch in logstash configuration and ES mapping definition. Can you try to get mappings for the index and verify that geoloc is mapped correctly while posting data into ES? That would be the only problem if you're not getting any results.

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [April 11, 2016, 1:59pm UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/3 "2016-04-11T13:59:43Z")

</div>

Hi Turboemu,

I found an issue with a similar symptom. If you'll look at this; [https://github.com/elastic/kibana/issues/6697](https://github.com/elastic/kibana/issues/6697) and see if it gives you any clues. And I'll keep digging.

Regards,  
Lee

---

<div class="post-metadata">

### Author: ![turboemu](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@turboemu](https://discuss.elastic.co/u/turboemu)
#### Post date: [April 11, 2016, 5:57pm UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/4 "2016-04-11T17:57:10Z")

</div>

Thank you both for your time! As both your answers hinted at, I had incorrectly setup the mappings.

I was PUTing documents into the index e.g. `http://localhost:9200/commerce/order/1` instead of `http://localhost:9200/commerce/geoloc/1` which my mapping suggested would be the case.

This was a misinterpretation of the documentation. Thank you both for the advice and I hope you didn't spend too much time digging.

---

<div class="post-metadata">

### Author: ![shriram\_bharath](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@shriram\_bharath](https://discuss.elastic.co/u/shriram_bharath)
#### Post date: [June 30, 2016, 1:49pm UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/5 "2016-06-30T13:49:52Z")

</div>

How do i change it, pls help here

---

<div class="post-metadata">

### Author: ![Meenal.Luktuke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meenal.luktuke/32/7795_2.png) [@Meenal.Luktuke](https://discuss.elastic.co/u/Meenal.Luktuke)
#### Post date: [July 7, 2016, 12:32pm UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/6 "2016-07-07T12:32:39Z")

</div>

What do you want to change?

If you have created a logstash config for type:test, make sure your ES mapping is like this: PUT /index/test  
{//All definitions for mappings  
}

That should solve your problem. Let me know if this is not clear, will post an example.

---

<div class="post-metadata">

### Author: ![shriram\_bharath](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@shriram\_bharath](https://discuss.elastic.co/u/shriram_bharath)
#### Post date: [July 8, 2016, 9:24am UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/7 "2016-07-08T09:24:08Z")

</div>

I fixed it, thanks a lot

---

<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: [July 6, 2017, 1:47pm UTC](https://discuss.elastic.co/t/tile-map-no-results/46934/8 "2017-07-06T13:47:35Z")

</div>


