Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged


The glcm function outputs a stack, with each band containing values for each of the statistics calculated. By default, all available statistics are computed. You won't be able to put this stack into a single band within the brick as you are trying with band[i]<-. This is probably what is giving you the error message. One solution would be to output ...


The problem is in the fact that what you wrote is different from what you think you wrote. The comment says "retrieve the first item", but what really happens is "build a list that consists of the first item of every entry in the big list". bigFC = [itemA[0] for itemA in bigNeighborList] #retrieve the first item subtype = [itemA[1] for itemA in ...

Top 50 recent answers are included