Method ToGeography
ToGeography(Geometry)
Converts a planar Geometry to a spherical Geography for Earth-surface calculations.
public static Geography ToGeography(this Geometry geometry)
Parameters
geometryGeometryThe Geometry to convert.
Returns
- Geography
A Geography object wrapping the geometry for spherical calculations.