Skip to content

letheri/WMS_redirector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

WMS Redirector

This app is built for redirecting a WMS link using Flask.

Installation

  • 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

Deployment

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.

  • The app needs to be installed as a windows service using NSSM tool.
  • Reverse proxy functionaly needs to be enabled on IIS. Link
  • Use the localhost link to redirect on IIS.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages