QGIS plugin for Isobenefit Urbanism.
To install the plugin in QGIS, enable the experimental plugins setting and then search for the "isobenefit" plugin.
This work is an outgrowth of the original work (forked to BSP-isobenefit-original) developed by Michele Voto and Luca D'Acci. This has subsequently been developed as part of the Future Urban Growth project at the Bartlett School of Planning.
A website providing a broad overview of this plugin can be found at BSP-isobenefit-urbanism with the associated repo located at UCL/BSP-isobenefit-urbanism.
QGIS does not yet have an integrated dependency management system. This means that certain of the dependencies required by this plugin have to be installed manually. Restart QGIS after the Python dependencies have been installed.
If the below steps don't work, see https://enmap-box.readthedocs.io/en/latest/usr_section/usr_installation.html#package-installer for additional context / ideas.
- From the Start menu, open OSGeo4W Shell.
- Run
pip install numba==0.55.2
- If it complains that
rasterio
is missing, then install perpip install rasterio
- Open the Terminal application
- Run
/Applications/QGIS.app/Contents/MacOS/bin/pip install numba==0.55.2
- If
rasterio
errors are encountered, then install therasterio
package as well.
- Open the terminal
- Run
python3 -m pip install numba==0.55.2
- If
rasterio
errors are encountered, then install therasterio
package as well.
NOTE: If you are missing the
shapely
orfiona
packages, then you may also need to install these.
brew install qt5 pyqt pdm qgis
pdm install
- add
.env
file with path appendages:
PYTHONPATH="${env:PYTHONPATH}:/Applications/Qgis.app/Contents/Resources/python/plugins:/Applications/Qgis.app/Contents/Resources/python"
Using
pb_tool
deploy doesn't seem to copy the files across, so using a softlink instead per next section.
pb_tool
uses apb_tool.cfg
file.- Build the resources:
pb_tool compile
.
- On Windows: copy and paste the dev plugin folder (i.e.
isobenefit
folder) into the user's plugin directory, e.g.<user>/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins
- On Mac: Create a softlink from the development folder (
isobenefit
) to the QGIS plugins directory, this depends on the system, e.g.ln -s /Users/gareth/dev/other/BSP-isobenefit-qgis-plugin/isobenefit/ '/Users/gareth/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins'
- Restart QGIS.
If zipping the plugin directory on a mac, remove the __MACOSX
directory:
zip -d isobenefit.zip __MACOSX/\*
- [http://g-sherman.github.io/plugin_build_tool/](PB Tool)
- https://qgis.org/pyqgis/3.28/
- [https://gis-ops.com/qgis-3-plugin-tutorial-plugin-development-reference-guide/](Plugin Guide)
- https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/index.html
- https://webgeodatavore.github.io/pyqgis-samples/index.html
- [https://www.geodose.com/2021/03/netcdf-temporal-visualization-qgis.html](temporal range raster)
- [https://anitagraser.com](open source GIS ramblings)
- [https://docs.qgis.org/3.4/en/docs/user_manual/working_with_mesh/mesh_properties.html#what-s-a-mesh](mesh layers)