Hi,

I figured out what was going on... nothing wrong with JTS, only the
input.  Or the
inputter.

Cheers,
Peter

On Fri, Apr 25, 2008 at 9:42 PM, Peter Rushforth
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using JTS 1.9.
>
> When I create a GeometryCollection with a mixture of Polygon and
> MultiPolygon geometries and
> invoke the union() method, I get the following error message:
>
>  com.vividsolutions.jts.geom.Geometry.union()}: Exception in extension 
> function
>  java.lang.IllegalArgumentException: This method does not support
> GeometryCollection arguments
>
> The javadoc says it should be ok to do this:
>
> "Heterogeneous GeometryCollections are fully supported. "
>
> Is this a bug or am I doing something wrong?
>
> Thanks
> Peter
>
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to