> Script Details
Random Point Generator (v. 1.3)
report inappropriate content
Feb 7 2005
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
DESCRIPTION: This extension enables you to generate a set of random points within a specified distance of a set of input features (points, lines or polygons). You can also generate a set of random points within the extent of any particular theme, the extent of all themes, or the extent of the display. This is a useful tool when trying to determine random sampling locations to compare to some feature or set of features.
VARIABLE NUMBERS OF RANDOM POINTS: If you choose to generate random points based on features in an input theme, then you have the option to generate a constant number of random points for each feature or a variable number based on values in the attribute table.
RANDOMLY SELECT RECORDS OR FEATURES: You can randomly select point, line or polygon features from Feature Themes, or records from a table. If you are selecting from feature themes, you have the option to specify a minimum separation distance.
MINIMUM DISTANCE BETWEEN POINTS: If desired, you can set a minimum distance between random points. This naturally reduces the randomness a little.
PROJECTED VS. UNPROJECTED VIEWS: If your original data are in Lat/Long coordinates (the Geographic Projection) and your View has been projected, then you have the option of calculating Output data based on either the Geographic Projection or the your View Projection.
OUTPUT: You have the option to create a shapefile of random points or a RESULTS table containing attributes of the random points, or both. In either case, you have the option to include various fields in your output table, including the name of the input theme, the ID of the input feature, the X- and Y-Coordinates of the random points, and (when the Input theme is a Point theme), the Distance and Bearing from the Input point to the Random point.
UPDATES: V. 1.3 (February 7, 2005) adds the option to set a minimum separation distance between randomly selected features.
ONLINE MANUAL AVAILABLE: Detailed instructions and explanations are included in the attached manual "Random_points.doc", (Microsoft Word format), or on-line at:
For more ArcView Extensions and other software by the author, please visit the Jenness Enterprises software download page at: