Skip to content

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.

1 participant