Hi, I have modified v.rast.stats to work much faster when not using DBF driver (maybe my patch would work for that as well). Please test. The SQLITE NULL/nan bug got also fixed. Markus