Skip to content
forked from Qwant/fafnir

Import imposm POIs from PostgreSQL to Mímirsbrunn Elasticsearch

License

Notifications You must be signed in to change notification settings

jbgriesner/fafnir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GH-build Docker Pulls GitHub license

Fafnir

  • Rust tool to import imposm points-of-interest from a PostgreSQL database into a Mímirsbrunn Elasticsearch.
  • You can run fafnir either manually or with docker.

Getting Started

  • First build fafnir with Cargo:
cargo build --release
  • Then you can run fafnir (with the connections to postgres and elasticsearch):
cargo run --release --dataset=<dataset name> --es=http://<es-IP>:9200 --pg=postgresql://<pg-IP>:5432

Run with docker 🐳

docker build . -t fafnir

Tests

  • You can run the tests than come along fafnir directly with cargo:
cargo test
  • For a live test, you can import a small postgres database from the ile-de-france points-of-interest directly from this docker image:
docker pull qwantresearch/postgres_poi_idf

About

Import imposm POIs from PostgreSQL to Mímirsbrunn Elasticsearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 98.7%
  • Dockerfile 1.3%