Skip to content

Commit d855225

Browse files
committed
Temporarily deactivate more algorithms
1 parent 3bd74ae commit d855225

File tree

2 files changed

+104
-66
lines changed

2 files changed

+104
-66
lines changed

python/plugins/processing/algs/gdal/GdalAlgorithmProvider.py

Lines changed: 102 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -33,56 +33,56 @@
3333
from processing.core.ProcessingConfig import ProcessingConfig, Setting
3434
from .GdalUtils import GdalUtils
3535

36-
from .nearblack import nearblack
37-
from .information import information
38-
from .warp import warp
39-
from .rgb2pct import rgb2pct
40-
from .translate import translate
41-
from .pct2rgb import pct2rgb
42-
from .merge import merge
43-
from .buildvrt import buildvrt
44-
from .polygonize import polygonize
45-
from .gdaladdo import gdaladdo
46-
from .ClipByExtent import ClipByExtent
47-
from .ClipByMask import ClipByMask
48-
from .contour import contour
49-
from .rasterize import rasterize
50-
from .proximity import proximity
51-
from .sieve import sieve
52-
from .fillnodata import fillnodata
53-
from .extractprojection import ExtractProjection
54-
from .gdal2xyz import gdal2xyz
55-
from .hillshade import hillshade
56-
from .slope import slope
57-
from .aspect import aspect
58-
from .tri import tri
59-
from .tpi import tpi
60-
from .roughness import roughness
61-
from .ColorRelief import ColorRelief
62-
from .GridInvDist import GridInvDist
63-
from .GridAverage import GridAverage
64-
from .GridNearest import GridNearest
65-
from .GridDataMetrics import GridDataMetrics
66-
from .gdaltindex import gdaltindex
67-
from .gdalcalc import gdalcalc
68-
from .rasterize_over import rasterize_over
69-
from .retile import retile
70-
from .gdal2tiles import gdal2tiles
71-
from .AssignProjection import AssignProjection
72-
73-
from .ogr2ogr import Ogr2Ogr
74-
from .ogr2ogrclip import Ogr2OgrClip
75-
from .ogr2ogrclipextent import Ogr2OgrClipExtent
76-
from .ogr2ogrtopostgis import Ogr2OgrToPostGis
77-
from .ogr2ogrtopostgislist import Ogr2OgrToPostGisList
78-
from .ogr2ogrpointsonlines import Ogr2OgrPointsOnLines
79-
from .ogr2ogrbuffer import Ogr2OgrBuffer
80-
from .ogr2ogrdissolve import Ogr2OgrDissolve
81-
from .onesidebuffer import OneSideBuffer
82-
from .offsetcurve import OffsetCurve
83-
from .ogr2ogrtabletopostgislist import Ogr2OgrTableToPostGisList
84-
from .ogrinfo import OgrInfo
85-
from .ogrsql import OgrSql
36+
# from .nearblack import nearblack
37+
# from .information import information
38+
# from .warp import warp
39+
# from .rgb2pct import rgb2pct
40+
# from .translate import translate
41+
# from .pct2rgb import pct2rgb
42+
# from .merge import merge
43+
# from .buildvrt import buildvrt
44+
# from .polygonize import polygonize
45+
# from .gdaladdo import gdaladdo
46+
# from .ClipByExtent import ClipByExtent
47+
# from .ClipByMask import ClipByMask
48+
# from .contour import contour
49+
# from .rasterize import rasterize
50+
# from .proximity import proximity
51+
# from .sieve import sieve
52+
# from .fillnodata import fillnodata
53+
# from .extractprojection import ExtractProjection
54+
# from .gdal2xyz import gdal2xyz
55+
# from .hillshade import hillshade
56+
# from .slope import slope
57+
# from .aspect import aspect
58+
# from .tri import tri
59+
# from .tpi import tpi
60+
# from .roughness import roughness
61+
# from .ColorRelief import ColorRelief
62+
# from .GridInvDist import GridInvDist
63+
# from .GridAverage import GridAverage
64+
# from .GridNearest import GridNearest
65+
# from .GridDataMetrics import GridDataMetrics
66+
# from .gdaltindex import gdaltindex
67+
# from .gdalcalc import gdalcalc
68+
# from .rasterize_over import rasterize_over
69+
# from .retile import retile
70+
# from .gdal2tiles import gdal2tiles
71+
# from .AssignProjection import AssignProjection
72+
#
73+
# from .ogr2ogr import Ogr2Ogr
74+
# from .ogr2ogrclip import Ogr2OgrClip
75+
# from .ogr2ogrclipextent import Ogr2OgrClipExtent
76+
# from .ogr2ogrtopostgis import Ogr2OgrToPostGis
77+
# from .ogr2ogrtopostgislist import Ogr2OgrToPostGisList
78+
# from .ogr2ogrpointsonlines import Ogr2OgrPointsOnLines
79+
# from .ogr2ogrbuffer import Ogr2OgrBuffer
80+
# from .ogr2ogrdissolve import Ogr2OgrDissolve
81+
# from .onesidebuffer import OneSideBuffer
82+
# from .offsetcurve import OffsetCurve
83+
# from .ogr2ogrtabletopostgislist import Ogr2OgrTableToPostGisList
84+
# from .ogrinfo import OgrInfo
85+
# from .ogrsql import OgrSql
8686

