Skip to content

Deserializing unknown Geometries? #184

Description

@FrankyBoy

Is there any way to just generically convert a Geometry into whatever type is specified in the GeoJSON itself? I.e. I have a DB column that might be anything from Point to MultiPolygon, so doing JsonConvert.DeserializeObject<SomeSpecificGeomTypeHere>(data.geom) does not work for obvious reasons.

If there is, this should really be documented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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