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

[vector] Remove problematic topological editing related assert when adding features #35622

Merged
merged 1 commit into from Apr 7, 2020

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Apr 6, 2020

Description

So it turns out there are more scenarios where the assert check is bogus. Other than a newly-created polygon having nb of vertices entered + 1 as its final nb of geometry vertices, the count also doesn't match when a newly added polygon as clipped when [x] avoid overlap is active.

The more I've gotten to familiarize myself with the code here, the more I think this assert should simply go away.

@m-kuhn , all good?

@nirvn nirvn added Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality backport release-3_10 labels Apr 6, 2020
@github-actions github-actions bot added this to the 3.14.0 milestone Apr 6, 2020
@m-kuhn
Copy link
Member

m-kuhn commented Apr 6, 2020

For me, yes.

@lbartoletti you seem to have added these checks in #32474 , how do you feel about it?

@nirvn
Copy link
Contributor Author

nirvn commented Apr 7, 2020

@lbartoletti , all good with removing the assert?

@lbartoletti
Copy link
Member

LGTM
Thanks @nirvn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants