def OnLinkOgrLayers(self, event): """Links multiple OGR layers to GRASS vector map layers""" from modules.import_export import OgrImportDialog dlg = OgrImportDialog(parent=self, giface=self.giface, link=True) dlg.CentreOnScreen() dlg.Show()
def OnImportOgrLayers(self, event, cmd=None): """Convert multiple OGR layers to GRASS vector map layers""" from modules.import_export import OgrImportDialog dlg = OgrImportDialog(parent=self, giface=self.giface) dlg.CentreOnScreen() dlg.Show()