When using GRASS commands on the command line, one very neat little trick is to ‘pipe’ results from one function directly to another. An example I used in an earlier post is:
r.category My_map | r.category My_map rules=-
So, how does that works in python using pygrass?
Continue reading “PyGRASS equivalent of piping results from one function to another”