I am looking for a way, using Boost Polygon, to read in a large set of polygons from a file, and output the resulting merge or union to a result file. In this case the polygons touch but do not overlap. I can put the data in any format. Not sure if there is a standard used by Boost Polygon. I am also looking for more documentation on the library. Any help would be appreciated. Thanks
Asked
Active
Viewed 805 times
3
-
I'm a little confused. How many input files do you have? Are they ordered in some way? – The Alchemist Aug 30 '10 at 01:54
-
it has to be done pairwise, regardless of how many you may have. In short take the first two merge them, take the next two merge them, then merge the two intial results, continue this until all polygons have been merged. mind you boost.polygon doesn't work well and is generally buggy, i would suggest using GPC – Jan 01 '11 at 21:22