Skip to content

Support a non-generic query #61

Description

@jsgoupil

Most cases, I will need to have either a Point or a Polygon when querying.
In both cases, I end up with a IGeometry.

JsonConvert.DeserializeObject does support passing the type at runtime.
Forcing to have the type at compile time makes it quite complex for a simple fetch.

It would be interesting to have something like:

var layer = await secureGateway.DescribeLayer(endpoint);
secureGateway.Query(queryOptions, layer.GeometryType);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions