如何在经纬度之外获得道路的标记限速 [英] How to get the marked speed limit of a road, out of longitude and latitude

查看:56
本文介绍了如何在经纬度之外获得道路的标记限速的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这不是技术问题,但我不知道还能问什么.

I know that is not a technical question, but I don't know where else to ask.

有没有办法从谷歌或必应地图中获得道路的标记限速?或任何其他网络服务?

Is there a way to get the marked speed limit of a road from google or bing maps? or any other web service?

推荐答案

您无法从 Bing 地图或 Google 地图获取此信息.我也不知道提供此信息的任何其他网络服务(当然不是任何免费服务).

You cannot obtain this information from Bing Maps or Google Maps. Nor am I aware of any other webservices that provide this information (certainly not any free ones).

开放街道地图 (http://osm.org) 能够使用 maxspeed 标签.您可以下载 OSM 行星数据集并将其托管在 SQL Server 2012 等空间数据库中,然后创建您自己的 Web 服务来查询数据库并返回最接近方式的 maxspeed,但该值并不总是可靠地填充.但是,即使缺少 maxspeed 标签,您也可以通过查看感兴趣国家/地区道路类型的国家速度限制来推导出近似的最大速度限制,如 http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Maxspeed

Open Street Map (http://osm.org) has the ability for ways to be recorded with the maxspeed tag. You could download the OSM planet dataset and host it in a spatial database such as SQL Server 2012, then create your own web service to query the database and return the maxspeed of the closest way, but this value is not always reliably filled in. However, even when the maxspeed tag is missing, you can derive an approximate max speed limit by looking at the national speed limit for the type of road in the country of interest, as documented at http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Maxspeed

OSM 数据的质量因国家/地区而异.在英国,它真的非常好——在许多方面比谷歌地图或必应地图更及时、更准确、更完整.然而,在其他国家,它并不那么可靠.或者,有些供应商会向您出售包含这些信息的道路网络商业数据集,但它们往往是在国家层面上进行的,而且可能非常昂贵.(您对哪个国家/地区感兴趣?您没有提及..)

OSM data varies in quality quite a lot by country. Here in the UK it's really very good - more up-to-date, accurate, and complete than Google Maps or Bing Maps in many respects. However, in other countries it's not so reliable. Alternatively, there are providers that will sell you commercial datasets of road networks containing this information, but they tend to be at the national level and can be very expensive. (What country(s) are you interested in? You don't mention..)

最后,请注意,此信息是相当动态且与时间相关的 - 如果您确实下载了最大道路速度信息的数据集(来自 OSM 或商业来源),则希望必须经常更新它以跟上-与高速公路变更日期.

Finally, be aware that this information is fairly dynamic and time-dependent - if you do download a dataset of max road speed information (either from OSM or a commercial source) expect to have to update it frequently to keep up-to-date with highway changes.

这篇关于如何在经纬度之外获得道路的标记限速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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