def __init__(self,providerType='Standard'): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [trainAlgorithm(),classifyAlgorithm(),splitTrain(),\ domainAdaptation(),trainSLOOAlgorithm(),trainSTANDalgorithm()]#,learnWithSpatialSampling()]#,classifyAlgorithm(),splitTrain()] if providerType == 'Experimental': from .processing.shannonEntropy import shannonAlgorithm from .processing.resampleImageSameDate import resampleImageSameDateAsSource from .processing.medianFilter import medianFilterAlgorithm self.alglist.append(shannonAlgorithm()) self.alglist.append(resampleImageSameDateAsSource()) self.alglist.append(medianFilterAlgorithm())
def initialize(): if "model" in [p.id() for p in QgsApplication.processingRegistry().providers()]: return # Add the basic providers for c in QgsProcessingProvider.__subclasses__(): p = c() Processing.BASIC_PROVIDERS.append(p) QgsApplication.processingRegistry().addProvider(p) # And initialize ProcessingConfig.initialize() ProcessingConfig.readSettings() RenderingStyles.loadStyles()
def initialize(): if "model" in [p.id() for p in QgsApplication.processingRegistry().providers()]: return # Add the basic providers for c in QgsProcessingProvider.__subclasses__(): p = c() if p.id() in ('native', '3d'): # c++ providers are already registered continue if QgsApplication.processingRegistry().addProvider(p): Processing.BASIC_PROVIDERS.append(p) # And initialize ProcessingConfig.initialize() ProcessingConfig.readSettings() RenderingStyles.loadStyles()
def __init__(self): QgsProcessingProvider.__init__(self) # Deactivate provider by default self.activate = False
def unload(self): QgsProcessingProvider.unload(self)
def icon(self): """ Should return a QIcon which is used for your provider inside the Processing toolbox. """ return QgsProcessingProvider.icon(self)
def __init__(self, parent=None): """ Default constructor. """ QgsProcessingProvider.__init__(self, parent)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [OfflineMapMatchingAlgorithm()]
def __init__(self): # pylint: disable=useless-super-delegation QgsProcessingProvider.__init__(self)
def __init__(self) -> None: QgsProcessingProvider.__init__(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [MGRStoLayerlgorithm(), ToMGRSAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ExportFieldAlgorithm()]
def unload(self): """Setting should be removed here, so they do not appear anymore when the plugin is unloaded. """ QgsProcessingProvider.unload(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [PgPointCloudImport(), ExtentImport()]
def __init__(self): """ Default constructor. """ self.plugin_dir = os.path.dirname(__file__) QgsProcessingProvider.__init__(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ReverseGeocode(), Geocode()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [WorkflowTestAlgorithm()]
def icon(self): return QgsProcessingProvider.icon(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [FuturMapPDALAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) self.styleOutputFootPrint = StyleOutputFootPrint()
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ClusterPointsAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [DemShadingAlgorithm(), OcclusionAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [LeastCostPathAlgorithm()]
def __init__(self): """ Default constructor. """ QgsProcessingProvider.__init__(self)
def unload(self): """ Unloads the provider. Any tear-down steps required by the provider should be implemented here. """ QgsProcessingProvider.unload(self)
def __init__(self): QgsProcessingProvider.__init__(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [DensityMapAlgorithm()]
def icon(self): """We return the default icon. """ return QgsProcessingProvider.icon(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ReseauTi(), AjoutChamp(), ConcatFolder(), ConnecteursGeo(), Contours(), CreerGraphe(), Interpole(), Majtitj(), ImportGTFS(), Inverser(), InverserSelection(), ReseauTC(), PrepareGTFS(), ConnectNodes2Lines(), CalculMusliw(), MusliwParam(), SimpleMatrix(), MatrixSimpleList(), MatrixDoubleList(), IsolatedNodes(), FichierAff(), ShiftLines(), FichierOD(), FichierTemps(), FichierTempsJour(), Trafic(), SpatialAggregation(), Routes(), PathAnalysis(), ArcsTi(), MajLinksTimes(), NodesFile(), NodesFileDay(), AutoConnecteurs(), MatrixTable(), MajLinksPole(), CreateUpdateLinks(), PathIndicators()] self.plugin_dir = os.path.dirname(__file__) # initialize locale locale = QSettings().value('locale/userLocale') if locale==None: locale='en' else: locale=locale[-2:] locale_path = os.path.join( self.plugin_dir, 'i18n', 'networks_{0}.qm'.format(locale)) if os.path.exists(locale_path): self.translator = QTranslator() self.translator.load(locale_path) QCoreApplication.installTranslator(self.translator)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [GeodesicDensifyAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [EstimateEcosystemServiceValuesForStudyRegion(), MapTheValueOfIndividualEcosystemServices(), CreatePrintLayoutAndExportMap()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [PointsToCatchmentsAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) self.algs = []