[pktools] 246/375: removed options in pklas2img

Bas Couwenberg sebastic at xs4all.nl
Wed Dec 3 21:54:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch upstream-master
in repository pktools.

commit 2dc8acd79998ca169999db6cc73274dc475432e2
Author: Pieter Kempeneers <kempenep at gmail.com>
Date:   Wed Apr 23 09:21:56 2014 +0200

    removed options in pklas2img
---
 src/apps/pklas2img.cc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/apps/pklas2img.cc b/src/apps/pklas2img.cc
index 6179fac..d0b3404 100644
--- a/src/apps/pklas2img.cc
+++ b/src/apps/pklas2img.cc
@@ -32,10 +32,10 @@ int main(int argc,char **argv) {
   Optionpk<string> input_opt("i", "input", "Input las file");
   Optionpk<short> nodata_opt("nodata", "nodata", "nodata value to put in image if not valid", 0);
   Optionpk<string> attribute_opt("n", "name", "names of the attribute to select: intensity, return, nreturn, z", "z");
-  Optionpk<bool> disc_opt("circ", "circular", "circular disc kernel for dilation and erosion", false);
-  Optionpk<double> maxSlope_opt("s", "maxSlope", "Maximum slope used for morphological filtering", 0.0);
-  Optionpk<double> hThreshold_opt("ht", "maxHeight", "initial and maximum height threshold for progressive morphological filtering (e.g., -ht 0.2 -ht 2.5)", 0.2);
-  Optionpk<short> maxIter_opt("maxit", "maxit", "Maximum number of iterations in post filter", 5);
+  // Optionpk<bool> disc_opt("circ", "circular", "circular disc kernel for dilation and erosion", false);
+  // Optionpk<double> maxSlope_opt("s", "maxSlope", "Maximum slope used for morphological filtering", 0.0);
+  // Optionpk<double> hThreshold_opt("ht", "maxHeight", "initial and maximum height threshold for progressive morphological filtering (e.g., -ht 0.2 -ht 2.5)", 0.2);
+  // Optionpk<short> maxIter_opt("maxit", "maxit", "Maximum number of iterations in post filter", 5);
   Optionpk<short> nbin_opt("nbin", "nbin", "Number of percentile bins for calculating percentile height value profile (=number of output bands)", 10.0);
   Optionpk<unsigned short> returns_opt("ret", "ret", "number(s) of returns to include");
   Optionpk<unsigned short> classes_opt("class", "class", "classes to keep: 0 (created, never classified), 1 (unclassified), 2 (ground), 3 (low vegetation), 4 (medium vegetation), 5 (high vegetation), 6 (building), 7 (low point, noise), 8 (model key-point), 9 (water), 10 (reserved), 11 (reserved), 12 (overlap)");
@@ -65,10 +65,10 @@ int main(int argc,char **argv) {
     // invalid_opt.retrieveOption(argc,argv);
     nodata_opt.retrieveOption(argc,argv);
     attribute_opt.retrieveOption(argc,argv);
-    disc_opt.retrieveOption(argc,argv);
-    maxSlope_opt.retrieveOption(argc,argv);
-    hThreshold_opt.retrieveOption(argc,argv);
-    maxIter_opt.retrieveOption(argc,argv);
+    // disc_opt.retrieveOption(argc,argv);
+    // maxSlope_opt.retrieveOption(argc,argv);
+    // hThreshold_opt.retrieveOption(argc,argv);
+    // maxIter_opt.retrieveOption(argc,argv);
     nbin_opt.retrieveOption(argc,argv);
     returns_opt.retrieveOption(argc,argv);
     classes_opt.retrieveOption(argc,argv);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list