[Qgis-user] qgis.networkanalysis missing in QGIS 3

karlg karl.geog at gmail.com
Mon Jun 25 15:59:01 PDT 2018


I've installed QGIS 3.2 on Mac (High Sierra) and it works fine, by and large.
In a Python console I see v3.65

I'm trying to create a graph for shortest path queries , and following
tutorial instruction at
https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/network_analysis.html?highlight=shortest%20path#id2,
which says:

>>> from qgis.networkanalysis import *

Response is "No module named 'qgis.networkanalysis'

Looking in Content/Resources/python/qgis/analysis, the folder has only an
init file with

from qgis.PyQt import QtCore
from qgis._analysis import *

Anyone know whether qgis.networkanalysis still exists in v3, and if so, how
to get at it?

Or, generally, how to do some shortest path in QGIS 3

thanks



-----
kgeographer.org
@kgeographer
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html



More information about the Qgis-user mailing list