Open rinigus opened 1 year ago
Kyotocabinet can maybe be replaced by just table in SQLite using the same format as in Kyotocabinet:
Kyotocabinet replacement:
Kyotocabinet replacement:
RocksDB: https://rocksdb.org/
Has spatial indexing as well, see https://rocksdb.org/blog/2015/07/17/spatial-indexing-in-rocksdb.html . Although, sounds as tuned for showing tiles.
As has been highlighted by issue eventually caused by Kyotocabinet (https://github.com/rinigus/osmscout-server/issues/419), Goecoder NLP depends on a library that is not maintained anymore (see message at https://dbmx.net/kyotocabinet/). So, it makes sense to look for alternatives.
Currently, we use 3 data files to store one region:
Over those, SQLite provides links between records forming hierarchies and spatial search index.
In principle, we can swap the full set.