Hi @fmeuser_gc,
The mongo db writer does support a multi-polygon. Possibly it may be a malformed geometry. It may be worth passing the geometry through a GeometryValidator to confirm the geometry, and confirm that the fme_geometry type going in is aggregate. Are you generating the geometry within FME with an aggreagtor?
First thing, there should be an option to turn off bulk writing in the writer settings:
Advanced > Use Bulk Inserts: No
Turning off bulk inserts can help you pinpoint exactly which feature is causing the problem, and often MongoDB gives us a better error message too.
In your case, I suspect either:
- MongoDB considers your geometry is invalid somehow (eg. self-intersection, 0 rings, etc.)
- Your geometry exceeds the limits of the LL-WGS84 coordinate system (ie. has a vertex beyond the bounding box of x in -180,180] and y in -90,90]
Can you try rerunning with non-bulk inserts and post the log message? It would also be helpful to log the offending feature if possible.