0

I'm planning to write a QGIS plugin which calculates isochrones.

I have created an tested a network in PostgreSQL and now I want to create a plugin. The Idea is to use a point layer as input and calculate isochrones using the network and nodes I've already created

In PostgreSQL I used the pgDrivingDistance function and alphashape for the calculation of the isochrones.

Is there a way of using the pg function in a QGIS Plugin or are there any other Ideas how to implement a function with the same function as pgDrivingDistance?

3
  • whats your code so far? There are modules from pyqt which allows you to connect to the database and perform queries on it Commented Mar 29, 2018 at 8:40
  • I haven´t started to write any code at the moment. I will take a look at pyqt and keep you updated... thanks Commented Mar 29, 2018 at 8:47
  • You Can also use psycopg2 for that. Commented Mar 29, 2018 at 9:47

1 Answer 1

1

There exists already a pgRouting plugin for QGIS: https://github.com/pgRouting/pgRoutingLayer

It has implemented also the driving distance function, but it needs to be upgraded to work with the new QGIS 3. Contributions to this plugin are always welcome!

1
  • It´s not exactly what I want, but a very weclome input indeed. Thank you Commented Mar 29, 2018 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.