Hello.
I am trying to display geo_shape polygon data on a Kibana map, using a document index. The map seems to be loading successfully as it zooms to where the polygon should be but there is no polygon drawn.
I have created a simple test:
PUT /polytest
{
"mappings": {
"properties": {
"location": {
"type": "geo_shape"
}
}
}
}
and then pushed some data to it:
POST polytest/_doc
{
"location": {
"coordinates": [
[
[
-0.076722,
51.516602
],
[
-0.076712,
51.516626
],
[
-0.076529,
51.51668
],
[
-0.07632,
51.516478
],
[
-0.076521,
51.516429
],
[
-0.076722,
51.516602
]
]
],
"type": "Polygon"
}
}
Using Kibana, I added a new map (Kibana -> Maps -> Create Maps)
Added layer -> Documents -> polytest
Is there an issue showing polygon data from a geo_shape field in a document index, or am I doing something wrong?
Thanks,
Mark