Go to ET GeoWizards 12.x User Guide
Generates random points located in the polygons of the input polygon dataset. The number of points per polygon can be constant or different for each polygon - based on the values in a numeric field of the input polygon feature class.
Inputs:
Outputs:
Notes:
If the number of points specified cannot be placed in specific polygon, a message will be stored in the log file.
The larger minimum distance between the points specified, the more uniform the points created will be.
Illustration:
Original polygons labeled with the values in
field to be used as a source for getting the number of points to be
generated and the resulting points. Distance between points = 0, Minimum distance to boundary = 0 |
|
30 points per polygon. Distance between points = 0, Minimum distance to boundary = 0 |
![]() |
30 points per polygon. Distance between points = 0, Minimum distance to boundary = 5 |
![]() |
30 points per polygon. Distance between points = 5, Minimum distance to boundary = 0 |
![]() |
30 points per polygon. Distance between points = 5, Minimum distance to boundary = 5 |
![]() |
ToolBox
implementation
(Go to TOP)
Command line syntax
ET_GPRandomPointsInPolygons<input_dataset> <out_feature_class> {number_points_field} {number_points} {min_distance_between_points} {min_distance}
Parameters
Expression | Explanation |
---|---|
<input_dataset> | A Polygon feature class or feature layer |
<out_feature_class> | A String - the full name of the output feature class. |
{number_points_field} | A String representing the name of a numeric field which values will be used to get the number of points to be generated per polygon. |
{number_points} | Optional.
A number that is used in two ways
|
{min_distance_between_points} | A Double specifying the minimum distance between the points. |
{min_distance} | A Double specifying the minimum distance from boundary. |
Note: One of number_points_field or number_points should be specified.
Scripting syntax
ET_GPRandomPointsInPolygons(input_dataset, out_feature_class, number_points_field, number_points, min_distance_between_points, min_distance)
See the explanations above:
<> - required parameter
{} - optional parameter
Copyright © Ianko Tchoukanski |