4

How can I set Random Points Inside Polygons so that the number of points created inside each feature is based on an attribute value for that feature?

Based on other answers I see elsewhere on Stack Exchange, there should be an option for this in the GUI but I'm not seeing it. enter image description here

I'm using QGIS version 3.10.6 (A Coruña).

6

To use an attribute to determinate the number of points inside each polygon you need to use the Data Defined Override in the option Point count or density Here you can use an expression or just add a field from the attribute table using "FIELD_NAME" as syntax.

enter image description here

1
  • It worked! Thank you. – adonak May 22 '20 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.