Skip to content

Don't pass invalid bounds to mongodb #151

@prashtx

Description

@prashtx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions