Drawn lines disappear when zoom level less than 2.0

Hi all,

Elasticsearch: v7.9.1
Kibana: v7.8.2

The title sums up it; I draw lines (linestring) between points (coordinates) on the map showing the path of various entities. When I adjust zoom to a level below 2.0 the lines disappear.

Seemingly same issue as: "point to point lines have to zoom in to show in map"

At first I figured there were too many datapoints to render in the map simultaneously, taking the limit of 10.000 datapoints into account. However the issue persist regardless of the chosen time-interval. That is assuming changing the time-interval indeed reduces the loaded records/datapoints?

Help on this would be greatly appreciated.

Can you provide some more details for "I draw lines (linestring) between points (coordinates) on the map". What does this mean? What do your elasticsearch documents look like? What are the field mappings? Can you provide an example document that demonstrates the problem? How did you create the layer in the maps application?

Hi Nathan,

Thanks for your response.

Certainly, here are a couple of example documents:

a) Points on the map:

{
  "_index": "a-2021-03",
  "_type": "_doc",
  "_id": "0b6b7cd8-8afd-11eb-a7f6-3c15c2e6e4e0",
  "_version": 1,
  "_score": null,
  "_source": {
    "location": {
      "lon": -84.019604,
      "lat": 35.733902
    },
    "coordinates": {
      "type": "point",
      "coordinates": [
        -84.019604,
        35.733902
      ]
    },
    "@timestamp": "2021-03-22T10:52:22.385Z"
}

b) Lines on the map:

{
  "_index": "a-2021-03",
  "_type": "_doc",
  "_id": "544143ca-8afd-11eb-a7f6-3c15c2e6e4e0",
  "_version": 1,
  "_score": null,
  "_source": {
    "@timestamp": "2021-03-22T10:51:46.261Z",
    "location": {
      "lat": 40.757182,
      "lon": 3.993405
    },
    "coordinates": {
      "type": "linestring",
      "coordinates": [
        [
          3.993405,
          40.757182
        ],
        [
          4.034979,
          40.818492
        ]
      ]
    }
}

Mappings:

{
  "a-2021-01" : {
    "mappings" : {
      "dynamic" : "true",
      "_meta" : { },
      "_source" : {
        "includes" : [ ],
        "excludes" : [ ]
      },
      "dynamic_date_formats" : [
        "strict_date_optional_time",
        "yyyy/MM/dd HH:mm:ss Z||yyyy/MM/dd Z"
      ],
      "date_detection" : true,
      "numeric_detection" : false,
      "properties" : {
        "coordinates" : {
          "type" : "geo_shape"
        },
        "location" : {
          "properties" : {
            "lat" : {
              "type" : "float"
            },
            "lon" : {
              "type" : "float"
            }
          }
        }
      }
    }
  }

How the layer was made in the maps application:

Data source: Document
Index pattern: a-*
Geospatial field: coordinates
Geospatial field type: geo_shape
Name: my_name
Visibility: [Zoom levels] 0 to 24
Opacity: 75%

Sorting: timestamp desc

Scaling:
[v] Limit results to 10000.
[ ] Show top hits per entity.
[ ] Dynamically filter for data in the visible map area.

Filtering:
[v] Apply global filter to layer data

Layer style:
Lines, border width: 6px

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.