You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to render geo_shape of types point, linestring, polygon, multipoint, multilinestring, and MultiPolygon. But geo_shape of type Geometrycollection or envelope does not show up on maps.
Add new layer on map with this index pattern and select location field.
Does not show anything on map.
Add another document that is a polygon for example, and it does show up on the map.
PUT my-geoindex/_doc/3
{
"location" : {
"type" : "polygon",
"coordinates" : [
[
[74.0060, 40.7128],
[73.7562, 42.6526],
[71.0589, 42.3601],
[74.0060, 40.7128]
]
]
}
}
What is the expected behavior?
I an expecting the geometries in a geometry collection to redender on the map.
What is your host/environment?
AOS v2.13
The text was updated successfully, but these errors were encountered:
What is the bug?
I am able to render geo_shape of types point, linestring, polygon, multipoint, multilinestring, and MultiPolygon. But geo_shape of type Geometrycollection or envelope does not show up on maps.
How can one reproduce the bug?
PUT /my-geoindex
{
"mappings": {
"properties": {
"locations": { "type": "geo_shape" }
}
}
}
PUT /my-geoindex/_doc/1
{
"location": {
"geometries": [
{
"coordinates": [
0.407293,
52.745262
],
"type": "Point"
},
{
"coordinates": [
[
0.407293,
52.745262
],
[
20.407762,
52.746998
]
],
"type": "LineString"
}
],
"type": "GeometryCollection"
}
}
Create index pattern "my-geoindex*"
Add new layer on map with this index pattern and select location field.
Does not show anything on map.
Add another document that is a polygon for example, and it does show up on the map.
PUT my-geoindex/_doc/3
{
"location" : {
"type" : "polygon",
"coordinates" : [
[
[74.0060, 40.7128],
[73.7562, 42.6526],
[71.0589, 42.3601],
[74.0060, 40.7128]
]
]
}
}
What is the expected behavior?
I an expecting the geometries in a geometry collection to redender on the map.
What is your host/environment?
AOS v2.13
The text was updated successfully, but these errors were encountered: