예제 #1
0
    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()
예제 #2
0
 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()