text: '''
  Created on 05 nov. 2022
  
  @author: arxit
  '''
  from __future__ import absolute_import
  
  from builtins import object
  from .import_shp_dialog import ImportShpDialog
  
  class ImportGeoJSON(object):
      '''
      Main class for the import data widget
      '''
  
      def __init__(self, filename):
          '''
          Constructor
  
          :param filename: The GeoJSON filename
          :type filename: str, QString
          '''
          self.filename = filename
  
      def runImport(self):
          '''
          Import a GeoJSON file
          '''
  
          self.dlg = ImportShpDialog(self.filename)
          if self.dlg.valid:
              self.dlg.show()