Skip to content

[BUG] Vizualize geometrycollection using Maps #754

@mszablewski

Description

@mszablewski

Describe the bug
Map vizualization is correctly created and displays simple geoshapes (point, linestring, polygon), but does not display geometrycollections.

Examplary geometry collection used:
"location" : {
"type": "geometrycollection",
"geometries": [
{
"type": "point",
"coordinates": [74.0060, 40.7128]
},
{
"type": "linestring",
"coordinates": [[73.7562, 42.6526], [72.6734, 41.7658]]
}
]
}

To Reproduce
Steps to reproduce the behavior:

  1. Create new map vizualization
  2. Select index with geoshape field containing geometrycollections
  3. geoshapes like point, linestring, polygon are vizualized correctly but geometry collections are not visible

Expected behavior
Display all valid geojson shapes

OpenSearch Version
2.17.0

Dashboards Version
2.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions