|
33 | 33 | from processing.core.ProcessingConfig import ProcessingConfig, Setting
|
34 | 34 | from .GdalUtils import GdalUtils
|
35 | 35 |
|
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 |
86 | 86 |
|
87 | 87 | pluginPath = os.path.normpath(os.path.join(
|
88 | 88 | os.path.split(os.path.dirname(__file__))[0], os.pardir))
|
@@ -138,20 +138,58 @@ def svgIconPath(self):
|
138 | 138 | return QgsApplication.iconPath("providerGdal.svg")
|
139 | 139 |
|
140 | 140 | 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 | + ] |
155 | 193 | for a in self.algs:
|
156 | 194 | self.addAlgorithm(a)
|
157 | 195 |
|
|
0 commit comments