Skip to content
Permalink
Browse files

[processing] make DTM2ASCII tool visible in toolbox

  • Loading branch information
alexbruy committed Feb 11, 2016
1 parent c8161aa commit 8ba6149d7c4e38999424e15044a671a9b340b58c
@@ -121,6 +121,7 @@
from fusion.CloudMetrics import CloudMetrics
from fusion.Cover import Cover
from fusion.DTM2TIF import DTM2TIF
from fusion.DTM2ASCII import DTM2ASCII
from fusion.FirstLastReturn import FirstLastReturn
from fusion.GridMetrics import GridMetrics
from fusion.GridSurfaceCreate import GridSurfaceCreate
@@ -200,7 +201,7 @@ def _loadAlgorithms(self):
Catalog(), CloudMetrics(), CanopyMaxima(), CanopyModel(), ClipData(),
Csv2Grid(), Cover(), FilterData(), GridMetrics(), GroundFilter(),
GridSurfaceCreate(), MergeData(), TinSurfaceCreate(), PolyClipData(),
DTM2TIF(), FirstLastReturn(), ASCII2DTM()
DTM2TIF(), DTM2ASCII(), FirstLastReturn(), ASCII2DTM()
]
for alg in fusiontools:
alg.group, alg.i18n_group = alg.trAlgorithm('Fusion')
@@ -37,7 +37,6 @@ class DTM2ASCII(FusionAlgorithm):
INPUT = 'INPUT'
SWITCH = 'SWITCH'


def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('DTM to ASCII')
self.group, self.i18n_group = self.trAlgorithm('Points')
@@ -46,7 +45,6 @@ def defineCharacteristics(self):
self.addParameter(ParameterSelection(
self.SWITCH, self.tr('Output format'), ['raster (ASCII)', 'csv']))


def processAlgorithm(self, progress):
commands = [os.path.join(FusionUtils.FusionPath(), 'DTM2ASCII.exe')]
commands.append('/verbose')

0 comments on commit 8ba6149

Please sign in to comment.
You can’t perform that action at this time.