Skip to content

Hosts different services used for creating models. We use docker technology.

License

Notifications You must be signed in to change notification settings

naonedia/expe_logement_services

Repository files navigation

exep_logement_services

Travis (.org) branch
Hosts different services used for creating models. We use docker technology.

OpenRouteService

OpenPOIService

API_model

Dataset

We retrieved the dataset here It's often updated, if you want to stay up-to-date, you might want to re-download it.

After downloading it you need to place 2 copies inside the following folders :

  • openpoiservice/osm/
  • openrouteservice/docker/data/

Docker

Install docker from here

After installing it you need to run the following command

cd openpoiservice/docker
docker-compose up -d
# The container name should be 'openpoiservice_gunicorn_flask_1' if not replace the name below by yours
docker exec -it openpoiservice_gunicorn_flask_1 /ops_venv/bin/python manage.py create-db
docker exec -it openpoiservice_gunicorn_flask_1 /ops_venv/bin/python manage.py import-data
cd openrouteservice/docker
docker-compose up -d

After

Now you are ready to use both api
open route service will serve its API to http://localhost:9090/ors
open POI service will serve its API to http://localhost:5000

We used openrouteservice-py. It allowed us to enhance our dataset with points of interest around houses.

About

Hosts different services used for creating models. We use docker technology.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages