# Linestring does not display on Maps App

**URL:** https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737
**Category:** Kibana
**Created:** [February 17, 2019, 3:41pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737 "2019-02-17T15:41:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Babadofar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babadofar/32/44803_2.png) [@Babadofar](https://discuss.elastic.co/u/Babadofar)
#### Post date: [February 17, 2019, 3:41pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737/1 "2019-02-17T15:41:23Z")

</div>

Using Kibana 7.0.beta1, with the new and marvelous Map app.  
I am able to add layers using elasticsearch indexes containing geo\_point, but when I try to add a simple Linestring using geo\_shape, I can not see it.  
The document I try to use looks like this:

```
POST gps_test/_doc/1
{  
  "poslist":  
	{ "type": "LINESTRING",
	"coordinates": [[10.491832, 59.941252],[10.491833, 59.941252],[10.491898, 59.941263]]
		}
}

```

And the mapping of poslist is of type geo\_shape, with nothing extra.  
Checking the response, I see an error. Trying out the query in console returns errors as well. The query:

```
GET gps_test/_search
{
  "size": 0,
  "aggs": {
"1": {
  "geo_bounds": {
    "field": "poslist"
  }
}
  },
  "_source": {
"excludes": []
  },
  "stored_fields": [
"*"
  ],
  "script_fields": {},
  "docvalue_fields": [],
  "query": {
"bool": {
  "must": [],
  "filter": [
    {
      "match_all": {}
    }
  ],
  "should": [],
  "must_not": []
}
  }
}

```

Error returned:

```
     "type": "illegal_argument_exception",
    "reason": "Fielddata is not supported on field [poslist] of type [geo_shape]"
```

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [February 18, 2019, 7:58pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737/3 "2019-02-18T19:58:25Z")

</div>

@thomasneirynck can we please get some help here?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [February 19, 2019, 6:07pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737/4 "2019-02-19T18:07:57Z")

</div>

hi @Babadofar,

thx for checking out the Maps app in beta. Could you please create an issue for this in the github repo? [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new)

Not sure if this is related to the Maps app in Kibana, or to some mapping settings in ES (or both). It will be easier to track this as a bug, than here on the discussion forum. Thanks!

---

<div class="post-metadata">

### Author: ![Babadofar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babadofar/32/44803_2.png) [@Babadofar](https://discuss.elastic.co/u/Babadofar)
#### Post date: [February 20, 2019, 4:35pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737/5 "2019-02-20T16:35:10Z")

</div>

Create this issue

> <https://github.com/elastic/kibana/issues/31589>

---

<div class="post-metadata">

### Author: ![Babadofar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babadofar/32/44803_2.png) [@Babadofar](https://discuss.elastic.co/u/Babadofar)
#### Post date: [February 20, 2019, 4:36pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737/6 "2019-02-20T16:36:41Z")

</div>

I guess this issue is related [https://github.com/elastic/elasticsearch/issues/7574](https://github.com/elastic/elasticsearch/issues/7574)

---

<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: [March 20, 2019, 4:36pm UTC](https://discuss.elastic.co/t/linestring-does-not-display-on-maps-app/168737/7 "2019-03-20T16:36:42Z")

</div>

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