database - Handling Road Segment Changes and Historical Data Tracking in OSM Integrations - Stack Overflow

We are integrating with a system that will send us OSM maps with its road segment data every two weeks.

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

You 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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745211909a4616891.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信