SQL Server中经纬度转换为UTM X和UTM Y坐标的函数

问题描述:

我需要创建一个函数,在 SQL Server 中将经度和纬度转换为 UTM X 和 UTM Y 坐标.当用户提供经度和纬度时,该函数应将该信息转换为 UTM X 和 UTM Y 坐标.

I need to create a function that converts longitude and latitude to UTM X and UTM Y coordinates in SQL Server. When the user provides longitude and latitude, the function should convert that information to UTM X and UTM Y coordinates.

我建议使用 CoordinateSharp,它作为 NuGet 包提供:

I would recommend using CoordinateSharp which is available as a NuGet package:

https://github.com/Tronald/CoordinateSharp

支持 UTM