There is an example of such a loop in the docs; you are advised to make use of 
"bbox" to cut down on the effort.
- http://docs.geotools.org/latest/userguide/library/main/collection.html#join

-- 
Jody Garnett

On Friday, 13 May 2011 at 4:06 PM, ballibum wrote: 
> Hello list,
> i´ve got two multipolygon layers ( i call them a and b). Now, I create two
> collections, is it possible two get a third collection like:
> 
> collection_c = collection_a.difference(collection_b)
> 
> or must i generate a loop and reduce every feature_a with every feature_b?
> 
> thanks a lot
> balli
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/difference-between-layer-a-and-layer-b-tp6358222p6358222.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to