Navigation Menu

Skip to content

Commit

Permalink
[processing] make DTM2ASCII tool visible in toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 11, 2016
1 parent c8161aa commit 8ba6149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand Down
Expand Up @@ -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')
Expand All @@ -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')
Expand Down

0 comments on commit 8ba6149

Please sign in to comment.