Skip to content

Commit

Permalink
Add link to ticket about GDAL raster not working with service-only uri
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Jun 2, 2017
1 parent d74864b commit 8987bb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/db_manager/db_plugins/postgis/plugin.py
Expand Up @@ -304,6 +304,7 @@ def gdalUri(self, uri=None):
if not uri:
uri = self.database().uri()
# NOTE: service-only URIs won't work with GDAL up to 2.2.x
# See: https://issues.qgis.org/issues/16626
service = (u'service=%s' % uri.service()) if uri.service() else ''
schema = (u'schema=%s' % self.schemaName()) if self.schemaName() else ''
dbname = (u'dbname=%s' % uri.database()) if uri.database() else ''
Expand Down

0 comments on commit 8987bb5

Please sign in to comment.