[Qgis-developer] Help make graph from line vector shapefile

Raffaele Albano albano.raffaele at tiscali.it
Sat Apr 14 16:27:14 EDT 2012


Hi,

 

I'm a new QGIS developer. I want to create a graph, a network, with a vector
line layer that represents the roads of a city, to find the shortest path
between two points.

Can you help me to transform the vector layer in a graph, or split the lines
features of the layer in the in-node and out-node?

How I have to use the qgis.core library, in particularly, the QgsGraph
class?

 

Greeting,

raffalba

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120414/96df8eb9/attachment.html


More information about the Qgis-developer mailing list