Search code examples
polygonsgeotools

Is it possible to split multipolygon into smaller polygons?


i have a multipolygon geometry like this: Gray area is the area where is no rivers, roads, villages and etc.

I need somehow to split this geometry to smaller polygons, to gray ones. So, i would like to ask if it is possible and how i could do that. Thanks.


Solution

  • Depending upon the implementation you are using, a multi-polygon is a collection of polygons. If you can obtain a list of the polygons comprising the multi-polygon via you implementation's API then you are a large way to doing what you need.