如何获得明显的道路限速,超出经度和纬度 [英] How to get the marked speed limit of a road, out of longitude and latitude

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

问题描述

我知道这不是一个技术问题,但我不知道还有什么要问的。



有没有办法获得标记的速度限制谷歌或Bing地图的路?或任何其他网络服务?

解决方案

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



打开街道地图( http://osm.org )有能力用 maxspeed 标签记录方法。您可以下载OSM星球数据集并将其存放在空间数据库(如SQL Server 2012)中,然后创建自己的Web服务以查询数据库并以最接近的方式返回最大速度,但该值并非始终可靠地填充。 ,即使在最大速度标签丢失的情况下,您也可以通过查看感兴趣国家的道路类型的国家限速来获得近似的最大速度限制,如 http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Maxspeed



OSM各国的数据质量差异很大。在英国这里真的很棒 - 在许多方面比Google地图或Bing地图更新,更准确,更完整。但是,在其他国家它并不那么可靠。另外,还有一些提供商会向您出售含有这些信息的道路网络商业数据集,但他们倾向于在国家层面上,而且可能非常昂贵。 (你对哪个国家感兴趣?你没有提及..)

最后,请注意,这些信息是相当动态和时间依赖的 - if您可以下载最高道路速度信息(来自OSM或商业来源)的数据集,并希望经常更新它以跟上高速公路的变化。

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?

解决方案

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).

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 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..)

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天全站免登陆