Skip to content

Commit 0348dd5

Browse files
committed
Force use of estimated metadata upon loading topologies
1 parent b95a5e9 commit 0348dd5

File tree

1 file changed

+3
-0
lines changed
  • python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview

1 file changed

+3
-0
lines changed

python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def run(item, action, mainwindow):
108108
provider = db.dbplugin().providerName()
109109
uri = db.uri()
110110

111+
# Force use of estimated metadata (topologies can be big)
112+
uri.setUseEstimatedMetadata( True )
113+
111114
# FACES
112115
group = legend.addGroup(u'Faces', False, supergroup)
113116

0 commit comments

Comments
 (0)