【发布时间】:2019-07-13 00:40:10
【问题描述】:
我正在研究pyqgis(使用pyqgis cookbook并开始加载矢量图层。
到目前为止,我能够打开一个我已经知道存在于 geopackge 上的层。
iface.addVectorLayer("./bcim_2016_21_11_2018.gpkg|layername=lim_unidade_federacao_a", "Nome Vetor", "ogr")
现在,我想知道如何列出托管在地理包上的所有图层,以便定义要加载的图层? 提前谢谢
费利佩
【问题讨论】: