We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 98713a9 commit 976015aCopy full SHA for 976015a
python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/__init__.py
@@ -125,7 +125,7 @@ def run(item, action, mainwindow):
125
sql = u'SELECT face_id, topology.ST_GetFaceGeometry(%s,' \
126
'face_id)::geometry(polygon, %s) as geom ' \
127
'FROM %s.face WHERE face_id > 0' % \
128
- (quoteStr(toponame), quoteId(toponame), toposrid)
+ (quoteStr(toponame), toposrid, quoteId(toponame))
129
uri.setDataSource('', u'(%s\n)' % sql, 'geom', '', 'face_id')
130
uri.setSrid(toposrid)
131
uri.setWkbType(QGis.WKBPolygon)
@@ -142,7 +142,7 @@ def run(item, action, mainwindow):
142
'topology.ST_GetFaceGeometry(%s,' \
143
'face_id))::geometry(point, %s) as geom ' \
144
145
146
uri.setDataSource('', u'(%s)' % sql, 'geom', '', 'face_id')
147
148
uri.setWkbType(QGis.WKBPoint)
0 commit comments