Comments (6)
Yikes, OSM reverts are a tricky business @olafveerman. If the first changeset is just nodes, I think diffing the changesets would be the best way. Do you need help doing this?
from zambia-buildings-import.
Thanks @kamicut
Luckily they are all nodes and created from scratch. It should make the process easier.
I'll do the diffing, but will get back to about the deletion
from zambia-buildings-import.
@kamicut Let's talk about deletion when you get back to the office.
This script generates a list of diffed node id's
from zambia-buildings-import.
It's done. The remaining 21687 nodes were deleted in changeset #35271390.
These were the steps I followed:
- open a changeset using
$ perl changeset.pl create
from the OSM revert scripts. This opens a changeset and returns an ID - generate a OSM Changefile (osc) with the changeset ID generated in the first step, using this script. The output looks along these lines
<osmChange version="0.6" generator="script">
<delete>
<node id="3820975442" changeset="35271390" version="1" visible="false" />
</delete>
<delete>
<node id="3820975443" changeset="35271390" version="1" visible="false" />
</delete>
...
</osmChange>
- post the OSC file to the OSM upload endpoint using Postman
- close the original changeset
$ perl changeset.pl close 35271390
from zambia-buildings-import.
Awesome great news. Thanks @olafveerman for fixing all this. I'm going to look over your portion again, and then I"ll run the import.
from zambia-buildings-import.
Closing, refer to #10, this issue has been resolved
from zambia-buildings-import.
Related Issues (9)
- Create Zambia extract HOT 1
- Create import accounts/import process HOT 15
- QA source dataset HOT 1
- Create Overlay (ST_Overlaps) HOT 4
- Create wiki page HOT 1
- Post import update to Africa listserv HOT 1
- Post import plan to Imports listserv HOT 1
- Conduct sample import HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zambia-buildings-import.