Conversation
|
@artemp or @ericfischer could you produce an image of the results here compared to #100 (comment) I would love to visually see the differences again. |
|
I'll try to build both versions to compare the output, unless @artemp gets there before I do. |
|
After thinking about this more two situations are concerns here for me, first can this turn the following into two exterior rings after clipping? Next, would this resolve to a single exterior ring and single hole. These are two common failure cases for many clipping algorithms and things I would be concerned that Boost may not resolve correctly. |
|
@flippmoke - thanks for providing pics ^ - it's always easier to see the issue. Lets establish what is a correct expected result for both cases. Could you post some more info, pls! |
|
The expected solution for the first one is two polygons each with no interior rings, one small triangle and one polygon with a larger square with a triangle cut out of it. The expected solution for the second one is one polygon with one interior ring with a hole cut out of it. The interior ring is a triangle that touches the square exterior ring at one point. |
One polygon with interior ring touches exterior at the tangent (which is valid according to OGC/ISO standards)two separate polygonsI'm yet to incorporate these tests into vector tiles but here is the start. Results are as expected ^ |
e-n-f
left a comment
There was a problem hiding this comment.
I think either of these PRs would be an improvement over the current situation. Maybe fuzzing will reveal a case that one of them can handle that the other can't.
|
LGTM, lets ship it. |





No description provided.