8787
pluginPath = os.path.normpath(os.path.join(
8888
os.path.split(os.path.dirname(__file__))[0], os.pardir))
@@ -138,20 +138,58 @@ def svgIconPath(self):
138138
return QgsApplication.iconPath("providerGdal.svg")
139139

140140
def loadAlgorithms(self):
141-
self.algs = [nearblack(), information(), warp(), translate(),
142-
rgb2pct(), pct2rgb(), merge(), buildvrt(), polygonize(), gdaladdo(),
143-
ClipByExtent(), ClipByMask(), contour(), rasterize(), proximity(),
144-
sieve(), fillnodata(), ExtractProjection(), gdal2xyz(),
145-
hillshade(), slope(), aspect(), tri(), tpi(), roughness(),
146-
ColorRelief(), GridInvDist(), GridAverage(), GridNearest(),
147-
GridDataMetrics(), gdaltindex(), gdalcalc(), rasterize_over(),
148-
retile(), gdal2tiles(), AssignProjection(),
149-
# ----- OGR tools -----
150-
OgrInfo(), Ogr2Ogr(), Ogr2OgrClip(), Ogr2OgrClipExtent(),
151-
Ogr2OgrToPostGis(), Ogr2OgrToPostGisList(), Ogr2OgrPointsOnLines(),
152-
Ogr2OgrBuffer(), Ogr2OgrDissolve(), OneSideBuffer(),
153-
OffsetCurve(), Ogr2OgrTableToPostGisList(), OgrSql(),
154-
]
141+
self.algs = [
142+
# nearblack(),
143+
# information(),
144+
# warp(),
145+
# translate(),
146+
# rgb2pct(),
147+
# pct2rgb(),
148+
# merge(),
149+
# buildvrt(),
150+
# polygonize(),
151+
# gdaladdo(),
152+
# ClipByExtent(),
153+
# ClipByMask(),
154+
# contour(),
155+
# rasterize(),
156+
# proximity(),
157+
# sieve(),
158+
# fillnodata(),
159+
# ExtractProjection(),
160+
# gdal2xyz(),
161+
# hillshade(),
162+
# slope(),
163+
# aspect(),
164+
# tri(),
165+
# tpi(),
166+
# roughness(),
167+
# ColorRelief(),
168+
# GridInvDist(),
169+
# GridAverage(),
170+
# GridNearest(),
171+
# GridDataMetrics(),
172+
# gdaltindex(),
173+
# gdalcalc(),
174+
# rasterize_over(),
175+
# retile(),
176+
# gdal2tiles(),
177+
# AssignProjection(),
178+
# ----- OGR tools -----
179+
# OgrInfo(),
180+
# Ogr2Ogr(),
181+
# Ogr2OgrClip(),
182+
# Ogr2OgrClipExtent(),
183+
# Ogr2OgrToPostGis(),
184+
# Ogr2OgrToPostGisList(),
185+
# Ogr2OgrPointsOnLines(),
186+
# Ogr2OgrBuffer(),
187+
# Ogr2OgrDissolve(),
188+
# OneSideBuffer(),
189+
# OffsetCurve(),
190+
# Ogr2OgrTableToPostGisList(),
191+
# OgrSql(),
192+
]
155193
for a in self.algs:
156194
self.addAlgorithm(a)
157195

python/plugins/processing/algs/grass7/Grass7AlgorithmProvider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from .Grass7Utils import Grass7Utils
3737
from .Grass7Algorithm import Grass7Algorithm
3838
from processing.tools.system import isWindows, isMac
39-
from .nviz7 import nviz7
39+
#from .nviz7 import nviz7
4040

4141
pluginPath = os.path.normpath(os.path.join(
4242
os.path.split(os.path.dirname(__file__))[0], os.pardir))
@@ -102,7 +102,7 @@ def createAlgsList(self):
102102
except Exception as e:
103103
QgsMessageLog.logMessage(
104104
self.tr('Could not open GRASS GIS 7 algorithm: {0}\n{1}').format(descriptionFile, str(e)), self.tr('Processing'), QgsMessageLog.CRITICAL)
105-
algs.append(nviz7())
105+
#algs.append(nviz7())
106106
return algs
107107

108108
def loadAlgorithms(self):

0 commit comments

Comments
 (0)