The documentations says that Cosmos supports Multipolygons but when I want to query using it I don't get the expected result. If I change the multipolygon to a polygon the query works as expected.
This is the result of ST_ISVALIDDETAILED with the multipolygon
Invalid position. A position must be represented by an array of numbers. There must be at least two elements in the array.
This is proof that the multipolygon is not working. Has anyone been able to work with multipolygons?
Note: I have used the multipolygon as example in the documentation. I have created the spatial index for the property.
{ "path": "/Region/Area/?", "types": [ "Point", "LineString", "Polygon", "MultiPolygon" ] }