在2个时间戳之间的osmupdate(Planet.opentreetmap.org)

发布于 2025-02-13 05:21:28 字数 529 浏览 0 评论 0原文

我正在研究一个OpenStreetMap项目,我想拥有一个带有命令Osmupdate 2个时间戳之间的数据的osc文件。

例如,OSMUPDATE NOW-3600 CHANGE_FILE.OSC正常工作,此时将为我提供时间戳中的所有数据,并提前一个小时。但是现在,我想在2个时间戳之间获取数据,例如2022-06-05T06:00:00:00 Z和2022-06-05T06:30:00Z(差30分钟)。

OSMUPDATE 2022-07-06T09:30:00z file.osc也可以很好地工作,并将为我提供一个文件,该文件从该时间戳开始。这是我主要搜索的地方: https://wiki.openstreetmmap.org.org/wiki/wiki/osmupdate ,但我找不到这样做的方法。

提前致谢!

I'm working on a OpenStreetMap project and I want to have a .osc file containing data between 2 timestamps with the command osmupdate.

For example osmupdate NOW-3600 change_file.osc works perfectly, and will give me all the data from the timestamp at this time and one hour in advance. But now I want to get data between 2 timestamps for example 2022-06-05T06:00:00Z and 2022-06-05T06:30:00Z (30 minutes difference).

osmupdate 2022-07-06T09:30:00Z file.osc also works perfectly and will give me a file containing the data starting from that timestamp until now. This is where I'm searching mostly: https://wiki.openstreetmap.org/wiki/Osmupdate, But I don't find a way to do this.

Thanks in advance!

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

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

发布评论

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

评论(1

傲影 2025-02-20 05:21:28

根据Wiki,您不可能在给定的时间戳和现在...

来源:
https://wiki.opens.orgi.openstreetmap.org/wiki/wiki/planet.osm/diffs

“另外,可以使用OSMUPDATE来创建累积的diff文件(.osc,.sosc.gz,.o5c,.o5c.gz)。该程序将在给定的时间戳和现在下载所有必要的差异。”

It isn't possible according to the wiki, you can choose between a given timestamp and now ...

source:
https://wiki.openstreetmap.org/wiki/Planet.osm/diffs
enter image description here
"Alternatively, the osmupdate can be used to create cumulated diff files (.osc, .osc.gz, .o5c, .o5c.gz). The program will download all necessary diffs between a given timestamp and now."

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