[GRASS-user] Type of data to be used in i.maxlik

Markus Neteler neteler at osgeo.org
Mon Oct 18 17:23:39 EDT 2010


On Fri, Oct 15, 2010 at 1:54 PM, Kim Besson <kimbesson1981 at gmail.com> wrote:
> Greetings
> Before I used i.maxlik I decided to give a look at the code. And I have one
> question:
> - the input data, I mean the data inside the group, must it be CELL
> (integers that range 0-255) or can it be DOUBLE (double precision that range
> whatever)?

The input can be double but will be read as integer (CELL) since the function
G_open_cell_old() is used [1].

> I believe that the training_area MUST be integers (for the obvious reason)

Yes.

Markus

[1]  http://grass.osgeo.org/programming6/opencell_8c.html#a1f48562fa8324da9929e8a089f124d2b


More information about the grass-user mailing list