AnsweredAssumed Answered

Create Random Points in Polygon Feature Class

Question asked by ratnanil on Mar 19, 2015
Latest reply on Mar 19, 2015 by ratnanil

Hey Guys,


I'm trying to use the tool "Create Random Points (Data Management)" in order to distribute 1 random point per Polygon using arcpy. My script is the following:


arcpy.CreateRandomPoints_management(out_path = "C:/Data/",  out_name="random.shp", constraining_feature_class="C:/Data/Grid3b.shp", number_of_points_or_field=1)


The weird thing is, the output create contains the expected amout of points, but they all have the same coordinates (i.e. are "on top of each other) and are far off from where they should be. I've uploaded my the constraining shapefile here, can someone help me out?