Skip to content
Permalink
Browse files

Merge pull request #5671 from tomkralidis/issue-17347

[bugfix] [MetaSearch] fix Esri ArcGIS service chaining (fixes #17347)
  • Loading branch information
tomkralidis committed Nov 18, 2017
2 parents 1dab575 + 3ea8b74 commit af6b4cc79125a764bdb2a364b5ca8bfd60876a2c
Showing with 4 additions and 2 deletions.
  1. +4 −2 python/plugins/MetaSearch/dialogs/maindialog.py
@@ -772,11 +772,13 @@ def addVectorLayer(path, name):
conn_cmb = ows_provider.findChild(QWidget, 'mConnectionsComboBox')
connect = 'mConnectButton_clicked'
elif service_type == 'ESRI:ArcGIS:MapServer':
ows_provider.addAction(self.iface.actionAddAmsLayer())
ows_provider.addRasterLayer.connect(self.iface.addRasterLayer)
conn_cmb = ows_provider.findChild(QComboBox)
connect = 'connectToServer'
elif service_type == 'ESRI:ArcGIS:FeatureServer':
ows_provider.addAction(self.iface.actionAddAfsLayer())
def addAfsLayer(path, name):
self.iface.mainWindow().addVectorLayer(path, name, 'afs')
ows_provider.addVectorLayer.connect(addAfsLayer)
conn_cmb = ows_provider.findChild(QComboBox)
connect = 'connectToServer'
ows_provider.setModal(False)

0 comments on commit af6b4cc

Please sign in to comment.
You can’t perform that action at this time.