Anaconda provides an enterprise-ready data analytics platform that empowers companies to adopt a modern open data science analytics architecture.
The Mission Support Web Map Service (mss) is available as anaconda package on the channel.
This channel conda-forge has builds for osx-64, linux-64, win-64
The conda-forge github organization uses various automated continuos integration build processes.
To install MSS you need the conda installer or its drop-in replacement the mamba installer. We explain below how you get by the conda installer the mamba installer. Mamba is a fast cross platform installerr.
Preparations for installing MSS¶
The fastest way to get the conda installer is to start with Miniconda or Miniforge. This is a small subset of the Anaconda package with only the conda installer and its dependencies. If you do prefer to use over 7K open-source packages install Anaconda.
We recommend to install this for the local user. This does not require administrator permissions.
Please add the channel conda-forge to your defaults:
$ conda config --add channels conda-forge
The conda-forge channel must be on top of the list before the anaconda default channel.
You must install mss into a new environment to ensure the most recent versions for dependencies (On the Anaconda Prompt on Windows, you have to leave out the ‘source’ here and below).
$ conda create -n mssenv mamba $ conda activate mssenv (mssenv) $ mamba install mss=4.0.4 python
You need to reactivate after the installation once the environment to setup all needed enironment variables.
$ conda deactivate $ conda activate mssenv (mssenv) $ mss
With 5.0 we provide a new feature for updating MSS by the UI or the command line After you started the MSS UI it informs you after a while if there is a new update available. From the command line you can trigger this update feature by
(mssenv) $ mss --update
For updating an existing MSS installation to the current version, it is best to install it into a new environment. If your current version is not far behind the new version you could try the mamba update mss as described.
mamba is under development. All dependencies of MSS and MSS itselfs are under development. Sometimes this update feature of mamba can’t resolve from existing to new dependencies.
search for MSS what you can get
(mssenv) $ mamba search mss ... mss 4.0.4 py38h578d9bd_0 conda-forge mss 4.0.4 py39hf3d152e_0 conda-forge
compare what you have installed
(mssenv) $ mamba list mss mss 3.0.2 py39hf3d152e_0 conda-forge
We have reports that often an update suceeds by using the install option and the new version number, in this example 4.0.4 and python as second option
(mssenv) $ mamba install mss=4.0.4 python
All attemmpts show what you get if you continue. Continue only if you get what you want.
The alternative is to use a new environment and install mss.
For further details of configurating mss Configuration of mss
Server based installation¶
For a wms server setup or mscolab setup you may want to have a dedicated user for the apache2 wsgi script. We suggest to create a mss user.
create a mss user on your system
login as mss user
create a src directory in /home/mss
get miniconda for Python 3
set execute bit on install script
execute script, enable environment in .bashrc
login again or export PATH=”/home/mss/miniconda3/bin:$PATH”
conda create -n mssenv mamba
conda activate mssenv
mamba install mss=4.0.4 python
For a simple test you could start the builtin standalone mswms and mscolab server:
$ mswms & $ mscolab start
Point a browser for the verification of both servers installed on
Further details in the components section on http://mss.rtfd.io