oshdb
oshdb copied to clipboard
🚧 Reintegration OSMSource, OSHDBUpdate, OSHDBTools
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
- [ ] My code follows the code-style rules, and I have checked on the static analyses and benchmark (if applicable) results
- [ ] I have commented my code
- [ ] I have written javadoc (required for public classes and methods)
- [ ] I have added sufficient unit tests
- [ ] I have made corresponding changes to the documentation
- [ ] I have updated the CHANGELOG.md
- [ ] I have adjusted the examples or created an issue in the corresponding repository
- [ ] I have adjusted the benchmark or created an issue in the corresponding repository