# GeoJSON Polygon mapping

**URL:** https://discuss.elastic.co/t/geojson-polygon-mapping/9745
**Category:** Elasticsearch
**Created:** [November 16, 2012, 7:39pm UTC](https://discuss.elastic.co/t/geojson-polygon-mapping/9745 "2012-11-16T19:39:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Aaron\_Reichman](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Aaron\_Reichman](https://discuss.elastic.co/u/Aaron_Reichman)
#### Post date: [November 16, 2012, 7:39pm UTC](https://discuss.elastic.co/t/geojson-polygon-mapping/9745/1 "2012-11-16T19:39:03Z")

</div>

I have a document that contains a GeoJSON Polygon geometry, like this:

{  
"type": "Polygon",  
"coordinates": [  
[  
[-90,40],  
...  
]  
]  
}

Is is possible to create a mapping that will index each coordinate  
separately as a geo\_point? I don't need the full geo\_shape indexing  
capabilities in this case -- if any of the points match a geo\_bounding\_box  
query, that would be fine. It seems from other forum posts that multiple  
points can be indexed, but I'm not sure how to convey to ES that the  
geo\_points are in a nested array structure that like defined by the GeoJSON  
spec.

--

---

<div class="post-metadata">

### Author: ![Gijs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gijs/32/1493_2.png) [@Gijs](https://discuss.elastic.co/u/Gijs)
#### Post date: [June 12, 2014, 8:29am UTC](https://discuss.elastic.co/t/geojson-polygon-mapping/9745/2 "2014-06-12T08:29:57Z")

</div>

Hi Aaron,

Did you ever find a solution for your problem? I'm facing the same issue. Please share if you have news.

Regards, Gijs

---

<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:23am UTC](https://discuss.elastic.co/t/geojson-polygon-mapping/9745/3 "2017-07-06T01:23:05Z")

</div>


