[GRASS-dev] [GRASS-SVN] r60563 - grass/trunk/raster/r.distance
Huidae Cho
grass4u at gmail.com
Wed May 28 14:22:40 PDT 2014
Makes sense. Changing now.
On May 28, 2014 5:21 PM, "Martin Landa" <landa.martin at gmail.com> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140528/d35e4553/attachment.html>
More information about the grass-dev
mailing list