Hello, Not sure what you mean by cut the list. If the result should be a list containing those portions of the input polygons that overlap the target polygon, you could call Geometry.intersection on each input polygon in turn:
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html#intersection(com.vividsolutions.jts.geom.Geometry) Note that if an input polygon intersects with the target polygon only at their boundary the intersection will be a LineString or Point rather than a Polygon, so you should check each intersection result for that if only Polygons are desired. Michael On 20 November 2012 09:41, augustodevel <[email protected]> wrote: > Hello, > > I have a list of polygon and one only polygon. I need to cut the list of > polygon with the base of the polygon. The image have the example about this. > > Somebody <http://osgeo-org.1560.n6.nabble.com/file/n5017534/example.png> > help me? > > Thanks > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Cut-some-polygon-with-a-polygon-tp5017534.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > GeoTools-GT2-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
