我尝试计算两个物体之间的距离。 declare @p1 geography
declare @p2 geography
SELECT @p1 = WKT from tbl_1 where loc = "school"
SELECT @p2 = WKT from tbl_2 where loc = "school"
select round(@p1.STDistance(@p2)/1000,
我有一个应用程序,用户在绘制区域,之后检查折线是否穿过它们。 突然应用程序的崩溃了,出现错误: A .NET Framework error occurred during execution of user-defined routine or aggregate "geography":
System.ArgumentException: 24144: This operation cann