Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃毀 Reintegration OSMSource, OSHDBUpdate, OSHDBTools #502

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

rtroilo
Copy link
Member

@rtroilo rtroilo commented Apr 12, 2023

This PR reintegrates OSMSource, OSHDBUpdate and OSHDBTools.

Writing TagInterpreter

  • write new tags
  • ensure only one writing TagInterpreter

OSMSource:

  • osc (replication files
  • pbf (planet/extract dump)

OSHDBStore (entity store for oshdb)

  • getEntity
  • getByGrid
  • 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

  • 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

@tyrasd tyrasd changed the title 馃毀Reintegration OSMSource, OSHDBUpdate, OSHDBTools 馃毀 Reintegration OSMSource, OSHDBUpdate, OSHDBTools Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant