Biểu trưng OpenStreetMap OpenStreetMap

Repair method of large multipolygons from backup pbf files?

Do nyampire đăng vào 26 tháng 08 năm 2019 bằng English.

I’m working on repairing the forest multipolygon in Hokkaido. They are deleted/modified/destroyed badly for several weeks ago.

hokkaido

It is very hard to repair with revert or redrawing, because the damage is too serious and complex. So I would like to reuse the polygons from old planet files if possible.

But I’m facing versioning issues. Anyone has more easy solution?

  • Extract multipolygon relation using osmium: Like those command.

osmium getid -r ./hokkaido-190601.osm.pbf r1083877 -o r1083877.osm

  • Merge: Merging those polygon and current osm.org data using JOSM merge selection.
  • Upload: It causes numerous conflicts due to object version is smaller than osm.org’s current objects.

Should I tweak the xml file for versioning? (e.g. using sed or some other methods)

P.S. The vandal mapper is editing his edit ignoring my message/changeset comments. I already reported this with osm.org’s reporting feature.

He is deleting my repair works, so quite problematic…

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Đăng nhập để nhận xét