<div dir="ltr"><br><div class="gmail_extra">Hi Paulo,</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 5:38 AM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>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.<br></div></div></blockquote><div><br></div><div>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</div><div><a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.sample.category/r.sample.category.py#L47">https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.sample.category/r.sample.category.py#L47</a><br></div><div><br></div><div>Best,</div><div><br></div><div>Anna</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div>Rgds, <br><br>Paulo<br></div>
</blockquote></div><br></div></div>