I’m using mongoimport on a JSON of complex polygons & multipolygons into a collection with a 2dsphere index on `geometry`` and am getting an error like this:
Failed: bulk write exception: write errors: [Can't extract geo keys: { _id: ObjectId('67b9e09e43284de5b8fd9076'), geometry: { type: "MultiPolygon", coordinates: [ [ [ [ -83.12100442727846, 29.67334386380935 ], [ -83.12101004439933, 29.6712329615624 ], [ -83.11987400653601, 29.67138173255717 ], [ -83.12002805420332,.... (it's a very big polygon)
I think this is due to some internal limits on the number of interior rings (holes) per polygon and the number of points per interior/exterior ring. Here’s what I’ve found. Is this accurate?
-250 maximum points per ring
-2,500 interior rings per polygon