当前位置: 首页>>代码示例>>Python>>正文


Python AlgorithmProvider.__init__方法代码示例

本文整理汇总了Python中sextante.core.AlgorithmProvider.AlgorithmProvider.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python AlgorithmProvider.__init__方法的具体用法?Python AlgorithmProvider.__init__怎么用?Python AlgorithmProvider.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sextante.core.AlgorithmProvider.AlgorithmProvider的用法示例。


在下文中一共展示了AlgorithmProvider.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     #=======================================================================
     # self.actions.append(DefineGrassRegionAction())
     # self.actions.append(DefineGrassRegionFromLayerAction())
     #=======================================================================
     self.createAlgsList() #preloading algorithms to speed up
开发者ID:mokerjoke,项目名称:Quantum-GIS,代码行数:9,代码来源:GrassAlgorithmProvider.py

示例2: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.alglist = [AddTableField(), FieldsCalculator(), SaveSelectedFeatures(), JoinAttributes(),
                     AutoincrementalField(), Explode(), FieldsPyculator(), EquivalentNumField(),
                     SumLines(), PointsInPolygon(), PointsInPolygonWeighted(), PointsInPolygonUnique(),
                     BasicStatisticsStrings(), BasicStatisticsNumbers(), NearestNeighbourAnalysis(),
                     MeanCoords(), LinesIntersection(), UniqueValues(), PointDistance(), PointsLayerFromTable(),
                     StatisticsByCategories(),ReprojectLayer(),
                     ExportGeometryInfo(), Centroids(), Delaunay(), VoronoiPolygons(),
                     SimplifyGeometries(), DensifyGeometries(), DensifyGeometriesInterval(),
                     MultipartToSingleparts(), SinglePartsToMultiparts(), PolygonsToLines(),
                     LinesToPolygons(), ExtractNodes(),
                     ConvexHull(), FixedDistanceBuffer(), VariableDistanceBuffer(),
                     Dissolve(), Difference(), Intersection(), Union(), Clip(),
                     ExtentFromLayer(), RandomSelection(), RandomSelectionWithinSubsets(),
                     SelectByLocation(),
                     #MMQGISX
                     mmqgisx_delete_columns_algorithm(),
                     mmqgisx_delete_duplicate_geometries_algorithm(),
                     mmqgisx_geometry_convert_algorithm(),
                     mmqgisx_grid_algorithm(),
                     mmqgisx_gridify_algorithm(),
                     mmqgisx_hub_distance_algorithm(),
                     mmqgisx_hub_lines_algorithm(),
                     mmqgisx_merge_algorithm(),
                     mmqgisx_select_algorithm(),
                     mmqgisx_text_to_float_algorithm(),
                     #raster
                     CreateConstantRaster(), RasterLayerStatistics()
                     #graphics
                     #VectorLayerHistogram(), VectorLayerScatterplot(), RasterLayerHistogram(),
                     #MeanAndStdDevPlot(), BarPlot(), PolarPlot()
                     ]
开发者ID:geonux,项目名称:Quantum-GIS,代码行数:35,代码来源:QGISAlgorithmProvider.py

示例3: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     # deactivate provider by default
     self.activate = False
     # load algorithms
     self.alglist = [ExampleAlgorithm()]
     for alg in self.alglist:
         alg.provider = self
开发者ID:Adam-Brown,项目名称:Quantum-GIS,代码行数:10,代码来源:ExampleAlgorithmProvider.py

示例4: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.alglist = [ImportVectorIntoGeoServer(), ImportRasterIntoGeoServer(),
                     CreateWorkspace(), DeleteWorkspace(), DeleteDatastore(),
                     CreateStyleGeoServer()]
     
     try:            
         self.alglist.append(ImportIntoPostGIS())
         self.alglist.append(PostGISExecuteSQL())
     except:
         pass 
开发者ID:geonux,项目名称:Quantum-GIS,代码行数:13,代码来源:AdminToolsAlgorithmProvider.py

