Several projects (including Cadmus) sometimes require a web API service to lookup geographic gazetteers data. One of the most useful gazetteers for many projects here is Pleiades, which unfortunately does not come with its own service. So, in order to integrate it into several software solutions, I created an essential tool which:
- imports the full data graph from Pleiades (a huge JSON file) into a PostgreSQL database, remodeling data accordingly.
- provides a multiple-platform CLI tool to handle import and other related functions.
- wraps some essential query functions in a RESTful API.
The project code and documentation can be found in its repository. Currently, it serves two purposes in my environment:
- provides Cadmus editors with lookup capabilities.
- provides lookup capabilites to the epigraphic codices project, where massive metadata import and cross-matching is required.