[GRASS-dev] [GRASS-SVN] r60563 - grass/trunk/raster/r.distance
Martin Landa
landa.martin at gmail.com
Wed May 28 14:21:08 PDT 2014
Hi,
2014-05-28 23:09 GMT+02:00 <svn_grass at osgeo.org>:
> Author: hcho
> Date: 2014-05-28 14:09:09 -0700 (Wed, 28 May 2014)
> New Revision: 60563
>
> Modified:
> grass/trunk/raster/r.distance/defs.h
> grass/trunk/raster/r.distance/main.c
> grass/trunk/raster/r.distance/parse.c
> grass/trunk/raster/r.distance/report.c
> Log:
> r.distance: -s/-r sort by distance implemented
[...]
> + sort = G_define_flag();
> + sort->key = 's';
> + sort->description = _("Sort by distance in ascending order");
> +
> + revsort = G_define_flag();
> + revsort->key = 'r';
> + revsort->description = _("Sort by distance in descending order");
> +
what about one option instead of two flags? See eg. `r.stats sort=`.
Would nice to decrease the number of mutually exclusive options rather
than increasing...
Martin
--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
More information about the grass-dev
mailing list