http://www.perlmonks.org?node_id=443654


in reply to Re: Merging Polygons
in thread Merging Polygons

I second the recommendation for the module Math::Geometetry::Planar, especially the GpcClip UNION operation. It is capable of dealing with concave polygons and polygons with holes.