This app is built for redirecting a WMS link using Flask.
- Install Python 3.11
- It is recommended to create a new environment for the app. Create the environment using on CMD with,
- python -m venv C:\ { APP_FOLDER } \env
- Active the environment using CMD with following,
- C:\ { APP_FOLDER } \env\Scripts\activate.bat
- After activating the environment, install the necessary libraries for the app.
- Flask
- waitress
- requests
Deployement steps only include how to deploy for IIS Windows servers. Normally, any WMS link can be redirected on IIS directly, but WMS responses contain links which directs to certain features. Any web application that relies on these links get broken if the links were to be just directed on IIS.
As a solution, this flask app is used to update the response XML content to match the redirected links.