Corner Points to Polygons...

2070
3
06-08-2011 11:30 AM
CodyBurggraff
New Contributor
Hello,

I am having difficulty with a problem that does not seem too difficult! I am a fairly seasoned Arc user, but I do not have any experience with writing scripts. I have large datasets (500,000+ record)s from an image database. I need to create polygons from the corner points of those images. I have all the corners and center points in a table, but now I need to create an individual polygon for each set of coordinates. Does anyone have any ideas of how to approach this? I am using ArcGis 10 with a ArcInfo Workstation License.

Thanks in advance for your help!
0 Kudos
3 Replies
GerryGabrisch
Occasional Contributor III
ESRI has posted a script that will do what you want.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Writing_geometries/002z0000001v000000/

Will a little work you can get this script up and running, your polygons created, and learn a lot about scripting in Python.
0 Kudos
DaleHoneycutt
Occasional Contributor III
Does the Feature Vertices to Points tool do the trick?
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Feature_Vertices_To_Points/00170000003...

I've used this tool in the past to get corner points to use as registration tic marks.

(Sorry, I just realized I confused this post with another post that wanted the opposite -- given polygons, create points from corner)
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
If your corner points in the table have an ID field and x and y coordinate fields, stored in the right order, similar to this:
ID1 pt1_x pt1_y
ID1 pt2_x pt2_y
ID1 pt3_x pt3_y
ID1 pt4_x pt4_y
ID2 pt1_x pt1_y
ID2 pt2_x pt2_y
ID2 pt3_x pt3_y
ID2 pt4_x pt4_y
... ...

then you can try the following:
1. Run the Points To Line tool using the ID field as the Line Field and specify CLOSED option. This should give you closed lines, one for each ID.
2. Run the Feature To Polygon tool to convert the resulting lines into polygons. An alternative tool you can use to obtain polygons is Minimum Bounding Geometry, which gives you some charateristic measurements in the output as an option.

Hope that helps.

Regards.
0 Kudos