2011/8/16 Glynn Clements <glynn at gclements.plus.com>: [...] > Either change line 226 should to: > > max = (CELL) dmax; > > or change line 313 to: > > if (cat >= min && cat < max) { thanks for the clarification. I chose the first case, see r47671. Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa