Re: [GRASS-dev] Pygrass - Getting pixel infos from a raster map

2017-03-14 Thread Sören Gebbert
Hi, The class pygrass.raster.RasterSegment is not directly related to the output created by i.segment. It is a class to allow random read and write access to very large raster layers, that do not fit into the main memory. Please use pygrass.raster.RasterRow[1] from grass7.2 for row-wise access to r

[GRASS-dev] Pygrass - Getting pixel infos from a raster map

2017-03-14 Thread Lucas lefevre
Hi, I'm new to Grass and Grass development. I'm writing a script using pygrass that should interact with areas in a raster map (output of i.segment). The final goal would be to highlight some of them to the user. But I can't even figure out how get infos from the different segments or even