# Tilemap not showing geohash coordinates

**URL:** https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070
**Category:** Kibana
**Created:** [April 12, 2017, 2:51am UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070 "2017-04-12T02:51:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kmrychl](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@kmrychl](https://discuss.elastic.co/u/kmrychl)
#### Post date: [April 12, 2017, 2:51am UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/1 "2017-04-12T02:51:11Z")

</div>

I'm in Kibana and ElasticSearch 5.3.0. I have a geojson of type polygon. First, I tried to map it as a geo\_shape, but this threw an error on tilemap visualization in Kibana that there was no geo\_point. I then tried to change the mapping to geo\_point, which now gives me a Field to perform aggregation, but when I press play to run, the map disappears completely.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b27d8fbfd1944ba61c379ba39a85a671faf8bd6.PNG)

My mapping:

```
{
  index" : {
    "mappings" : {
      "my_type" : {
        "properties" : {
          "geometry" : {
            "properties" : {
              "coordinates" : {
                "type" : "float"
              },
              "coordinates[0][0]" : {
                "type" : "geo_point"
              },

```

My geoJson:

```
{
	"geometry": {
		"type": "Polygon",
		"coordinates": [
			[
				[115.76534464822194, 43.100528765960625],
				[115.70159757112356, 43.1315030055377],
				[115.5691744231615, 43.978972243845114],
				[115.63322290845105, 43.94825722049262],
				[115.76534464822194, 43.100528765960625]
			]
		]
	},
```

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 12, 2017, 3:37am UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/2 "2017-04-12T03:37:59Z")

</div>

I don't think that you can show a polygon on a tilemap can you?

ie - this is not a supported use.

---

<div class="post-metadata">

### Author: ![kmrychl](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@kmrychl](https://discuss.elastic.co/u/kmrychl)
#### Post date: [April 12, 2017, 2:25pm UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/3 "2017-04-12T14:25:49Z")

</div>

But if I put in as a geo\_point, should I not be able to get some functionality?  
I feel there should be some way to plot those points on a map.

Is there a way to query to see what coordinates[0][0] has in it? I have a feeling it has no values, which is why nothing is showing.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 13, 2017, 3:38am UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/4 "2017-04-13T03:38:15Z")

</div>

Have a look at it in Discover.

---

<div class="post-metadata">

### Author: ![kmrychl](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@kmrychl](https://discuss.elastic.co/u/kmrychl)
#### Post date: [April 13, 2017, 6:10pm UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/5 "2017-04-13T18:10:09Z")

</div>

This is the mapping elasticsearch defaults to when I index my json:

```
{
  "indexname" : {
    "mappings" : {
      "my_type" : {
        "properties" : {
          "geometry" : {
            "properties" : {
              "coordinates" : {
                "type" : "float"
              },
              "type" : {
                "type" : "text",
                "fields" : {
                  "keyword" : {
                    "type" : "keyword",
                    "ignore_above" : 256
                  }
                }
              }
            }
          },

```

This is the attempt I just tried to fix the mapping (however, this approach does not take to any indexed data:

```
curl -XPUT "http://localhost:9200/indexname" -d "{\"mappings\" : {\"my_type\" : {\"properties\" : {\"geometry\" : {\"type\":\"geo_point\"}}}}}"

```

If I try this command it shows up in kibana, but when I try to run a tilemap, the map just disappears, so I'm assuming it is not getting the correct data:

```
curl -XPUT "http://localhost:9200/indexname" -d "{\"mappings\" : {\"my_type\" : {\"properties\" : {\"coordinates\" : {\"type\":\"geo_point\"}}}}}"
```

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 17, 2017, 1:48am UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/6 "2017-04-17T01:48:51Z")

</div>

> [@kmrychl](#):
>
> the map just disappears

Do you mean the actual tile images?

---

<div class="post-metadata">

### Author: ![kmrychl](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@kmrychl](https://discuss.elastic.co/u/kmrychl)
#### Post date: [April 17, 2017, 1:56pm UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/7 "2017-04-17T13:56:25Z")

</div>

I can't get tile images. I have the map and have tried enhanced\_tilemap, but my coordinates are never showing up

---

<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: [May 15, 2017, 2:00pm UTC](https://discuss.elastic.co/t/tilemap-not-showing-geohash-coordinates/82070/8 "2017-05-15T14:00:45Z")

</div>

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