Duplicate points in a feature class based on count field

671
1
09-02-2014 05:03 PM
XavierGoldie
New Contributor

I have a feature class point file, where each point has a count associated with it. I would like to create a new feature class where each of the points is duplicated by the value of the count field - essentially turning the value of a count field into individual events. (I guess this is the opposite of a dissolve/count). Does anyone have any idea how to do this? I've done a pretty big search and cant find anything (most people are trying to get rid of duplicate points - I'm trying to create them)

0 Kudos
1 Reply
RiyasDeen
Occasional Contributor III

Hi Xavier,

Not sure if there is any readily available tool to do this.

Attached script will do this for you.

Add a python script with two parameters feature layer and field (derived from feature layer). Point src for the script to attached script.

Untitled.png

0 Kudos