示例5: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.alglist = [
         ImportVectorIntoGeoServer(),
         ImportRasterIntoGeoServer(),
         CreateWorkspace(),
         DeleteWorkspace(),
         DeleteDatastore(),
         CreateStyleGeoServer(),
         ImportIntoPostGIS(),
         PostGISExecuteSQL(),
     ]  # , TruncateSeedGWC()]
开发者ID:Nald,项目名称:Quantum-GIS,代码行数:14,代码来源:AdminToolsAlgorithmProvider.py

示例6: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.alglist = [SumLines(), PointsInPolygon(), BasicStatistics(),
                     NearestNeighbourAnalysis(), MeanCoords(), LinesIntersection(),
                     UniqueValues(), PointDistance(),
                     # data management
                     # geometry
                     ExportGeometryInfo(), Centroids(), Delaunay(), VoronoiPolygons(),
                     SimplifyGeometries(), MultipartToSingleparts(), SinglePartsToMultiparts(),
                     PolygonsToLines(), LinesToPolygons(), ExtractNodes(),
                     # geoprocessing
                     ConvexHull(), FixedDistanceBuffer(), VariableDistanceBuffer(),
                     Dissolve(), Difference(), Intersection(), Union(), Clip(),
                     # research
                     ExtentFromLayer(), RandomSelection(), RandomSelectionWithinSubsets(),
                     SelectByLocation()
                    ]
开发者ID:mokerjoke,项目名称:Quantum-GIS,代码行数:19,代码来源:FToolsAlgorithmProvider.py

示例7: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
	def __init__(self):
		AlgorithmProvider.__init__(self)
		self.alglist = [ mmqgisx_attribute_export_dialog(), 
			mmqgisx_attribute_join_dialog(), 
			mmqgisx_delete_columns_dialog(), 
			mmqgisx_delete_duplicate_geometries_dialog(),
			mmqgisx_geocode_google_dialog(),
			mmqgisx_geometry_convert_dialog(),
			mmqgisx_geometry_export_dialog(),
			mmqgisx_geometry_import_dialog(),
			mmqgisx_grid_dialog(),
			mmqgisx_gridify_dialog(),
			mmqgisx_hub_distance_dialog(),
			mmqgisx_hub_lines_dialog(),
			mmqgisx_label_point_dialog(),
			mmqgisx_merge_dialog(),
			mmqgisx_select_dialog(),
			mmqgisx_sort_dialog(),
			mmqgisx_text_to_float_dialog(),
			mmqgisx_voronoi_dialog() ]
开发者ID:carsonfarmer,项目名称:Quantum-GIS,代码行数:22,代码来源:MMQGISXAlgorithmProvider.py

示例8: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
    def __init__(self):
        AlgorithmProvider.__init__(self)
        self.activate = False
        self.algsList = []
        if SextanteUtils.isWindows():
            lastools = [las2shp(), lasboundary(), las2dem(), las2iso(), lasgrid(), lasground(),
                         lasinfo(), lasheight(), lasprecision(), lassplit(), lasclassify(), lasclip()]
        else:
            lastools = [lasinfo(), lasprecision()]
        for alg in lastools:
            alg.group = "LASTools"
        self.algsList.extend(lastools)

        if SextanteUtils.isWindows():
            self.actions.append(OpenViewerAction())
            fusiontools = [CloudMetrics(), CanopyMaxima(), CanopyModel(), ClipData(), Cover(), FilterData(),
                         GridMetrics(), GroundFilter(), GridSurfaceCreate(), MergeData()]
            for alg in fusiontools:
                alg.group = "Fusion"
            self.algsList.extend(fusiontools)
开发者ID:mokerjoke,项目名称:Quantum-GIS,代码行数:22,代码来源:LidarToolsAlgorithmProvider.py

