For surveys that have extreme coverage, we pass giant bounding polygons to MongoDB. Sometimes those are beyond what MongoDB supports, so we get an error. We should validate the bounds before sending them to the database and handle the situation more gracefully. We can restrict the bounds, issue multiple queries, fail before sending the bad query, or send back a soft-failure tile.
For surveys that have extreme coverage, we pass giant bounding polygons to MongoDB. Sometimes those are beyond what MongoDB supports, so we get an error. We should validate the bounds before sending them to the database and handle the situation more gracefully. We can restrict the bounds, issue multiple queries, fail before sending the bad query, or send back a soft-failure tile.