I have a polygon shapefile. I want to create points at an interval of 0.125 decimal degrees in this polygon. How can I create a script with python in ArcGIS 10 to automate the process of create points? The start point is the south-west corner and the end point is north-east of the polygon.
If you're interested in additional vertices along your polygon feature, you can use the built-in Densify function:
You already have your answer; you have your start X/Y and finish X/Y, so you have a range and the distance between the points
Calculate the amount of points you will create per axis
Create your point variables
Set the start point
add a point to your point array
move along the x axis and create a point per 0.125 degrees
once the xloop has finished, reset X
and move the yaxis up 0.125
create the point feature
Please note, this si off the top of my head and completely untested, so I am not responsible for it if you use it. However, that should, I think, start you off.
You will have created points outside of the polygon, as I have ensured the MBR is properly represented; you may want to erase features outside of the polygon afterwards.