A GeoJSON file can contain several points in the features array (see the short example below). When loading the GeoJSON file into elasticsearch, how to index each point a different id?
The ways I can think about, for example, convert it to Json file and use _bulk api, then is there any convertor avaliable?
Or, write a configure file and load it through Logstash, then is there any configure file sample avaliable?
Additional: Is the GeoJSON format a good choice if I want to map points with values on Kibana?
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 4.427266,51.776804 ]
},
"properties": {
"Date":"26.06.2017",
"Time":"9:25:24"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 4.427294,51.776806 ]
},
"properties": {
"Date":"26.06.2017",
"Time":"9:25:28"
}
}
]
}