On Monday, 3 December 2012 at 10:16 PM, David Shi wrote:
I just wonder whether a single multi-polygon can be converted to individual polygons.
Can this be done easily?
It is very easy in ESRI ArcGIS.
From: Jody Garnett <firstname.lastname@example.org>
To: David Shi <email@example.com>
Cc: geotools users <firstname.lastname@example.org>
Sent: Monday, 3 December 2012, 11:27
Subject: Re: [Geotools-devel] Feature to polygon
Hey David, we should keep communication on the geotools user list (if you would like to email questions to me privately, my employer LISAsoft can arrange a support contract). Plus this way you get a wide range of feedback, incase I am no the wrong track myself.What happens when many polygons are digitised as one polygon.That is called a MultiPolygon. You may want to look at the standards side of the street (rather than ESRI) in order to get a holdof the functionality (and language) we use.The geometry support follows the "Simple Features for SQL" standard, if you download that document from the OGC you will be able to answer many of your questions.Our feature comes from the OGC "General Feature Model", the specific projectESRI's feature to polygon function can convert features into polygons.If you would like to combine individual polygons (or multi-polygons) into a single multi-polygon you can use lookup how to do "union".
Can Geotools do the same?If it cannot, you as a developer can do the rest :-)Cheers,Jody