Skip to content

PolygonEnumerableConverter does not work #149

@Darveesh

Description

@Darveesh

The CanConvert method of this converter does not return true for multipolygon coordinate collection (IEnumerable<polygon>). Noticed the body for this converter was different than all the others. By changing it to make it consistent the serializer output is now proper GeoJson coordinates:

return typeof(IEnumerable<Polygon>).IsAssignableFromType(objectType);

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