If both tables are in PostGIS you should be able to do this directly 
using SQL. It would be much faster then using GeoTools for the task.
Jody
> Hi everyone,
>
> I have two PostGIS tables that contains "MULTIPOLYGON"  geometries. I 
> would like to do a clipping between these two tables, in order to get 
> the intersections of geometries between these two tables. Is it a method 
> in Geotools that can do this work on these geometries ?
> I've found on the web an old javadoc that contained the class 
> "org.geotools.renderer.geom.Clipper" 
> (http://udig.refractions.net/docs/api-geotools/index.html), but it only 
> seems to take polyline geometry, and it is probably old packages since I 
> haven't found it on the svn branche 2.3.x.
> I know that in PostGIS there is a method intersection() that can 
> probably provide me the new geometries resulting from an intersection of 
> two units, but I'd like to know if there is something in Geotools that 
> can do that for me...
>
> Regards,
> Cédric B.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to