# geoJson array in bettermap

**URL:** <https://discuss.elastic.co/t/geojson-array-in-bettermap/18119>\
**Category:** Elasticsearch\
**Created:** [June 15, 2014, 6:23pm UTC](https://discuss.elastic.co/t/geojson-array-in-bettermap/18119 "2014-06-15T18:23:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hop2croft](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hop2croft/32/1140_2.png) [@hop2croft](https://discuss.elastic.co/u/hop2croft)\
**Post date:** [June 15, 2014, 6:23pm UTC](https://discuss.elastic.co/t/geojson-array-in-bettermap/18119/1 "2014-06-15T18:23:15Z")

</div>

Hi,

I'm trying to draw some locations with bettermap but I can't figure out the  
structure required for a geoJson array. Currently I have a field called  
location with the following structure (a simple array):

[-46.752551,-23.286951]

I've tried something like:

[{"Long":value1, "Lat":value2}]

but not success yet. Any idea?

Regards,  
Iván.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1a67ff9c-d711-4f49-a799-4ded18c206b3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1a67ff9c-d711-4f49-a799-4ded18c206b3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 15, 2014, 6:51pm UTC](https://discuss.elastic.co/t/geojson-array-in-bettermap/18119/2 "2014-06-15T18:51:08Z")

</div>

Field should be marked as a geopoint and should use GeoJSON array format.  
See: [http://www.elasticsearch.org/guide/en/kibana/current/\_bettermap.html](http://www.elasticsearch.org/guide/en/kibana/current/_bettermap.html)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 juin 2014 à 20:23, Iván Fernández Perea [ivan.fernandez.perea@gmail.com](mailto:ivan.fernandez.perea@gmail.com) a écrit :

Hi,

I'm trying to draw some locations with bettermap but I can't figure out the structure required for a geoJson array. Currently I have a field called location with the following structure (a simple array):

[-46.752551,-23.286951]

I've tried something like:

[{"Long":value1, "Lat":value2}]

but not success yet. Any idea?

## Regards, Iván.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1a67ff9c-d711-4f49-a799-4ded18c206b3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1a67ff9c-d711-4f49-a799-4ded18c206b3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6A11ED75-BB3D-4C24-9622-3CA606E6079A%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/6A11ED75-BB3D-4C24-9622-3CA606E6079A%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:22am UTC](https://discuss.elastic.co/t/geojson-array-in-bettermap/18119/3 "2017-07-06T01:22:24Z")

</div>


