Greetings<div><br></div><div>I&#39;m doing a GRASS Module (in C) that uses a training area (raster) and bands from a group and it do some pixel checking for the training_area and sees if the value shopuld be in that training area (some statistical analysis quite easy to implement). But I&#39;m having a lot of difficulties in &quot;accessing&quot; to data in training_area raster. I have used i.maxlik to access to data in group and in signature file (that I need) and r.example to access to training map but I&#39;m not getting it.</div>
<div><br></div><div>For pixels where my training_map is null(), according to map display pixel query, if I print that value using: c = ((CELL *) inrast)[col]; I get</div><div>-2147483648 instead of null() or something.</div>
<div>Is this expected?</div><div><br></div><div>Thanks</div><div><br></div><div>Best regards</div><div>Pedro</div>