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

Varonoi partitioning with few points generates empty areas #16

Open
davide-f opened this issue Sep 17, 2021 · 0 comments
Open

Varonoi partitioning with few points generates empty areas #16

davide-f opened this issue Sep 17, 2021 · 0 comments

Comments

@davide-f
Copy link

Dear developer,

when working at the issue pypsa-meets-earth/pypsa-earth#99 , I noticed that when applying the voronoi partitioning with few points in the shape the result was the one shown below.

image

That was due to the limits in the size of the voronoi shape that was limited to the size of the points (with a multiplier), while the outline shape was not considered.

Shortly, I post a Pull request to solve the issue.

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

1 participant