This project is read-only.

Convert Linelayer to polygonlayer

Jan 10, 2014 at 4:36 PM
Dear All,

is there a way to convert a layer made of line segments to a polygon layer?

I am using MIConvexHull library to generate voronoi mesh related to a set of points. What I get from that is the set of edges of the voronoi cells from which I can create a linelayer. The point is that I need to be able to get a polygon layer.
Do you know of any method to convert from set of lines (connected to each other) to a set of polygons?

Hope someone has an answer for me :)

Thank you anyway
Jan 10, 2014 at 5:36 PM
NetTopologySuite has a polygonizer API:

I assume you find a similar (older) version of that in DotSpatial.Topology
Marked as answer by jany_ on 9/9/2014 at 1:41 AM
Jan 13, 2014 at 5:09 PM
Hi Felix

thanks for the advice, it took me some time to understand its usage but now it works

thank you very much