oshdb icon indicating copy to clipboard operation
oshdb copied to clipboard

🚧 Reintegration OSMSource, OSHDBUpdate, OSHDBTools

Open rtroilo opened this issue 1 year ago • 0 comments

This PR reintegrates OSMSource, OSHDBUpdate and OSHDBTools.

Writing TagInterpreter

  • [x] write new tags
  • [ ] ensure only one writing TagInterpreter

OSMSource:

  • [x] osc (replication files
  • [x] pbf (planet/extract dump)

OSHDBStore (entity store for oshdb)

  • [X] getEntity
  • [X] getByGrid
  • [X] getBackReferences
  • [ ] query (oshdb-api)
    • currently oshdb-api is only connected to the grid
    • you can't run an OSHDB query against the entity store
    • check performance
  • [ ] optional: batchImport
    • this would optimize overwrite imports
    • we should first test how long the update-oriented import takes

OSHDBUpdater

  • [X] update Entities
  • [ ] optional: optimize grid index

OSHDBTool

  • [ ] oshdb-tool create --store (rocksdb:/path-to-database/|ignite:..) --keytables jdbc:..:database --source (osm.pbf|oshdb.h2)
  • [ ] oshdb-tool update --store rocksdb:/path-to-database/ --keytables ... --grid ignite:ignite.xml --grid h2:/path-to-h2 --continues

Checklist

rtroilo avatar Apr 12 '23 08:04 rtroilo