Jump to content

Our forum made possible by displaying online advertisements to our visitors.

Please consider supporting us by disabling your ads blocker.

  • Announcements

    • EmperoR

      Dear Guests   12/24/2016

      Welcome to the GIS-AREA. like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of GIS-AREA by signing in or creating an account here. Once you have created your account and have introduced yourself to our community, you can start new topics, reply to others, subscribe interesting threads, get your customize profiles, make news friends, and others nice stuff. To make your stay as pleasant and constructive as possible, please don't forget to read through our pinned forum rules and board guidelines in each section before you do anything else.

ArcPy Random Polygons Help

Recommended Posts

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.

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

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...


this is the link for creating buffer using arcpy....


the output shapefile of the random point will be the input file for buffer generation...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use.