GISnewb Posted November 27, 2017 Report Share Posted November 27, 2017 I need help creating random polygons of circles and rectangles using ArcPy. I'm using ArcGIS 10.3. I'm very new to programming and still don't understand a lot. But if someone could assist me with the python coding to create random some type of random polygons on a map. The polygons can be circles or rectangles. They type of polygons, doesn't matter too much. Quote Link to comment Share on other sites More sharing options...
jack_stepeny Posted November 27, 2017 Report Share Posted November 27, 2017 can you explain a little bit more. I am proposing a simple solution for this problem which does not involve Arcpy to generate random polygons in ArcGIS. first, generate random points using Create Random Points tool and then generate buffer around these points using Buffer tool. Quote Link to comment Share on other sites More sharing options...
GISnewb Posted November 27, 2017 Author Report Share Posted November 27, 2017 i want to create this using ArcPy, which is where it gets confusing for me. Using ArcPy, I am trying to take a map and create code to make random points, or lines, or polygon's (with shapes as circles or rectangles, or can be anything basic). Or if you could assist me in merging feature classes. That would help also Quote Link to comment Share on other sites More sharing options...
jack_stepeny Posted November 28, 2017 Report Share Posted November 28, 2017 if you need full solution kindly post or PM me whatever coding you have done. you can follow steps in the link below to generate random points using arcpy... http://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-random-points.htm this is the link for creating buffer using arcpy.... http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/buffer.htm the output shapefile of the random point will be the input file for buffer generation... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.