admin管理员组文章数量:1415139
We are integrating with a system that will send us OSM maps with its road segment data every two weeks. The total size of these OSM files is around 100GB, meaning we will receive full maps each time.
We have found a way to generate update OSM files for the storage system where these maps will be stored (PostgreSQL + PostGIS).
osmosis --read-pbf file=old_file.osm.pbf --read-pbf file=new_file.osm.pbf --write-pbf file=update_file.osm.pbf
However, the main challenge is that we need to track changes in road segment characteristics with each update. Since we plan to extract up-to-date data for specific time periods in the future, we need to somehow capture what data was changed and at what moment in time.
Has anyone already faced this issue or perhaps found existing tools that could help with this?
We are integrating with a system that will send us OSM maps with its road segment data every two weeks. The total size of these OSM files is around 100GB, meaning we will receive full maps each time.
We have found a way to generate update OSM files for the storage system where these maps will be stored (PostgreSQL + PostGIS).
osmosis --read-pbf file=old_file.osm.pbf --read-pbf file=new_file.osm.pbf --write-pbf file=update_file.osm.pbf
However, the main challenge is that we need to track changes in road segment characteristics with each update. Since we plan to extract up-to-date data for specific time periods in the future, we need to somehow capture what data was changed and at what moment in time.
Has anyone already faced this issue or perhaps found existing tools that could help with this?
Share Improve this question asked Feb 11 at 12:32 AliaksandrAliaksandr 239 bronze badges1 Answer
Reset to default 0You can download all changesets from planet.osm.. The file https://planet.openstreetmap./planet/changesets-latest.osm.bz2 is updated once a week, then you can filter the changeset using the osmium-tool, e.g. https://github/osmcode/osmium-tool/blob/master/man/osmium-changeset-filter.md
本文标签: databaseHandling Road Segment Changes and Historical Data Tracking in OSM IntegrationsStack Overflow
版权声明:本文标题:database - Handling Road Segment Changes and Historical Data Tracking in OSM Integrations - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745211909a2647937.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论