def __init__(self, providerType='Standard'): QgsProcessingProvider.__init__(self) # Load algorithms # ,learnWithSpatialSampling()]#,classifyAlgorithm(),splitTrain()] self.providerType = providerType
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ TigSurfitAlgorithm() # ,TigContouringAlgorithm() , TigTriangleAlgorithm(), TigReservesByRasterAlgorithm(), TigSurfaceCorrectionAlgorithm(), TigSurfaceIntersectCorrectAlgorithm(), TigVolumeMethodAlgorithm(), TigUpdatePointLocationAlgorithm(), TigSetCustomProp(), TigSetPdsCustomProp(), TigUpdateLabelLocationAlgorithm(), TigUpdateTableFieldAlgorithm(), TigCreateMultilineRuleLabelAlgorithm(), TigSetMapVariable(), TigShowRuleLabelContours(), TigJoinLayersAlgorithm(), TigSwitchLayerStyleAlgorithm() ] self.alglist = filter(lambda alg: alg is not None, self.alglist)
def __init__(self): """ Default constructor. """ self.alglist = [ FluxDensityAlgorithm(), DSFLSurface(), DSFLRaw(), DSFLSymbology(), CreateMeshAlgorithm(), RoadsReporting(), MergeGeometryAlgorithm(), MergeGeometryDissolveAlgorithm(), MergeGeometryNoOverlapAlgorithm(), RoadsExtent(), RoadsExtentBDTOPO(), RoadsExtentFromCadastre(), AddParcellesAlg(), RadianceStats(), ClassifyLightingAlg() ] self.alglist2 = [ VIIRS_Untar(), FluxDispAlg(), FluxDispTempCoulAlg(), FluxEstimationAlgorithm(), FluxTimeAlgorithm(), LightDispSymbology() ] for a in self.alglist: a.initAlgorithm() QgsProcessingProvider.__init__(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ ValhallaRouteLinesCarAlgo(), ValhallaRouteLinesTruckAlgo(), ValhallaRouteLinesBicycleAlgo(), ValhallaRouteLinesPedestrianAlgo(), ValhallaRoutePointsLayerCarAlgo(), ValhallaRoutePointsLayerBicycleAlgo(), ValhallaRoutePointsLayerPedestrianAlgo(), ValhallaRoutePointsLayerTruckAlgo(), ValhallaRoutePointsLayersCarAlgo(), ValhallaRoutePointsLayersTruckAlgo(), ValhallaRoutePointsLayersBicycleAlgo(), ValhallaRoutePointsLayersPedestrianAlgo(), ValhallaIsochronesCarAlgo(), ValhallaIsochronesTruckAlgo(), ValhallaIsochronesBicycleAlgo(), ValhallaIsochronesPedestrianAlgo(), ValhallaMatrixCarAlgo(), ValhallaMatrixTruckAlgo(), ValhallaMatrixBicycleAlgo(), ValhallaMatrixPedestrianAlgo(), ]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ LTOrographicPrecipitationAlgorithm(), LTOrographicPrecipitationTestInput() ]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ TilesXYZAlgorithmDirectory(), TilesXYZAlgorithmMBTiles() ]
def __init__(self): QgsProcessingProvider.__init__(self) self.alglist = [ ExportAlgorithm(), ExportImageAlgorithm(), ExportModelAlgorithm() ]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ EstimateEcosystemServiceValuesForStudyRegion(), MapTheValueOfIndividualEcosystemServices() ]
def __init__(self): QgsProcessingProvider.__init__(self) self.activate = True # Load algorithms self.alglist = [BlurringGeoAlgorithm()] for alg in self.alglist: alg.provider = self
def __init__(self): QgsProcessingProvider.__init__(self) self.activate = True # Load algorithms self.alglist = [SnapReachAlgorithm(), FlowTimesAlgorithm(), ChangeReachDirection()] for alg in self.alglist: alg.provider = self
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ OfflineMapMatchingAlgorithm(), ClipNetworkAlgorithm(), ReduceTrajectoryDensity() ]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ PeliasFreeSearchAlgo(), PeliasStrucSearchAlgo(), PeliasReverseAlgo() ]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ ORSdirectionsPointsAlgo(), ORSdirectionsLinesAlgo(), ORSisochronesAlgo(), ORSmatrixAlgo() ]
def __init__(self, icon: QIcon, plugin_dir: str): """ Default constructor. """ self.icon = icon self.plugin_dir = plugin_dir QgsProcessingProvider.__init__(self)
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [OfflineMapMatchingAlgorithm(), MapMatchingPreparation(), CalculateAllShortestPaths(), ClipNetworkAlgorithm(), ReduceTrajectoryDensity(), RipUpNetwork()]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ DemShadingAlgorithm(), HillshadeAlgorithm(), OcclusionAlgorithm(), TpiAlgorithm() ]
def __init__(self): QgsProcessingProvider.__init__(self) # Deactivate provider by default self.activate = False # Load algorithms self.alglist = [exportProject(), exportVector(), exportRaster()] for alg in self.alglist: alg.provider = self
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms #self.alglist = [ImportGpapAlgorithm(),ExportSpatialiteAlgorithm(),ExportTilesAlgorithm()] self.alglist = [ ImportGpapAlgorithm(), ExportSpatialiteAlgorithm(), ExportTilesAlgorithm() ]
def __init__(self): # we initialize the fact that this class # heritates from the provider class of the QGIS # package QgsProcessingProvider.__init__(self) # We load the algorithms that the plugin is # going to use while creating the provider. # We initialize it at the same time. self.alglist = [ForestRoadNetworkAlgorithm(), woodFluxAlgorithm(), roadTypeAlgorithm(), CostRasterAlgorithm()]
def __init__(self): QgsProcessingProvider.__init__(self) self.settings = Settings() self.alglist = [ ImportObservationerByLocationAlgorithm(self.settings), # ExportObservationerAlgorithm(self.settings), ApplyStyleToLineLayerAlgorithm(self.settings), BufferInMetersAroundPointsAlgorithm(self.settings), ]
def __init__(self): QgsProcessingProvider.__init__(self) self.alglist = [] # Load all subclasses of SpcAlgorithm of the following modules for module in [project, utils, hacks, tcrm]: for cls in module.__dict__.values(): QgsMessageLog.logMessage(str(cls)) if isinstance(cls, type) and cls is not SpcAlgorithm and issubclass(cls, SpcAlgorithm): self.alglist.append(cls())
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ WGS2GCJ(), GCJ2WGS(), GCJ2BD(), BD2GCJ(), WGS2BD(), BD2WGS() ]
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ RLERatioOfMapAlgorithm(), RLERatioOfImageAlgorithm(), LayerCharacteristicsAlgorithm(), LayerCharacteristicsGpkgAlgorithm(), CommonIntersectionAlgorithm(), CommonIntersectionAlgorithmGpkg() ]
def __init__(self): QgsProcessingProvider.__init__(self) self.activate = True # Load algorithms self.alglist = [ Ili2PgSchemaAlgorithm(), Ili2PgImportAlgorithm(), Ili2PgExportAlgorithm(), Ili2GpkgSchemaAlgorithm(), Ili2GpkgImportAlgorithm(), Ili2GpkgExportAlgorithm(), Ili2ImdAlgorithm() ] self.initializeSettings()
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 __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 __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ PointsInPolygon(), PointsToProportional(), PointsInGrid(), PointsToLine(), PointsToEdge(), EdgesToFlow(), PointsToSplitLine(), PointsToNNCluster(), LocalIndicatorSpatialA(), NearestNeighbourAnalysis(), DistanceAnalysis() ]
def __init__(self): QgsProcessingProvider.__init__(self) # initialize plugin directory self.plugin_dir = os.path.dirname(__file__) # initialize locale locale = QSettings().value('locale/userLocale')[0:2] locale_path = os.path.join(self.plugin_dir, 'i18n', 'processing_{}.qm'.format(locale)) if os.path.exists(locale_path): self.translator = QTranslator() self.translator.load(locale_path) if qVersion() > '4.3.3': QCoreApplication.installTranslator(self.translator) # Load algorithms self.alglist = [] # RASTER TOOLS self.alglist.append(AttachRasterValuesToLineVertices()) # VECTOR SELECTION TOOLS self.alglist.append(SelectDuplicates()) # WEB self.alglist.append(FileDownload()) self.alglist.append(WmsRipper()) # TO PROFILE COORDINATES self.alglist.append(TransformToProfil_Gradient()) self.alglist.append(TransformToProfil_GradientForAllLines()) self.alglist.append(TransformToProfil_LineIntersection()) self.alglist.append(TransformToProfil_LineIntersectionForAllLines()) self.alglist.append(TransformToProfil_PolygonIntersection()) self.alglist.append(TransformToProfil_PolygonIntersectionForAllLines()) self.alglist.append(TransformToProfil_Points()) self.alglist.append(TransformToProfil_PointsForAllLines()) self.alglist.append(TransformGeomFromProfileToRealWorld()) self.alglist.append(TransformToProfil_ShiftProfileOrigin()) self.alglist.append(Files2Table())
def __init__(self): QgsProcessingProvider.__init__(self) # AlgorithmProvider.__init__(self) self.activate = True # Load algorithms self.alglist = [ SnapReachAlgorithm(), FlowTimesAlgorithm(), ChangeReachDirection(), SumUpUpstreamAlgorithm(), SwmmCreateInputAlgorithm(), SwmmExtractResultsAlgorithm(), SwmmExecuteAlgorithm() ] for alg in self.alglist: alg.provider = self
def __init__(self): QgsProcessingProvider.__init__(self) # Load algorithms self.alglist = [ ReseauTi(), AjoutChamp(), ConcatReseaux(), ConnecteursGeo(), Contours(), CreerGraphe(), Interpole(), Majtitj(), ImportGTFS(), Inverser(), ReseauTC(), PrepareGTFS(), ConnectNodes2Lines(), CalculMusliw(), MusliwParam(), SimpleMatrix(), MatrixSimpleList(), MatrixDoubleList(), IsolatedNodes(), FichierAff(), ShiftLines() ] self.plugin_dir = os.path.dirname(__file__) # initialize locale locale = QSettings().value('locale/userLocale')[0: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): """ Default constructor. """ self.debugging = False #self.debugging = True self.tempdir = tempfile.TemporaryDirectory() QgsProcessingProvider.__init__(self) locale = QSettings().value('locale/userLocale')[0:2] locale_path = os.path.join(os.path.dirname(__file__), 'i18n', 'koala_{}.qm'.format(locale)) self.translator = None if os.path.exists(locale_path): self.translator = QTranslator() self.translator.load(locale_path) if qVersion() > '4.3.3': QCoreApplication.installTranslator(self.translator)
def __init__(self): QgsProcessingProvider.__init__(self) # Deactivate provider by default self.activate = False