Skip to content
Stefan edited this page Dec 26, 2020 · 18 revisions

The osmhistorydb-ch wiki

General:

Notes:

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.
Clone this wiki locally