-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplification #18
Simplification #18
Conversation
The function returns an array of all graticule intersections.
The first screenshot is |
Let me see whether I understand the situation. Did you create a GeoJSON that contains only one polygon, chosen from one of the polygons that self-intersects in our code? If it still intersects even in isolation, then we must seek help from the CGAL community. |
Sorry for the confusion, I did indeed create a GeoJSON that contains only one polygon, chosen from one of the polygons that self-intersects in our code and it still intersected in isolation. The following is the GeoJSON file i used!
|
Then I think we must unfortunately ask for help (e.g. StackOverflow). Can you prepare a minimum working example (MWE)? We should hardcode the numbers into the MWE so that it is easy to run. We do not need so many decimals for an MWE, and we should also remove as much of our own code as possible. For a single polygon, we do not need any of the polygons-to-linestrings conversion. |
Noted, I can go ahead and prepare a MWE! |
Thank you for asking for feedback on Stackoverflow. Your proposed workaround works, even with a more aggressive simplification. There was a recent update to Andreas Fabri's answer, but I suppose his bug fix will not be available in the official CGAL release for quite some time. Before I merge your pull request, can you please
|
Noted, indeed, I also don't think those fixes will be available any time soon. May I go ahead and mark his answer as the accepted answer then? And yes, I can go ahead and fetch the latest changes from the master branch. However, may we create a separate branch for the --simply flag task? I'll try to assign this task to another student. |
It is up to you whether you want to accept Andreas Fabri's current answer. I am hesitant to merge this pull request into the master branch without the |
Noted, I'll branch off from the |
There is a bug. |
Merge simplification branch into master branch