Skip to content
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

line-smooth and polygon-smooth don't match #3541

Closed
Peakhunter opened this issue Oct 26, 2016 · 4 comments
Closed

line-smooth and polygon-smooth don't match #3541

Peakhunter opened this issue Oct 26, 2016 · 4 comments

Comments

@Peakhunter
Copy link

If I use this on forest:
polygon-smooth:0.5; line-smooth:0.5;
I get non-congruent outlines.
The polygon-smooth seems to be the problem.
3711c5f6-bdc5-11e4-9b7c-1a7186eeb2d6

@flippmoke
Copy link
Member

This is a complex problem dealing with line simplification algorithms, basically if you have different starting points then it is very likely that the results may end up different.

douglas-peucker_animated

@flippmoke
Copy link
Member

Closing this for now because I do not know any computational way to match this regularly - if someone has a compelling way to do it feel free to open it back up 👍

@artemp
Copy link
Member

artemp commented Oct 26, 2016

@flippmoke - I don't think this is a simplification issue unless there's some clipping happening as well. It's not clear from the description. I'd expect stroke and fill on the same geometries to match exactly (provided smooth parameters are equal).
@Peakhunter - could you verify and/or provide more info ^

@artemp artemp reopened this Oct 26, 2016
@artemp
Copy link
Member

artemp commented Jan 27, 2017

Discussion gone quite, so closing. Feel free to re-open with more details if this is still an issue.

@artemp artemp closed this as completed Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants