Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to generate random points for a survey, but I want the points to fall based on 2 polygons. I have created a polygon fishnet, and have a layer of forested habitats. I am trying to generate points so that there is one point per grid, and so that the point falls within a forested habitat in the grid. Is there a straightforward way to do this?

share|improve this question
I've not used this tool but are you aware of this sampling tool? Worth a look. – Hornbydd Apr 16 '14 at 16:29

dissolve your forest as a multipart polygon

intersect with your fishnet

use the create random point tool with the result of your intersection as constraining feature class, and 1 as the number of point

CreateRandomPoints_management (out_path, out_name, {constraining_feature_class}, {constraining_extent}, {number_of_points_or_field}, {minimum_allowed_distance}, {create_multipoint_output}, {multipoint_size})

share|improve this answer

As @hornbydd mentioned in the comments, the Sampling Design tool has the ability to create stratified random samples. There is a version for ArcGIS 9 and 10. However, you would still need to intersect the two dataset as @radouxju mentioned and create a new field that combines the gridID with the forest attribute. The sampling tool allows you select a field for stratification and lets you specify the number of points in each attribute in that field.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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