Hello,
Has anyone some experience with the operation zonalstats.
I'm using zonalstats with ROI to compute somes stats for a feature.
But with feature that have a MultiplePolygon i have the following Error
java.lang.UnsupportedOperationException: Method intersects() not yet
implemented.
at
com.vividsolutions.jts.awt.GeometryCollectionShape.intersects(GeometryCollectionShape.java:104)
at javax.media.jai.ROIShape.intersects(ROIShape.java:968)
at javax.media.jai.ROIShape.intersects(ROIShape.java:948)
at
org.jaitools.media.jai.zonalstats.ZonalStatsDescriptor.validateArguments(ZonalStatsDescriptor.java:510)
at javax.media.jai.JAI.createNS(JAI.java:1086)
at
org.geotools.coverage.processing.OperationJAI.createRenderedImage(OperationJAI.java:981)
at
org.geotools.coverage.processing.OperationJAI.deriveGridCoverage(OperationJAI.java:630)
at
org.geotools.coverage.processing.OperationJAI.doOperation(OperationJAI.java:305)
Does any one have an idea of how to solve this problem ?
Is the idea of splitting the MultiPolygon into Polygon to compute some
stat is a correct idea ?
Best regards
Thomas
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users