|
From: Michael B. <mic...@gm...> - 2011-05-10 04:45:13
|
Hello Nick, I see that Jody has already given some advice about reading the data source and Andy has chipped in with some good points about vector / raster issues. GeoTools includes an unsupported module, gt-jai-tools, which wraps the ZonalStats image operation from the JAI-tools project: http://code.google.com/p/jai-tools/wiki/ZonalStats The ZonalStats operator is very flexible in choice of statistics, selective inclusion of values etc. So once your data are in GeoTools you can use that module for analysis. Also as Jody mentioned, Simone Giannecchini (our coverage module maintainer) has just committed some code to make ZonalStats available as a normal GeoTools coverage operation. I'm one of the authors of the JAI-tools code so if you have any questions about that end of things I'll try to help. I'm not involved in the GeoTools wrappers but I'm sure Simone and others will be able to help there. Good luck :) Michael |