示例9: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.alglist = [AddTableField(), FieldsCalculator(), SaveSelectedFeatures(), JoinAttributes(),
                     AutoincrementalField(), Explode(), FieldsPyculator(), EquivalentNumField(),
                     #FTOOLS
                     SumLines(), PointsInPolygon(), PointsInPolygonWeighted(), PointsInPolygonUnique(),
                     BasicStatisticsStrings(), BasicStatisticsNumbers(), NearestNeighbourAnalysis(),
                     MeanCoords(), LinesIntersection(), UniqueValues(), PointDistance(),
                     # data management
                     ReprojectLayer(),
                     # geometry
                     ExportGeometryInfo(), Centroids(), Delaunay(), VoronoiPolygons(),
                     SimplifyGeometries(), DensifyGeometries(), DensifyGeometriesInterval(),
                     MultipartToSingleparts(), SinglePartsToMultiparts(), PolygonsToLines(),
                     LinesToPolygons(), ExtractNodes(),
                     # geoprocessing
                     ConvexHull(), FixedDistanceBuffer(), VariableDistanceBuffer(),
                     Dissolve(), Difference(), Intersection(), Union(), Clip(),
                     # research
                     ExtentFromLayer(), RandomSelection(), RandomSelectionWithinSubsets(),
                     SelectByLocation(),
                     #MMQGISX
                     #mmqgisx_attribute_export_algorithm(),
                     #mmqgisx_attribute_join_algorithm(),
                     mmqgisx_delete_columns_algorithm(),
                     mmqgisx_delete_duplicate_geometries_algorithm(),
                     #mmqgisx_geocode_google_algorithm(),
                     mmqgisx_geometry_convert_algorithm(),
                     #mmqgisx_geometry_export_algorithm(),
                     #mmqgisx_geometry_import_algorithm(),
                     mmqgisx_grid_algorithm(),
                     mmqgisx_gridify_algorithm(),
                     mmqgisx_hub_distance_algorithm(),
                     mmqgisx_hub_lines_algorithm(),
                     mmqgisx_label_point_algorithm(),
                     mmqgisx_merge_algorithm(),
                     mmqgisx_select_algorithm(),
                     mmqgisx_sort_algorithm(),
                     mmqgisx_text_to_float_algorithm(),
                     #raster
                     CreateConstantRaster()]
开发者ID:tomyun,项目名称:Quantum-GIS,代码行数:43,代码来源:QGISAlgorithmProvider.py

示例10: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self, wpsDockWidget):
     AlgorithmProvider.__init__(self)
     self.actions.append(AddNewWpsAction(wpsDockWidget))
开发者ID:bpross-52n,项目名称:qgis-wps-client,代码行数:5,代码来源:WpsAlgorithmProvider.py

示例11: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.activate = False
     self.createAlgsList() #preloading algorithms to speed up
开发者ID:Nald,项目名称:Quantum-GIS,代码行数:6,代码来源:SagaAlgorithmProvider.py

示例12: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.createAlgsList()
开发者ID:Adam-Brown,项目名称:Quantum-GIS,代码行数:5,代码来源:GdalOgrAlgorithmProvider.py

示例13: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
开发者ID:mokerjoke,项目名称:Quantum-GIS,代码行数:4,代码来源:ModelerOnlyAlgorithmProvider.py

示例14: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     self.alglist = [AddTableField(), FieldsCalculator(), SaveSelectedFeatures(),
                     AutoincrementalField(), Explode(), FieldsPyculator(), EquivalentNumField()]
开发者ID:hCivil,项目名称:Quantum-GIS,代码行数:6,代码来源:SextanteAlgorithmProvider.py

示例15: __init__

# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
 def __init__(self):
     AlgorithmProvider.__init__(self)
     #self.actions = [CreateNewModelAction()]
     self.contextMenuActions = [EditModelAction(), DeleteModelAction(), SaveAsPythonScriptAction()]
开发者ID:Adam-Brown,项目名称:Quantum-GIS,代码行数:6,代码来源:ModelerAlgorithmProvider.py


注:本文中的sextante.core.AlgorithmProvider.AlgorithmProvider.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。