[GRASS-dev] r.sample.category

Anna Petrášová kratochanna at gmail.com
Mon Jun 22 19:01:59 PDT 2015


Hi Paulo,

On Tue, Jun 16, 2015 at 5:38 AM, Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:

> I am having a look at the new r.sample.category addon. Great idea. I would
> like to make a suggestion; to allow the user to define the number of points
> as a percentage, similar to r.random.
>

do you mean number of points should be based on percentage of cells in each
category or the entire raster? There are some other TODOs in
https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.sample.category/r.sample.category.py#L47

Best,

Anna

>
> Rgds,
>
> Paulo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150622/bab0a78e/attachment.html>


More information about the grass-dev mailing list