本文整理汇总了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
示例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()
]
示例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
示例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
示例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()]
示例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()
]
示例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() ]
示例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)
示例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()]
示例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))
示例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
示例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()
示例13: __init__
# 需要导入模块: from sextante.core.AlgorithmProvider import AlgorithmProvider [as 别名]
# 或者: from sextante.core.AlgorithmProvider.AlgorithmProvider import __init__ [as 别名]
def __init__(self):
AlgorithmProvider.__init__(self)
示例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()]
示例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()]