Table of Contents

Class GeoQueryValidator

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

Validates GeoQuery inputs against the WGS-84 ranges and the shape-specific constraints (closed ring, ≥2 vertices, etc.).

public static class GeoQueryValidator
Inheritance
GeoQueryValidator
Inherited Members

Remarks

Returns a typed ToolError rather than throwing so tool implementations can surface the failure through the standard ToolResult<T> pipeline.

Methods

Validate(GeoQuery, string)

Validates query. Returns null when the query is well-formed, or an InvalidArgument / GeometryInvalid error otherwise.

public static ToolError? Validate(GeoQuery query, string parameterName = "query")

Parameters

query GeoQuery
parameterName string

Returns

ToolError