Table of Contents

Class GeospatialUtils

Namespace
YndigoBlue.Velocity.Utils
Assembly
YndigoBlue.Velocity.dll

Provides utility methods for working with geospatial data and geometries.

public static class GeospatialUtils
Inheritance
GeospatialUtils

Remarks

GeospatialUtils offers helper methods for parsing Well-Known Text (WKT) representations of spatial data into geometry and geography objects using NetTopologySuite. The methods support both planar geometries (flat coordinate systems) and spherical geographies (Earth's curved surface). These utilities simplify the creation of spatial data for use with Velocity's geospatial features.

Methods

GeographyFromText(string)

Creates a spherical geography from Well-Known Text (WKT) representation.

GeographyFromText<T>(string)

Creates a strongly-typed spherical geography from Well-Known Text (WKT) representation.

GeometryFromText(string)

Creates a planar geometry from Well-Known Text (WKT) representation with SRID 0.

GeometryFromText<T>(string)

Creates a strongly-typed planar geometry from Well-Known Text (WKT) representation.