Skip to content

Skipping invalid geometries during deserialization #126

@DeividasBrazenas

Description

@DeividasBrazenas

Hello,
We're calling 3rd party services to get GeoJson objects and sometimes they are returning invalid GeoJson objects. We use NetTopologySuite for deserialization and would like to be able to skip invalid geometries instead of throwing an exception.

What would be the easiest way to achieve this? We could probably have our own implementation of the converter, but maybe there's a better option.

Thanks in advance 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions