Create a point geodb from a grid

305
2
08-20-2012 02:40 PM
nimitz
by
Occasional Contributor
Hi all,

I'm trying to create a point geodb from a 24x24 grid I just created using python. I have looked on the forums for a way to make created the centroids and make a geodb, but everything is coming up zero. I looked on the help and it looks like point or pointgeometry classes I could use, but how to get the centroid of the grid?

Any pointers/tips out there?

Thanks,
Tags (2)
0 Kudos
2 Replies
ChrisFox3
Occasional Contributor III
What license level do you have? If you have ArcInfo/Advanced you can just use the Feature to Point GP tool. If you don't, then you would just need to create a cursor to loop through the polygon FC, grab the Geometry from the Shape field and get the Centroid property from the Geometry which returns a Point object.
0 Kudos
nimitz
by
Occasional Contributor
I have ARCGIS Desktop 10.0 SP4.

I'll use the cursor function, thanks
0 Kudos