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 5ab1dc0459840a71dc8f00ad9a5732ae03a0211f Author: Pieter Kempeneers <kempe...@gmail.com> Date: Fri Nov 14 18:48:22 2014 +0100 worked on descriptions in documentation --- doc/description_pkdumpimg.dox | 16 ++++++++++++++++ src/apps/pkdumpimg.cc | 2 -- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/doc/description_pkdumpimg.dox b/doc/description_pkdumpimg.dox index e69de29..c730db3 100644 --- a/doc/description_pkdumpimg.dox +++ b/doc/description_pkdumpimg.dox @@ -0,0 +1,16 @@ +## SYNOPSIS + +<code> + Usage: pkdumpimg -i input.txt [-o output] + + + Options: [-of matrix | line] [-b band] [-e vector | -ulx value -uly value -lrx value -lry value] + + Advanced options: [-dx value -dy value] [-r resampling] -srcnodata value -dstnodata value + +</code> + +\section pkdumpimg_description Description + +The utility pkdumpimg dumps the content of a raster dataset to (standard) output (screen or filename). The default is to dump the output in matrix format. Use -of line to dump each pixel value on a separate line, preceded by its position (x and y value). You can specify a bounding box to dump with either the extent of an OGR vector dataset or via the options -ulx -uly -lrx and -lry. + diff --git a/src/apps/pkdumpimg.cc b/src/apps/pkdumpimg.cc index 6253e63..e763d86 100644 --- a/src/apps/pkdumpimg.cc +++ b/src/apps/pkdumpimg.cc @@ -37,7 +37,6 @@ int main(int argc, char *argv[]) { Optionpk<std::string> input_opt("i","input","input image file",""); Optionpk<string> output_opt("o", "output", "Output ascii file (Default is empty: use stdout", ""); - Optionpk<string> otype_opt("ot", "otype", "Data type for output ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image", ""); Optionpk<string> oformat_opt("of", "oformat", "Output format (matrix form or list (x,y,z) form. Default is matrix form", "matrix"); Optionpk<int> band_opt("b", "band", "band index to crop"); Optionpk<string> extent_opt("e", "extent", "get boundary from extent from polygons in vector file", ""); @@ -56,7 +55,6 @@ int main(int argc, char *argv[]) try{ doProcess=input_opt.retrieveOption(argc,argv); output_opt.retrieveOption(argc,argv); - otype_opt.retrieveOption(argc,argv); oformat_opt.retrieveOption(argc,argv); band_opt.retrieveOption(argc,argv); extent_opt.retrieveOption(argc,argv); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel