Hi,
I am trying to map the coordinates from my shp files to geo_shape, geo_point being the default
So the default mapping file is :
"geometry": {
"properties": {
"type": {
"store": "yes",
"type": "string"
},
"coordinates": {
"store": "yes",
"type": "geo_point"
}
}
}And the update I have done is in the mapping is
"geometry": {
"properties": {
"type": {
"store": "yes",
"type": "string"
},
"coordinates": {
"store": "yes",
"type": "geo_shape",
"tree": "quadtree",
"precision": "1m"
}
}
}My import is working with geopoint and I did check with ES API that my updated mapping is OK.
However, when I run my import line ogr2ogr -progress --config ES_OVERWRITE 1 --config ES_META ./map_geoshape.json -f "ElasticSearch"
http://localhost:9200/ my_shp.shp
I have lot of ERROR 1: HTTP error code : 400.
Has someone manage to map to geo_shape coordinates ?