parameters: (self, parameters, context, feedback)
return_statement: return {}
docstring: Here is where the processing itself takes place.
docstring_summary: Here is where the processing itself takes place.
docstring_tokens: Here is where the processing itself takes place .
function: def processAlgorithm(self, parameters, context, feedback):
          """Here is where the processing itself takes place."""
  
          # The first thing to do is retrieve the values of the parameters
          # entered by the user
          inputLayer = self.parameterAsVectorLayer(parameters,
                                                   self.INPUT_LAYER,
                                                   context)
          # inputLayer = dataobjects.getObjectFromUri(inputFilename)
          inputVisible = self.parameterAsBool(parameters, "VISIBLE", context)
          inputCluster = self.parameterAsBool(parameters, "CLUSTER", context)
          inputPopup = self.parameterAsString(parameters, "POPUP", context)
  
          popupList = []
          fields = inputPopup.split(",")
          for field in fields:
              fieldList = []
              k, v = field.split(":")
              fieldList.append(k.strip())
              fieldList.append(v.strip())
              popupList.append(tuple(fieldList))
  
          inputParams = self.getInputs(parameters, context)
  
          inputMapFormat = self.parameterAsString(parameters,
                                                  "MAP_FORMAT",
                                                  context)
          writer = self.getWriter(inputMapFormat)
  
          # Input layers vales are always a string with its location.
          # That string can be converted into a QGIS object (a
          # QgsVectorLayer in this case) using the
          # processing.getObjectFromUri() method.
  
          writer.params = defaultParams
          self.writerParams(writer, inputParams)
          writer.layers = [inputLayer]
          writer.groups = {}
          writer.popup = [OrderedDict(popupList)]
          writer.visible = [inputVisible]
          writer.json = [True]
          writer.cluster = [inputCluster]
          writer.json = [True]
          writer.getFeatureInfo = [False]
          exporter = EXPORTER_REGISTRY.createFromProject()
          write_folder = exporter.exportDirectory()
          writer.write(iface, write_folder)
  
          return {}
function_tokens: def processAlgorithm ( self , parameters , context , feedback ) : # The first thing to do is retrieve the values of the parameters # entered by the user inputLayer = self . parameterAsVectorLayer ( parameters , self . INPUT_LAYER , context ) # inputLayer = dataobjects.getObjectFromUri(inputFilename) inputVisible = self . parameterAsBool ( parameters , "VISIBLE" , context ) inputCluster = self . parameterAsBool ( parameters , "CLUSTER" , context ) inputPopup = self . parameterAsString ( parameters , "POPUP" , context ) popupList = [ ] fields = inputPopup . split ( "," ) for field in fields : fieldList = [ ] k , v = field . split ( ":" ) fieldList . append ( k . strip ( ) ) fieldList . append ( v . strip ( ) ) popupList . append ( tuple ( fieldList ) ) inputParams = self . getInputs ( parameters , context ) inputMapFormat = self . parameterAsString ( parameters , "MAP_FORMAT" , context ) writer = self . getWriter ( inputMapFormat ) # Input layers vales are always a string with its location. # That string can be converted into a QGIS object (a # QgsVectorLayer in this case) using the # processing.getObjectFromUri() method. writer . params = defaultParams self . writerParams ( writer , inputParams ) writer . layers = [ inputLayer ] writer . groups = { } writer . popup = [ OrderedDict ( popupList ) ] writer . visible = [ inputVisible ] writer . json = [ True ] writer . cluster = [ inputCluster ] writer . json = [ True ] writer . getFeatureInfo = [ False ] exporter = EXPORTER_REGISTRY . createFromProject ( ) write_folder = exporter . exportDirectory ( ) writer . write ( iface , write_folder ) return { }