批量从C#访问Google或Bing地图 [英] Batch accessing Google or Bing Maps from C#

查看:134
本文介绍了批量从C#访问Google或Bing地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,

我目前正在研究一个项目,我需要计算4000点之间的成对距离。由于我有所有点的坐标,因此计算它们之间的直线距离不是很困难......但是现在我想用不是直线路径而是用最短路径计算相同的〜800万个距离道路,由GPS软件给出。我可以通过C#访问Google / Bing /其他地图服务来计算这些距离吗?

非常感谢。


可能不是。



Google的有关使用限制的文档


Google Directions API的使用取决于每天2,500个方向请求的查询限制。请求中的单个路线请求最多可包含8个中途航点。 Google地图专业版客户每天最多可以查询10万个路线请求,每个请求最多允许23个航点。


必应也< a href =http://www.microsoft.com/maps/product/licensing.aspx =nofollow>有限制:



  1. 使用在面向公众的非密码保护网站上

  2. 在12个月的时间内限制125,000次会话或500,000次交易



Good morning,

I am currently working on a project in which I need to compute the pairwise distance between some 4000 points. Since I have the coordinates of all the points, computing the straight-line distance between them was not very difficult... But now I would like to compute the same ~ 8 million distances using not the straight-line path but the shortest path by road, as given by GPS software. Can I access Google/Bing/other map services from C# to compute these distances?

Thank you very much.

解决方案

Can I access Google/Bing/other map services from C# to compute these distances?

Probably not.

Google's documentation on usage limits:

Use of the Google Directions API is subject to a query limit of 2,500 directions requests per day. Individual directions requests may contain up to 8 intermediate waypoints in the request. Google Maps Premier customers may query up to 100,000 directions requests per day, with up to 23 waypoints allowed in each request.

Bing also has limits:

  1. Use is on public-facing, non-password protected Web sites
  2. Limit of 125,000 sessions or 500,000 transactions in a 12 month period

这篇关于批量从C#访问Google或Bing地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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