# Coordinate map stopped working

**URL:** https://discuss.elastic.co/t/coordinate-map-stopped-working/153843
**Category:** Kibana
**Created:** [October 24, 2018, 3:39pm UTC](https://discuss.elastic.co/t/coordinate-map-stopped-working/153843 "2018-10-24T15:39:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Azulath](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Azulath](https://discuss.elastic.co/u/Azulath)
#### Post date: [October 24, 2018, 3:39pm UTC](https://discuss.elastic.co/t/coordinate-map-stopped-working/153843/1 "2018-10-24T15:39:03Z")

</div>

I've been using Kibana's coordinate map every now and again and today I discovered that my coordinate map visualisation stopped\* working.

When selecting Index Patterns it lists the "Geo" field with the type "geo\_point". My mapping looks like this:

```auto
PUT /packets
{
 "mappings": {
  "packet": {
   "properties": {
    "IPAddress": {"type": "keyword"},
    "Country": {"type": "keyword"},
    "City": {"type": "keyword"},
    "Location": {"type": "geo_point"}
   }
  }
 }
}
```

Querying `GET packets_mapping` returns the following:

```auto
"Geo": {
            "properties": {
              "lat": {
                "type": "long"
              },
              "lon": {
                "type": "long"
              }
            }
          },
```

When I create a Coordinate map visulisation I can select "Geohash" as aggregation and "Geo" as field. However, the map remains empty. (Changing the map type doesn't help either...)

\*) While I'm fairly certain that my mapping/values have remained the same, I edited and reuploaded various parts so this might be a mapping related issue. But since the Kibana manual has the geo\_point defined in the same way as I have I think this issue lies somewhere else.

Any help would be appriciated 🙂

---

<div class="post-metadata">

### Author: ![Azulath](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Azulath](https://discuss.elastic.co/u/Azulath)
#### Post date: [October 25, 2018, 4:25pm UTC](https://discuss.elastic.co/t/coordinate-map-stopped-working/153843/2 "2018-10-25T16:25:27Z")

</div>

I realised a mistake I had made in the mapping/json files; so my issue might be related to this.

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [October 25, 2018, 7:02pm UTC](https://discuss.elastic.co/t/coordinate-map-stopped-working/153843/3 "2018-10-25T19:02:18Z")

</div>

@Azulath I'm a bit confused, is your index called `packets` or `packets_mapping`? Are you using the field `Location` or `Geo`? `Location` is a geo\_point field, but `Geo` is just an object field that happens to have two properties called `lat` and `lon`.

---

<div class="post-metadata">

### Author: ![Azulath](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Azulath](https://discuss.elastic.co/u/Azulath)
#### Post date: [November 5, 2018, 3:42pm UTC](https://discuss.elastic.co/t/coordinate-map-stopped-working/153843/4 "2018-11-05T15:42:51Z")

</div>

Sorry for the very late replay and thanks for the answer. As mentioned in my previous post I sorted it out but to clarify your answer:

My index is called `packets`, while `packets_mapping` is my mapping for packets which I created like so:

```auto
PUT /packets
{
 "mappings": {
  "packet": {
   "properties": {
       //´my mappings
   }
  }
 }
} 
```

> [@Bargs](#):
>
> Are you using the field `Location` or `Geo` ? `Location` is a geo\_point field, but `Geo` is just an object field that happens to have two properties called `lat` and `lon` .

And this was my mistake. I noticed it later and felt pretty stupid about it to be honest. Anyway, now everything works as it should. I'll mark your answer as solution as you were immediately on to it 😉

---

<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: [December 3, 2018, 3:42pm UTC](https://discuss.elastic.co/t/coordinate-map-stopped-working/153843/5 "2018-12-03T15:42:57Z")

</div>

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