Skip to content
Browse files
[processing/otb]Add specific rule to load ComputeOGRLayersFeaturesSta…
  • Loading branch information
amondot authored and volaya committed Nov 4, 2015
1 parent c548f8d commit 5e9647d3ff51ab6c317d6951470b9eae774bb30e
Showing with 17 additions and 0 deletions.
  1. +17 −0 python/plugins/processing/algs/otb/
@@ -329,6 +329,23 @@ def adaptComputePolylineFeatureFromImage(commands_list):
return commands_list2

def adaptComputeOGRLayersFeaturesStatistics(commands_list):
Remove parameter and user value instead of giving None.
Check geoid file, srtm folder and given elevation and manage arguments.
commands_list2 = commands_list
for item in commands_list:
if "None" in item:
index = commands_list2.index(item)
argumentToRemove = commands_list2[index - 1]
# commands_list2.append(item)
return commands_list2

def ckeckGeoidSrtmSettings():
folder = ProcessingConfig.getSetting(OTBUtils.OTB_SRTM_FOLDER)
if folder is None:

0 comments on commit 5e9647d

Please sign in to comment.