Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2328

Copy Polygons Into Another Feature Class With Python

$
0
0
I have a feature class that I need to copy each polygon into another feature class x number of times. The x comes from a field that comes in through a join to a sql server. I don't need to preserve the data in the table, but I need to be able to take a string from the joined database, split the pieces, and assign each piece to a single one of the newly created polygons.

Example:
Polygon 1: 3 | 123,234,345
Polygon 2: 2 | 321, 432

Copy of Polygon 1: 123
Copy of Polygon 1: 234
Copy of Polygon 1: 345
Copy of Polygon 2: 321
Copy of Polygon 2: 432

I am completely new to arcpy and slightly familiar with python. I am comfortable with the ideas behind programing.

I've been going through this to try and figure out what I need to do, but I'm not getting very far.

Is what I am trying to do reasonable? I feel like it should be an easy task, but I'm just not familiar enough with arcpy.

Any help or links to more information would be appreciated.

Viewing all articles
Browse latest Browse all 2328

Trending Articles