使用Bing Maps Api在SQL Server中的两点之间的距离 [英] Distance Between two points in SQL Server Using Bing Maps Api

查看:103
本文介绍了使用Bing Maps Api在SQL Server中的两点之间的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨开发者 

Hi Developers 

我相信你很好 

I trust you are well 

我想知道是否可能,有没有办法看看是否我可以使用Bing Maps Api获得两点之间的距离(两个纬度和两个经度),因为我尝试使用STdistance代码,但似乎不起作用 

I was wondering if possible, is there a way to see if I can be able to get the distance between two points (Two Latitude and Two Longitude) Using Bing Maps Api, because I tried using the STdistance Code and that does not seem to work 

让我知道你的想法 

let me know of your thoughts 

谢谢 

推荐答案


这似乎不起作用 

and that does not seem to work 

为什么它"似乎";对我来说它有效吗?

Why does it "seem"; for me it works?

使用SQL Server的内置功能无法访问Web服务,您必须编写一个CLR,类似于

语言翻译在SQL Server中使用Microsoft Translator公共API和CLR存储过程/函数

With build-in Features of SQL Server you can not Access web Services, you would have to write a CLR, similar to Language Translation within SQL Server using Microsoft Translator public APIs and CLR Stored Procedures / Functions


这篇关于使用Bing Maps Api在SQL Server中的两点之间的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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