SQL Server中经纬度转换为UTM X和UTM Y坐标的函数 [英] Function to convert from latitude and longitude to UTM X and UTM Y coordinate in SQL Server

查看:55
本文介绍了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

这篇关于SQL Server中经纬度转换为UTM X和UTM Y坐标的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