有没有办法通过 REST 访问 Bing 地图地理编码 API?
有没有办法通过 REST 访问 Bing Maps API 以从地址获取地理编码信息?这对于谷歌和雅虎来说是微不足道的事情;我正在寻找的是这样的功能,来自雅虎:
http://developer .yahoo.com/maps/rest/V1/geocode.html
(具体来说,请参阅该页面上的示例请求 URL,但也可以想象该 URL 带有简单的“位置”参数,而不是单独的街道、城市、州和 zip 参数。)
我找到了通过 REST 使用 Bing API 其他部分的示例,但没有任何内容可以访问 Maps API,特别是地理编码功能。
Is there a way to access the Bing Maps API via REST to obtain geocoding information from an address? This is something that's trivial to do with Google and Yahoo; what I'm looking for is functionality like this, from Yahoo:
http://developer.yahoo.com/maps/rest/V1/geocode.html
(Specifically, see the sample request URL on that page, but also imagine that URL with a simple "location" parameter rather than separate street, city, state, and zip parameters.)
I've found examples of using other parts of the Bing API via REST, but nothing that accesses the Maps API, or specifically, the geocoding functionality.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
显然,现在有一个 Bing Maps REST API:
http://msdn.microsoft.com/en-us/library/ff701713.aspx
Apparently, there now is a Bing Maps REST API:
http://msdn.microsoft.com/en-us/library/ff701713.aspx
这是一个带有代码的示例...
http://zachsgeospatial.blogspot.com/2011 /05/geocoding-via-bing-maps-rest-api.html
我希望它对你有帮助
Here is an example with codes...
http://zachsgeospatial.blogspot.com/2011/05/geocoding-via-bing-maps-rest-api.html
I hope it will be helpful to you
据我所知,SOAP 客户端是唯一提供访问地理编码服务的客户端。我也期待 REST 访问,因为雅虎和谷歌允许这样做,但我没有找到任何相关信息。
但请注意,我没有发现任何内容提到无法通过 REST 访问 Bing 地图 Web 服务,因此可能有一个......
As far as I know, the SOAP client is the only one provided to access the geocoding service. I was expecting a REST access too because yahoo and google allow that, but I didn't find anything about it.
Note however that I didn't find anything mentioning it wasn't possible to access the Bing Maps web services via REST, so there may be one....
使用 Bing 地图地理编码服务:http://msdn.microsoft.com/en -us/library/cc966793.aspx
Use the Bing Maps Geocode Service: http://msdn.microsoft.com/en-us/library/cc966793.aspx