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

Clean Polyline #337

Merged
merged 5 commits into from
Aug 15, 2019
Merged

Clean Polyline #337

merged 5 commits into from
Aug 15, 2019

Conversation

michaldengusiak
Copy link
Member

NOTE: Depends on

Issues addressed by this PR

This PR increases accuracy from 99.0% to 99.8%

Fixes #336

Test files

test file

Changelog

Adjust clean polyline

Additional comments

Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on the most part, however, I'm not a fan of the hard coded tolerance set at 0.01. I suspect it's useful for the project test files but may not be useful for all projects.

I would recommend including it on the XMLSettings and using that to allow users to specify what their distanceTolerance is going to be. If that can be changed to that I'd be happier 😄

XML_oM/XMLSettings.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@FraserGreenroyd FraserGreenroyd merged commit 7f8e623 into master Aug 15, 2019
@FraserGreenroyd FraserGreenroyd deleted the XML_Toolkit-Issue336-CleanPolyline branch August 15, 2019 16:18
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

Successfully merging this pull request may close these issues.

XML_Toolkit: Bug in CleanPolyline
2 participants