Table of Contents

Class GeoQuery

Namespace
EncDotNet.S100.Datasets.Pipelines.Geometry
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

Discriminated union over the supported geographic input shapes.

public abstract record GeoQuery : IEquatable<GeoQuery>
Inheritance
GeoQuery
Implements
Derived
Inherited Members

Remarks

Tools that accept a spatial parameter take a GeoQuery rather than a bare lat/lon pair so the same wire shape handles point, bbox, polygon and polyline-with-corridor questions.

Every variant projects to a coarse GeoBoundingBox (via GetBoundingBox()) for use against the BoundingBox-based filters elsewhere in the catalog. Finer containment / intersection (ray casting for polygons, per-segment corridor boxes for polylines — see Intersects(BoundingBox, GeoQuery)) is delegated to the consumer.

Methods

GetBoundingBox()

Coarse bounding box for the query, suitable for first-pass dataset-bounds intersection.

public GeoBoundingBox GetBoundingBox()

Returns

GeoBoundingBox

ToPipelineBoundingBox()

Project to the legacy pipeline BoundingBox shape.

public BoundingBox ToPipelineBoundingBox()

Returns

BoundingBox