Skip to content

Database format revision #71

Open
Open
@rinigus

Description

@rinigus

As has been highlighted by issue eventually caused by Kyotocabinet (rinigus/osmscout-server#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:

  • SQLite database with the main record data
  • MARISA https://github.com/s-yata/marisa-trie for text search
  • Kyotocabinet for linking MARISA IDs to corresponding records in SQLite db. Here, one MARISA ID is mapped to multiple record IDs in SQLite database, saved as : <binary string containing multiple >.

Over those, SQLite provides links between records forming hierarchies and spatial search index.

In principle, we can swap the full set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions