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

Alexander Bruy alexander.bruy at gmail.com
Tue Jun 26 09:53:26 PDT 2018


Please check API docs, PyQGIS cookbook is not reliable and up to date source.
Fo example, all analysis classes listed here
https://qgis.org/api/group__analysis.html
вт, 26 черв. 2018 о 19:45 karlg <karl.geog at gmail.com> пише:
>
> I don't doubt that code is in there - I see it in the source.
>
> My question is how to access it. The steps listed in docs don't work, and
> various things I try don't work.
>
> >> import qgis.analysis
> >> director = QgsLineVectorLayerDirector(vLayer, -1, '', '', '', 3)
>
> NameError: name 'QgsLineVectorLayerDirector' is not defined
>
> >> from qgis.analysis import QgsLineVectorLayerDirector
>
> ImportError: cannot import name 'QgsLineVectorLayerDirector'
>
> Perhaps you can supply a command that does in fact load
> QgsLineVectorLayerDirector
>
>
>
> -----
> kgeographer.org
> @kgeographer
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Alexander Bruy



More information about the Qgis-user mailing list