-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Stefan edited this page Dec 26, 2020
·
18 revisions
The osmhistorydb-ch wiki
General:
- Debian
- CLI tool "OSM-PostgreSQL-Experiments" (ope): https://github.com/osmcode/osm-postgresql-experiments , z.B.
src/ope -H 000.osc.gz obj=o%o.I.v.d.c.t.i.T.x.y.N.M.
- CLI tool ourtool zum Ausschneiden mittels Python (License GPL3 - like )
Notes:
- Boundary CH: https://planet.osm.ch/switzerland-exact.poly
- osm-history-renderer (unmaintained): https://github.com/MaZderMind/osm-history-renderer
Tool Chain:
- Initialize:
src/ope -H liechtenstein.osh ...
- Find initial minutely seq. no. nnn. manually with timestamp (or automagically using pyosmium)
- Repeat
- Download minutely change file using wget (or pyosmium getchange ...)
- Create nnn.pgsql using
src/ope -H nnn.osc.gz node=n%I.v.d.c.t.i.T.x.y way=w%I.v.d.c.t.i.T.N. rels=r%I.v.d.c.t.i.T.M.
-
psql < node.pgsql
;psql < ways.pgsql
;psql < relspgsql
- ourtool.py mydb -- remove outside boundary 1. node by location, 2. way by missing node_id, 3. rels by missing nwr members.
- tbc.