Marxan Connect (henceforth the “app”) is a Graphical User Interface (GUI) to help conservationists include “connectivity” in their protected area network planning. The app has now been described in a peer-reviewed publication in Methods in Ecology and Evolution.
The term “connectivity” has a variety of definitions (i.e. larval connectivity, genetic connectivity, landscape connectivity, etc) and protected area networks can be optimized for various connectivity objectives. The app is intended to guide conservationists through the process of identifying important aspects of connectivity for their conservation scenarios as well as highlighting the necessary data.
The app also includes a fully functional Python package that is operated via command line. The Python package,
marxanconpy, can be used to reproduce an analysis using the project file (
.MarCon) generated by the GUI.
To use this software, please visit the Tutorial and the Glossary. Otherwise, if you would just like to get started, please install the app and proceed through all the tabs from left to right starting with “Spatial Input”. After calculating the “Connectivity Metrics”, you can choose to conduct a Marxan or (experimentally) Marxan with Zones analysis in the app, export the connectivity metrics for use in a standalone custom Marxan analysis, or you can visualize the Connectivity Metrics using the “Plotting Options” tab
If you would like to report any bugs or request a missing feature, please post an issue on the GitHub repository. Please provide as much information as possible, such as: detailed description, app version, operating system, even a link to your data if relevant (also, see Contributing).
In terms of using the software for conservation planning, ‘best practices’ (*i.e. detailed documentation, case studies) are currently under development.
Marxan Connect was built for Windows or macOS. The app is currently not compatible with Linux although the python processing script (
marxanconpy) and GUI scripts (
MarxanConnectGUI) were designed with interoperability in mind.
(WARNING! Marxan Connect is in ‘beta’ release)
Please download the latest MarxanConnect-vX-Y-Z-windows-setup.exe installer file, run it, and follow the instructions. You may get a ‘Windows protected your PC’ security warning since we are not a large software company. Assuming you trust the contents of the app, click on
More info, then
Run anyway to install. Alternatively (for advanced users only), follow the Building from source instructions to use the latest bleeding edge version of the app.
If you cannot use the installer because you do not have administrative privileges, we’ve provided a zipped bundle of the app to allow users to bypass that problem. To use, download the latest MarxanConnect.zip, unzip it to your preferred destination (e.g.
~/Desktop), and double-click
MarxanConnectGUI.exe. In this case you will have to generate any start menu shortcuts, or file associations (i.e.
Please download the latest MarxanConnect-vX-Y-Z.dmg file, double-click the downloaded file and a Finder window wil appear, and click-and-drag into the Applications folder. You may get a ‘This is an application downloaded from the Internet’ security warning since we are not a large software company. Assuming you trust the contents of the app, in the Finder, locate Marxan Connect. Press the Control key and click the app icon, then choose Open from the shortcut menu. Click Open. Marxan Connect is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app. This was built and tested in macOS Mojave (10.14), but testing indicates it is compatible with older operating systems (>Yosemite 10.10.5). Alternatively (for advanced users only), follow the Building from source instructions to use the latest bleeding edge version of the app.
There is no prebuilt version of Marxan Connect for Linux, see this issue for more information. If you know how to resolve this issue, please submit a pull request or comment on the issue page. Alternatively (for advanced users only), follow the Building from source instructions to use the latest bleeding edge version of the app.
For users who prefer the command line, please visit the
Not for the typical user. Building from source is only necessary if you plan to contribute to the project (see Contributing section below) or if you want to use the bleeding edge version of the app.
cmdwindow (or git bash) in the project directory and type:
make will try to compile the windows version, so on macOS a full build would be
make web mac or
make web mac daily=1 for a release candidate. Alternatively, you can compile the website with
make web, the Marxan Connect Windows executable with
make exe, the windows installer
make win, the Windows zip with
make zip, and the macOS image with
make mac. During development, if you don’t want to build an ‘official version’, then use the
daily=1 argument for the makefile (e.g.
make exe daily=1) to create an automaticaly named release candidate.
It also assumes you have all the pre-requisite python modules installed to build the app itself, i.e.:
#!/bin/bash conda create --name marcon wxpython matplotlib geopandas descartes shapely pandas numpy cartopy source activate marcon # for windows conda activate marcon # for mac/linux pip install python-igraph # on windows you may need to install via wheel https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-igraph pip install PyInstaller marxanconpy bs4 pip install dmgbuild pexpect # for mac only
As well as pre-requesite R packages to build the website, i.e.:
## Loading required package: rmarkdown
if(!require("sf")) install.packages("sf") if(!require("leaflet")) install.packages("leaflet") if(!require("tmap")) install.packages("tmap") if(!require("tidyverse")) install.packages("tidyverse") if(!require("DT")) install.packages("DT") if(!require("igraph")) install.packages("igraph") if(!require("ggraph")) install.packages("ggraph") if(!require("gganimate")) devtools::install_github('thomasp85/gganimate') if(!require("tidygraph")) install.packages("tidygraph") if(!require("RColorBrewer")) install.packages("RColorBrewer")
gui.py file was built using the fantastic wxFormBuilder.
The windows installer was built using Inno Setup.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests or issues to us.
This project is licensed under the MIT License - see the LICENSE.md file for details
Ball, I.R., H.P. Possingham, and M. Watts. 2009. Marxan and relatives: Software for spatial conservation prioritisation. Chapter 14: Pages 185-195 in Spatial conservation prioritisation: Quantitative methods and computational tools. Eds Moilanen, A., K.A. Wilson, and H.P. Possingham. Oxford University Press, Oxford, UK.