Skip to content

Deltares-research/liwo-services

Repository files navigation

LIWO Services

Documentation Status Updates

LIWO Backend Services

Update dependencies

Install from requirements: pip install --upgrade -r requirements.txt

Update requirements.txt: pip list --format=freeze > requirements.txt

Features

  • Start the services using FLASK_APP=liwo_services.app:app flask run.
  • Or using a wsgi host using the app liwo_services.app:app.
  • Or after running pip install -e . in the source directory, using the cli liwo_services run.

Routes

The following url's are available:

  • home: /
  • download_zip: /liwo.ws/Maps.asmx/DownloadZipFileDataLayers
  • getFeatureIdByScenarioId: /liwo.ws/Maps.asmx/GetBreachLocationId
  • loadBreachLayer: /liwo.ws/Tools/FloodImage.asmx/GetScenariosPerBreachGeneric
  • loadLayerSetById: /liwo.ws/Maps.asmx/GetLayerSet
  • loadLayerSets: /liwo.ws/Authentication.asmx/Login

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.