# Geo shapes

**URL:** <https://discuss.elastic.co/t/geo-shapes/173740>\
**Category:** Elasticsearch\
**Created:** [March 25, 2019, 11:35am UTC](https://discuss.elastic.co/t/geo-shapes/173740 "2019-03-25T11:35:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio\_Redondo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_redondo/32/40969_2.png) [@Sergio\_Redondo](https://discuss.elastic.co/u/Sergio_Redondo)\
**Post date:** [March 25, 2019, 11:35am UTC](https://discuss.elastic.co/t/geo-shapes/173740/1 "2019-03-25T11:35:56Z")

</div>

Good morning, I'm trying to visualize geoshapes using beta 7.0. I am following the information of the link: [https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-shape.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-shape.html)  
A geoshape is composed of a type and coordinates, following the example of the link for points, after copying exactly the example code and then changing the type of the location field to geo\_shape in the mapping as it comes in the link, I get an error. I attach the code that I have put:

PUT / examplee  
{  
"mappings": {  
"properties": {  
"location": {  
"type": "geo\_shape"  
}  
}  
}  
}

POST / exampleee / \_doc  
{  
"location": {  
"type": "point",  
"coordinates": [-77.03653, 38.897676]  
}  
}

Once I do that and I create the index pattern in kibana, to the right in aggregations nothing appears to me. What I pretend is in the section visualizations, region map, select the location of the figure and be able to visualize it.

A thousand thanks in advance!

---

<div class="post-metadata">

**Author:** ![Ignacio\_Vera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ignacio_vera/32/36674_2.png) [@Ignacio\_Vera](https://discuss.elastic.co/u/Ignacio_Vera)\
**Post date:** [March 25, 2019, 12:30pm UTC](https://discuss.elastic.co/t/geo-shapes/173740/2 "2019-03-25T12:30:44Z")

</div>

`geo_shape` field does not support any kind of aggregations yet.

If you want to visualise geo data, you can only do it for points and the points should be indexed using a field of type `geo_point`.

[https://www.elastic.co/guide/en/elasticsearch/reference/7.0/geo-point.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/geo-point.html)

---

<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:** [April 22, 2019, 12:30pm UTC](https://discuss.elastic.co/t/geo-shapes/173740/3 "2019-04-22T12:30:52Z")

</div>

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