-
-
Notifications
You must be signed in to change notification settings - Fork 18
How to: test pgRoutingLayer 3
December 3, 2019
- pgRoutingLayer v3.0.0-alpha is on master
- pgRoutingLayer v3.0.0-beta developing is taking place in develop branch
- Will have the latest changes
- Will move to master once we think the beta version is ready
git clone https://github.com/pgRouting/pgRoutingLayer
cd pgRoutingLayer
Don't for get to go to git checkout develop
to try latest changes
Create a new virtual environment inside the directory:
python3 -m venv py-env
If you are using Python 3, then you should already have the venv module from the standard library installed. If you don't have it then do:
sudo apt-get install python3-venv
Activate the environment
source py-env/bin/activate
You know its activated because the command line starts with: (py-env)
Install the needed software (only need to do once)
pip install wheel
pip install mkdocs
sudo apt-get install pyqt5-dev-tools
pip install pb_tool
For 20.04:
sudo apt-get install pyqt5-dev-tools
pip install pb_tool
pb_tool --help
If not install, go to and follow the instructions QGIS download For example:
sudo add-apt-repository "deb https://qgis.org/ubuntu bionic main"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key CAEB3DC3BDF7FB45
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
From the menu:
Settings -> User Profiles -> New Profile ...
Fill the form:
New profile name: pgrouting
Opens a new QGIS window with the profile pgRouting, close the old window.
Close QGIS.
sudo updatedb
locate QGIS3/profiles/pgrouting/python
Create plugins directory if not exists: (for example under user vicky)
mkdir /home/vicky/.local/share/QGIS/QGIS3/profiles/pgrouting/python/plugins
Edit pb_tool.cfg
Change the line:
plugin_path: /home/vicky/.local/share/QGIS/QGIS3/profiles/pgrouting/python/plugins
pb_tool deploy
Open QGIS
Plugins -> Manage and Install plugins -> Settings tab
Add tick mark on the form to:
- Check for updates on startup
- Show also experimental plugins
Plugins -> Manage and Install plugins -> Installed
pgRoutingLayer should show
Add tick mark on pgRoutingLayer
Maintained by the pgRouting Community
Website: https://pgrouting.org