我可以使用Python中的OSMNX软件包下载历史数据吗?

发布于 2025-01-30 11:20:21 字数 97 浏览 3 评论 0原文

假设,以2018年12月3日在OSM中存在的方式下载给定城市的高速公路网络。

如果不是OSMNX,下载历史数据的其他方法是什么?立交桥API给了我某些地方的过载错误。

Let's say, download the highway network for a given city the way it was present in OSM on December 3, 2018.

If not OSMnx, what are other ways to download historical data? The Overpass API gave me an overload error for certain places.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

﹉夏雨初晴づ 2025-02-06 11:20:21

是的,您可以使用OSMNX检索OSM数据,例如街道网络,截至一定日期。这为您提供了截至一定日期和时间的OpenStreetMap中存在的历史快照。您可以配置OSMNX的Overpass_settings设置为此,如文档

询问某个日期的历史OSM数据:'[out:json] [超时:90] [日期:“ 2019-10-28T19:20:00z”]'。谨慎使用。

Yes you can use OSMnx to retrieve OSM data, such as a street network, as of a certain date. This gives you a historical snapshot of what was present in OpenStreetMap as of a certain date and time. You can configure OSMnx's overpass_settings setting to do this, as explained in the documentation:

To query, for example, historical OSM data as of a certain date: ‘[out:json][timeout:90][date:”2019-10-28T19:20:00Z”]’. Use with caution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文