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

Random points in polygon does not produce the desired number of points #58739

Open
1 of 2 tasks
belg4mit opened this issue Sep 13, 2024 · 1 comment
Open
1 of 2 tasks
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@belg4mit
Copy link

What is the bug or the crash?

Random points in polygon does not produce the desired number of points

Steps to reproduce the issue

Specify a field to create random points in a polygon with the default limit of 0 units permitted between points and very rarely do you end up with enough points to represent the sum of all the values in the specified field (once eliminating any bogus points for zero/null field values). Frequently it is quite off. With no restrictions on proximity, the tool should be creating exactly as many points as it is told, only the location should be random, not the count.

Versions

Grenoble

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@belg4mit belg4mit added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 13, 2024
@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Sep 13, 2024

@belg4mit, thanks for reporting. It would be useful is you provided a sample layer and the parameters' value to set for the processing algorithm in order to replicate the issue.
Does the issue also occurs using the "Random points inside polygons" processing algorithm?

@agiudiceandrea agiudiceandrea added Processing Relating to QGIS Processing framework or individual Processing algorithms Feedback Waiting on the submitter for answers labels Sep 13, 2024
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! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

2 participants