Import imposm POIs from PostgreSQL to Mímirsbrunn Elasticsearch
9.2K
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
Fafnir can be used with docker as well.
You can either use the fafnir docker image
Or build your own image with this repo:
docker build . -t fafnir
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
Content type
Image
Digest
sha256:ba5e685b3…
Size
39.3 MB
Last updated
about 4 years ago
docker pull qwantresearch/fafnir