Skip to content

Commit

Permalink
fixed bugs in lidar tools
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@243 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com committed Jun 14, 2012
1 parent 9f7013a commit 506bcc0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/sextante/lidar/LidarToolsAlgorithmProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self):
lastools = [las2shp(), lasboundary(), las2dem(), las2iso(), lasgrid(), lasground(),
lasinfo(), lasheight(), lasprecision(), lassplit(), lasclassify(), lasclip()]
else:
self.lastools = [lasinfo(), lasprecision()]
lastools = [lasinfo(), lasprecision()]
for alg in lastools:
alg.group = "LASTools"
self.algsList.extend(lastools)
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/lidar/fusion/FusionAlgorithm.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from sextante.core.GeoAlgorithm import GeoAlgorithm
import os
from PyQt4 import QtGui
from sextante.fusion.FusionUtils import FusionUtils
from sextante.parameters.ParameterString import ParameterString
from sextante.lidar.fusion.FusionUtils import FusionUtils

class FusionAlgorithm(GeoAlgorithm):

Expand Down
46 changes: 0 additions & 46 deletions src/sextante/lidar/fusion/FusionAlgorithmProvider.py

This file was deleted.

6 changes: 3 additions & 3 deletions src/sextante/lidar/fusion/OpenViewerAction.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
from sextante.gui.ToolboxAction import ToolboxAction
import os
from PyQt4 import QtGui
from sextante.fusion.FusionUtils import FusionUtils
import subprocess
from sextante.lidar.fusion.FusionUtils import FusionUtils

class OpenViewerAction(ToolboxAction):

def __init__(self):
self.name="Open LAS viewer"
self.name="Open Fusion LAS viewer"
self.group="Visualization"

def getIcon(self):
return QtGui.QIcon(os.path.dirname(__file__) + "/../images/tool.png")
return QtGui.QIcon(os.path.dirname(__file__) + "/../images/tool.png")

def execute(self):
f = os.path.join(FusionUtils.FusionPath(), "pdq.exe")
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/lidar/lastools/LasToolsAlgorithm.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from sextante.lastools.LasToolsUtils import LasToolsUtils
from sextante.core.GeoAlgorithm import GeoAlgorithm
from sextante.parameters.ParameterBoolean import ParameterBoolean
import os
from PyQt4 import QtGui
from sextante.lidar.lastools.LasToolsUtils import LasToolsUtils

class LasToolsAlgorithm(GeoAlgorithm):

Expand Down

0 comments on commit 506bcc0

Please sign in to comment.