Boost logo

Geometry :

Subject: Re: [geometry] TR: dissolve and correct
From: Barend Gehrels (barend_at_[hidden])
Date: 2014-05-15 16:56:45


Hi Yohann,

yohann.benedic_at_[hidden] wrote On 15-5-2014 11:50:
> Hi everyone,
>
> Any comment on my message below?

>
> Yohann Bénédic wrote
>> Hi again,
>>
>> I am successfully compiling dissolve in the release branch thanks to Adam and Barend's support.
>> Now comes the question about its recommended usage.
>>
>> Before I realized my polygon database contained self-intersecting polygons, I use to call the correct algorithm after each geometry::polygon was built to make sure it met boost::geometry standards (clockwise and duplicate ending points).
>> What am I supposed to do now that some of my input polygons are self-intersecting : for them, clockwise or anticlockwise doesn't make sense, so I guess I should skip the call to correct, manually duplicate the endpoints and proceed directly with the dissolve algorithm.
>> Should I then call correct on the result to fix Clockwise issue or is dissolve taking care of that for me?

Sure, I was not forgotten yet, but indeed it takes a while. I will
answer Saturday.

Regards,
Barend


Geometry list run by mateusz at loskot.net